Skip to content

Commit

Permalink
Problem: nondeterministic account set occurs with more stm workers
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Aug 5, 2024
1 parent 0e0baa4 commit 3872111
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
8 changes: 6 additions & 2 deletions scripts/run-integration-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,15 @@ npm run typechain
cd ..

TESTS_TO_RUN="${TESTS_TO_RUN:-all}"
RUNS=5

if [[ "$TESTS_TO_RUN" == "all" ]]; then
echo "run all tests"
pytest -vv -s
else
echo "run tests matching $TESTS_TO_RUN"
pytest -vv -s -m "$TESTS_TO_RUN"
for ((i=1; i<=$RUNS; i++))
do
echo "run tests: $i"
pytest -v -s test_debug_traceblock.py
done
fi
1 change: 1 addition & 0 deletions tests/integration_tests/configs/default.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
'index-events': ['ethereum_tx.ethereumTxHash'],
evm: {
'block-executor': 'block-stm',
'block-stm-workers': 32,
},
'json-rpc': {
address: '127.0.0.1:{EVMRPC_PORT}',
Expand Down
1 change: 1 addition & 0 deletions tests/integration_tests/test_debug_traceblock.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,3 +56,4 @@ def trace_blk(blk):
if total < expected:
total += len(trace_blk(blk + 1))
assert total == expected
send_transaction(w3, tx)

0 comments on commit 3872111

Please sign in to comment.