Skip to content

Commit d24fb2a

Browse files
authored
fix: update built in assertoor tests (ethereum#782)
update built in assertoor tests for compatibility with recent assertoor changes: * add unique id to all tests
1 parent 56532cf commit d24fb2a

File tree

5 files changed

+35
-31
lines changed

5 files changed

+35
-31
lines changed

static_files/assertoor-config/tests/all-opcodes-transaction-test.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
1+
id: all-opcodes-test
12
name: "All-Opcodes Transaction Test"
23
timeout: 1h
34
config:
4-
#walletPrivkey: ""
5+
walletPrivkey: ""
56
tasks:
67
- name: check_clients_are_healthy
78
title: "Check if at least one client is ready"
@@ -188,7 +189,7 @@ tasks:
188189
privateKey: "walletPrivkey"
189190
# check precompiles
190191
- name: generate_transaction
191-
title: "Call precompiles test contract: test1() ecrecover"
192+
title: "Call precompiles test contract: test1()"
192193
config:
193194
feeCap: 5000000000 # 5 gwei
194195
gasLimit: 200000
@@ -199,7 +200,7 @@ tasks:
199200
targetAddress: "precompilesTestContractAddr"
200201
privateKey: "walletPrivkey"
201202
- name: generate_transaction
202-
title: "Call precompiles test contract: test2() sha256"
203+
title: "Call precompiles test contract: test2()"
203204
config:
204205
feeCap: 5000000000 # 5 gwei
205206
gasLimit: 200000
@@ -210,7 +211,7 @@ tasks:
210211
targetAddress: "precompilesTestContractAddr"
211212
privateKey: "walletPrivkey"
212213
- name: generate_transaction
213-
title: "Call precompiles test contract: test3() ripemd160"
214+
title: "Call precompiles test contract: test3()"
214215
config:
215216
feeCap: 5000000000 # 5 gwei
216217
gasLimit: 200000
@@ -221,7 +222,7 @@ tasks:
221222
targetAddress: "precompilesTestContractAddr"
222223
privateKey: "walletPrivkey"
223224
- name: generate_transaction
224-
title: "Call precompiles test contract: test4() identity"
225+
title: "Call precompiles test contract: test4()"
225226
config:
226227
feeCap: 5000000000 # 5 gwei
227228
gasLimit: 200000
@@ -232,7 +233,7 @@ tasks:
232233
targetAddress: "precompilesTestContractAddr"
233234
privateKey: "walletPrivkey"
234235
- name: generate_transaction
235-
title: "Call precompiles test contract: test5() modExp"
236+
title: "Call precompiles test contract: test5()"
236237
config:
237238
feeCap: 5000000000 # 5 gwei
238239
gasLimit: 200000
@@ -243,7 +244,7 @@ tasks:
243244
targetAddress: "precompilesTestContractAddr"
244245
privateKey: "walletPrivkey"
245246
- name: generate_transaction
246-
title: "Call precompiles test contract: test9() blake2F"
247+
title: "Call precompiles test contract: test9()"
247248
config:
248249
feeCap: 5000000000 # 5 gwei
249250
gasLimit: 200000
@@ -293,4 +294,4 @@ tasks:
293294
- name: check_consensus_forks
294295
title: "Check consensus forks"
295296
config:
296-
minCheckEpochCount: 1
297+
minCheckEpochCount: 1

static_files/assertoor-config/tests/blob-transactions-test.yaml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
id: blob-transactions-test
12
name: "Blob Transaction Test"
23
timeout: 1h
34
config:
4-
#walletPrivkey: ""
5-
#validatorPairNames: []
6-
#clientPairNames: []
5+
walletPrivkey: ""
6+
validatorPairNames: []
7+
clientPairNames: []
78
tasks:
89
- name: check_clients_are_healthy
910
title: "Check if at least one client is ready"
@@ -20,9 +21,9 @@ tasks:
2021
name: generate_blob_transactions
2122
title: "Generate 2 blob transactions per block"
2223
config:
23-
childWallets: 5
24+
childWallets: 20
2425
walletSeed: "blob-test"
25-
limitPending: 4
26+
limitPending: 10
2627
limitPerBlock: 2
2728
randomTarget: true
2829
amount: 1000000
@@ -72,9 +73,9 @@ tasks:
7273
name: generate_blob_transactions
7374
title: "Generate 2 blob transactions per block and send via ${clientPairName}"
7475
config:
75-
childWallets: 5
76+
childWallets: 20
7677
walletSeed: "blob-test"
77-
limitPending: 4
78+
limitPending: 10
7879
limitPerBlock: 2
7980
randomTarget: true
8081
amount: 1000000
@@ -91,4 +92,4 @@ tasks:
9192
- name: "sleep"
9293
title: "Wait 30sec to clear up pending transactions"
9394
config:
94-
duration: 30s
95+
duration: 30s

static_files/assertoor-config/tests/block-proposal-check.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1+
id: block-proposal-check
12
name: "Every client pair proposed a block"
23
timeout: 2h
34
disable: false
45
config:
5-
#validatorPairNames: []
6+
validatorPairNames: []
67
tasks:
78
- name: check_clients_are_healthy
89
title: "Check if at least one client is ready"

static_files/assertoor-config/tests/eoa-transactions-test.yaml

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
1+
id: eoa-transactions-test
12
name: "Transaction Test"
23
timeout: 1h
34
config:
4-
#walletPrivkey: ""
5-
#validatorPairNames: []
6-
#clientPairNames: []
5+
walletPrivkey: ""
6+
validatorPairNames: []
7+
clientPairNames: []
78
tasks:
89
- name: check_clients_are_healthy
910
title: "Check if at least one client is ready"
@@ -20,8 +21,8 @@ tasks:
2021
name: generate_eoa_transactions
2122
title: "Generate 10 EOA transaction per block"
2223
config:
23-
childWallets: 10
24-
limitPending: 10
24+
childWallets: 100
25+
limitPending: 100
2526
limitPerBlock: 10
2627
randomTarget: true
2728
amount: 1000000
@@ -72,8 +73,8 @@ tasks:
7273
name: generate_eoa_transactions
7374
title: "Generate 10 EOA transaction per block and send via ${clientPairName}"
7475
config:
75-
childWallets: 10
76-
limitPending: 10
76+
childWallets: 100
77+
limitPending: 100
7778
limitPerBlock: 10
7879
randomTarget: true
7980
amount: 1000000
@@ -102,8 +103,8 @@ tasks:
102103
name: generate_eoa_transactions
103104
title: "Generate 10 EOA transaction per block"
104105
config:
105-
childWallets: 10
106-
limitPending: 10
106+
childWallets: 100
107+
limitPending: 100
107108
limitPerBlock: 10
108109
randomTarget: true
109110
amount: 1000000
@@ -153,8 +154,8 @@ tasks:
153154
name: generate_eoa_transactions
154155
title: "Generate 10 EOA transaction per block and send via ${clientPairName}"
155156
config:
156-
childWallets: 10
157-
limitPending: 10
157+
childWallets: 100
158+
limitPending: 100
158159
limitPerBlock: 10
159160
randomTarget: true
160161
amount: 1000000
@@ -170,4 +171,4 @@ tasks:
170171
- name: "sleep"
171172
title: "Wait 30sec to clear up pending transactions"
172173
config:
173-
duration: 30s
174+
duration: 30s

static_files/assertoor-config/tests/stability-check.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
1+
id: stability-check
22
name: "Check chain stability"
33
timeout: 2h
44
tasks:
@@ -39,4 +39,4 @@ tasks:
3939
maxReorgsPerEpoch: 2
4040
minCheckEpochCount: 1
4141
- name: check_consensus_forks
42-
title: "Check consensus forks"
42+
title: "Check consensus forks"

0 commit comments

Comments
 (0)