Skip to content

Commit

Permalink
fix: update built in assertoor tests (#782)
Browse files Browse the repository at this point in the history
update built in assertoor tests for compatibility with recent assertoor
changes:
* add unique id to all tests
  • Loading branch information
pk910 authored Oct 1, 2024
1 parent 56532cf commit d24fb2a
Show file tree
Hide file tree
Showing 5 changed files with 35 additions and 31 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
id: all-opcodes-test
name: "All-Opcodes Transaction Test"
timeout: 1h
config:
#walletPrivkey: ""
walletPrivkey: ""
tasks:
- name: check_clients_are_healthy
title: "Check if at least one client is ready"
Expand Down Expand Up @@ -188,7 +189,7 @@ tasks:
privateKey: "walletPrivkey"
# check precompiles
- name: generate_transaction
title: "Call precompiles test contract: test1() ecrecover"
title: "Call precompiles test contract: test1()"
config:
feeCap: 5000000000 # 5 gwei
gasLimit: 200000
Expand All @@ -199,7 +200,7 @@ tasks:
targetAddress: "precompilesTestContractAddr"
privateKey: "walletPrivkey"
- name: generate_transaction
title: "Call precompiles test contract: test2() sha256"
title: "Call precompiles test contract: test2()"
config:
feeCap: 5000000000 # 5 gwei
gasLimit: 200000
Expand All @@ -210,7 +211,7 @@ tasks:
targetAddress: "precompilesTestContractAddr"
privateKey: "walletPrivkey"
- name: generate_transaction
title: "Call precompiles test contract: test3() ripemd160"
title: "Call precompiles test contract: test3()"
config:
feeCap: 5000000000 # 5 gwei
gasLimit: 200000
Expand All @@ -221,7 +222,7 @@ tasks:
targetAddress: "precompilesTestContractAddr"
privateKey: "walletPrivkey"
- name: generate_transaction
title: "Call precompiles test contract: test4() identity"
title: "Call precompiles test contract: test4()"
config:
feeCap: 5000000000 # 5 gwei
gasLimit: 200000
Expand All @@ -232,7 +233,7 @@ tasks:
targetAddress: "precompilesTestContractAddr"
privateKey: "walletPrivkey"
- name: generate_transaction
title: "Call precompiles test contract: test5() modExp"
title: "Call precompiles test contract: test5()"
config:
feeCap: 5000000000 # 5 gwei
gasLimit: 200000
Expand All @@ -243,7 +244,7 @@ tasks:
targetAddress: "precompilesTestContractAddr"
privateKey: "walletPrivkey"
- name: generate_transaction
title: "Call precompiles test contract: test9() blake2F"
title: "Call precompiles test contract: test9()"
config:
feeCap: 5000000000 # 5 gwei
gasLimit: 200000
Expand Down Expand Up @@ -293,4 +294,4 @@ tasks:
- name: check_consensus_forks
title: "Check consensus forks"
config:
minCheckEpochCount: 1
minCheckEpochCount: 1
17 changes: 9 additions & 8 deletions static_files/assertoor-config/tests/blob-transactions-test.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
id: blob-transactions-test
name: "Blob Transaction Test"
timeout: 1h
config:
#walletPrivkey: ""
#validatorPairNames: []
#clientPairNames: []
walletPrivkey: ""
validatorPairNames: []
clientPairNames: []
tasks:
- name: check_clients_are_healthy
title: "Check if at least one client is ready"
Expand All @@ -20,9 +21,9 @@ tasks:
name: generate_blob_transactions
title: "Generate 2 blob transactions per block"
config:
childWallets: 5
childWallets: 20
walletSeed: "blob-test"
limitPending: 4
limitPending: 10
limitPerBlock: 2
randomTarget: true
amount: 1000000
Expand Down Expand Up @@ -72,9 +73,9 @@ tasks:
name: generate_blob_transactions
title: "Generate 2 blob transactions per block and send via ${clientPairName}"
config:
childWallets: 5
childWallets: 20
walletSeed: "blob-test"
limitPending: 4
limitPending: 10
limitPerBlock: 2
randomTarget: true
amount: 1000000
Expand All @@ -91,4 +92,4 @@ tasks:
- name: "sleep"
title: "Wait 30sec to clear up pending transactions"
config:
duration: 30s
duration: 30s
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
id: block-proposal-check
name: "Every client pair proposed a block"
timeout: 2h
disable: false
config:
#validatorPairNames: []
validatorPairNames: []
tasks:
- name: check_clients_are_healthy
title: "Check if at least one client is ready"
Expand Down
25 changes: 13 additions & 12 deletions static_files/assertoor-config/tests/eoa-transactions-test.yaml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
id: eoa-transactions-test
name: "Transaction Test"
timeout: 1h
config:
#walletPrivkey: ""
#validatorPairNames: []
#clientPairNames: []
walletPrivkey: ""
validatorPairNames: []
clientPairNames: []
tasks:
- name: check_clients_are_healthy
title: "Check if at least one client is ready"
Expand All @@ -20,8 +21,8 @@ tasks:
name: generate_eoa_transactions
title: "Generate 10 EOA transaction per block"
config:
childWallets: 10
limitPending: 10
childWallets: 100
limitPending: 100
limitPerBlock: 10
randomTarget: true
amount: 1000000
Expand Down Expand Up @@ -72,8 +73,8 @@ tasks:
name: generate_eoa_transactions
title: "Generate 10 EOA transaction per block and send via ${clientPairName}"
config:
childWallets: 10
limitPending: 10
childWallets: 100
limitPending: 100
limitPerBlock: 10
randomTarget: true
amount: 1000000
Expand Down Expand Up @@ -102,8 +103,8 @@ tasks:
name: generate_eoa_transactions
title: "Generate 10 EOA transaction per block"
config:
childWallets: 10
limitPending: 10
childWallets: 100
limitPending: 100
limitPerBlock: 10
randomTarget: true
amount: 1000000
Expand Down Expand Up @@ -153,8 +154,8 @@ tasks:
name: generate_eoa_transactions
title: "Generate 10 EOA transaction per block and send via ${clientPairName}"
config:
childWallets: 10
limitPending: 10
childWallets: 100
limitPending: 100
limitPerBlock: 10
randomTarget: true
amount: 1000000
Expand All @@ -170,4 +171,4 @@ tasks:
- name: "sleep"
title: "Wait 30sec to clear up pending transactions"
config:
duration: 30s
duration: 30s
4 changes: 2 additions & 2 deletions static_files/assertoor-config/tests/stability-check.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

id: stability-check
name: "Check chain stability"
timeout: 2h
tasks:
Expand Down Expand Up @@ -39,4 +39,4 @@ tasks:
maxReorgsPerEpoch: 2
minCheckEpochCount: 1
- name: check_consensus_forks
title: "Check consensus forks"
title: "Check consensus forks"

0 comments on commit d24fb2a

Please sign in to comment.