Skip to content

Commit d9f5eab

Browse files
authored
fix(github/coverage,tox): Use skip-evm-dump for fill, add block-gas-limit to zkevm tox (#1629)
* fix(github/coverage): Use skip-evm-dump for fill * fix(tox): Add `block-gas-limit` to zkevm tox * fix(github/coverage): Add `--block-gas-limit 36000000` to coverage
1 parent 9374ffc commit d9f5eab

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/coverage.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -176,8 +176,8 @@ jobs:
176176
# As when we translate from yul/solidity some dup/push opcodes could become untouched
177177
files="$files tests/homestead/coverage/test_coverage.py"
178178
179-
echo "uv run fill $files --clean --until=Cancun --evm-bin evmone-t8n >> filloutput.log 2>&1"
180-
uv run fill $files --clean --until=Cancun --evm-bin evmone-t8n > >(tee -a filloutput.log) 2> >(tee -a filloutput.log >&2)
179+
echo "uv run fill $files --clean --until=Cancun --evm-bin evmone-t8n --skip-evm-dump --block-gas-limit 36000000 >> filloutput.log 2>&1"
180+
uv run fill $files --clean --until=Cancun --evm-bin evmone-t8n --skip-evm-dump --block-gas-limit 36000000 > >(tee -a filloutput.log) 2> >(tee -a filloutput.log >&2)
181181
182182
if grep -q "FAILURES" filloutput.log; then
183183
echo "Error: failed to generate .py tests."
@@ -228,8 +228,8 @@ jobs:
228228
rm filloutput.log
229229
230230
if [ -n "$files_fixed" ]; then
231-
echo "uv run fill $files_fixed --clean --until=Cancun --evm-bin evmone-t8n >> filloutput.log 2>&1"
232-
uv run fill $files_fixed --clean --until=Cancun --evm-bin evmone-t8n > >(tee -a filloutput.log) 2> >(tee -a filloutput.log >&2)
231+
echo "uv run fill $files_fixed --clean --until=Cancun --evm-bin evmone-t8n --skip-evm-dump --block-gas-limit 36000000 >> filloutput.log 2>&1"
232+
uv run fill $files_fixed --clean --until=Cancun --evm-bin evmone-t8n --skip-evm-dump --block-gas-limit 36000000 > >(tee -a filloutput.log) 2> >(tee -a filloutput.log >&2)
233233
234234
if grep -q "FAILURES" filloutput.log; then
235235
echo "Error: failed to generate .py tests from before the PR."

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ commands = pytest -n auto -m "not slow and not zkevm" --skip-evm-dump --output=/
7979
[testenv:tests-deployed-zkevm]
8080
description = Fill zkEVM test cases in ./tests/ for deployed mainnet forks, using evmone-t8n.
8181
commands_pre = solc-select use {[testenv]solc_version} --always-install
82-
commands = pytest -n auto -m "zkevm" --skip-evm-dump --output=/tmp/fixtures-tox --clean --evm-bin=evmone-t8n
82+
commands = pytest -n auto -m "zkevm" --skip-evm-dump --block-gas-limit 36000000 --output=/tmp/fixtures-tox --clean --evm-bin=evmone-t8n
8383

8484
[testenv:tests-develop]
8585
description = Fill test cases in ./tests/ for deployed and development mainnet forks

0 commit comments

Comments
 (0)