Parent Log:
http://ci.aztec-labs.com/fe35e2350749cc6c
Command: 074b83a28fe5f200:ISOLATE=1:NAME=ethereum/src/eth_cheat_codes.test.ts yarn-project/scripts/run_test.sh ethereum/src/eth_cheat_codes.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/f5cdc22e2f023db92b402ee8931d6a200763d27c
Env: REF_NAME=gh-readonly-queue/next/pr-14857-e88b33c97a6e3f2c67f9282e3ad1b0b122683008 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 9 15:17:32 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14857_amd64_x4-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_466d270c526232e1_next
15:17:32 +++ id -u
15:17:32 +++ id -g
15:17:32 ++ docker run -d --name ethereum_src_eth_cheat_codes.test.ts --net=none --cpuset-cpus=0-127 --cpus=2 --memory=8g --user 1000:1000 -v/home/aztec-dev:/home/aztec-dev --mount type=tmpfs,target=/tmp,tmpfs-size=1g --workdir /home/aztec-dev/aztec-packages -e HOME -e VERBOSE -e GIT_CONFIG_GLOBAL=/home/aztec-dev/aztec-packages/build-images/src/home/.gitconfig -e FORCE_COLOR=true -e CPUS -e MEM aztecprotocol/build:3.0 /bin/bash -c 'timeout -v 600s bash -c '\''yarn-project/scripts/run_test.sh ethereum/src/eth_cheat_codes.test.ts'\'''
15:17:33 + cid=52d3f2e5da4444db5c930f97688b3331537b3093f0d205cafce9d0ac2001690c
15:17:33 + set +x
15:17:37 [15:17:37.325]
WARN:
ethereum:cheat_codes Rolled back L1 chain with depth 1
15:17:37 [15:17:37.364]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
15:17:37 [15:17:37.599]
WARN:
ethereum:cheat_codes Rolled back L1 chain with depth 1
15:17:37 [15:17:37.605]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
15:17:37 [15:17:37.732]
WARN:
ethereum:cheat_codes Set L1 block interval to 1000
15:17:37 [15:17:37.840]
WARN:
ethereum:cheat_codes Rolled back L1 chain with depth 3
15:17:37 [15:17:37.849]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
15:17:38 [15:17:38.052]
WARN:
ethereum:cheat_codes Reorged L1 chain with depth 3 and 0 new blocks
{"depth":3,"newBlocks":[]}
15:17:38 [15:17:38.059]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
15:17:38 [15:17:38.233]
WARN:
ethereum:cheat_codes Reorged L1 chain with depth 3 and 3 new blocks
{"depth":3,"newBlocks":[[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fbdb2315678afecb367f032d93f642f64180aa3","value":0},{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fbdb2315678afecb367f032d93f642f64180aa3","value":0},{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fbdb2315678afecb367f032d93f642f64180aa3","value":0}],[],[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fbdb2315678afecb367f032d93f642f64180aa3","value":0}]]}
15:17:38 [15:17:38.249]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
15:17:38 [15:17:38.463]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
15:17:38
FAIL src/eth_cheat_codes.test.ts
15:17:38 EthCheatCodes
15:17:38 reorgs
15:17:38
✓ reorgs back to before deployment (584 ms)
15:17:38
✓ rollbacks events and state on reorg (225 ms)
15:17:38
✓ reorgs multiple blocks (243 ms)
15:17:38
✓ reorgs with new empty blocks as replacement (210 ms)
15:17:38
✓ reorgs with blocks with replacement tx requests (190 ms)
15:17:38
✕ reorgs with blocks with serialized replacement txs (212 ms)
15:17:38
○ skipped reorgs with blocks with replacement txs with blobs
15:17:38
15:17:38
● EthCheatCodes › reorgs › reorgs with blocks with serialized replacement txs
15:17:38
15:17:38 EstimateGasExecutionError: Nonce provided for the transaction (6) is higher than the next one expected.
15:17:38
15:17:38 Estimate Gas Arguments:
15:17:38 from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266
15:17:38 to: 0x5fbdb2315678afecb367f032d93f642f64180aa3
15:17:38 value: 0 ETH
15:17:38 data: 0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8
15:17:38 maxFeePerGas: 1.909155232 gwei
15:17:38 maxPriorityFeePerGas: 1.2 gwei
15:17:38 nonce: 6
15:17:38
15:17:38 Details: Nonce too high
15:17:38 Version: viem@2.23.7
15:17:38
15:17:38
171 | const initialNonce
= await l1Client
.getTransactionCount({ address
: sender })
;
15:17:38
172 | const txs = await timesAsync(4, async i =>
15:17:38
> 173 | l1Client.signTransaction(await l1Client.prepareTransactionRequest({ ...newTx, nonce: initialNonce + i })),
15:17:38
| ^
15:17:38
174 | );
15:17:38
175 |
15:17:38
176 | const blockNumber = await getBlockNumber();
15:17:38
15:17:38
at getEstimateGasError (../../node_modules/viem/utils/errors/getEstimateGasError.ts:42:10)
15:17:38
at estimateGas (../../node_modules/viem/actions/public/estimateGas.ts:234:11)
15:17:38
at prepareTransactionRequest (../../node_modules/viem/actions/wallet/prepareTransactionRequest.ts:415:19)
15:17:38
at eth_cheat_codes.test.ts:173:34
15:17:38
at timesAsync (../../foundation/dest/collection/array.js:75:22)
15:17:38
at Object.<anonymous> (eth_cheat_codes.test.ts:172:19)
15:17:38
15:17:38 Cause:
15:17:38 NonceTooHighError: Nonce provided for the transaction (6) is higher than the next one expected.
15:17:38
15:17:38 Details: Nonce too high
15:17:38 Version: viem@2.23.7
15:17:38
15:17:38
171 | const initialNonce
= await l1Client
.getTransactionCount({ address
: sender })
;
15:17:38
172 | const txs = await timesAsync(4, async i =>
15:17:38
> 173 | l1Client.signTransaction(await l1Client.prepareTransactionRequest({ ...newTx, nonce: initialNonce + i })),
15:17:38
| ^
15:17:38
174 | );
15:17:38
175 |
15:17:38
176 | const blockNumber = await getBlockNumber();
15:17:38
15:17:38
at getNodeError (../../node_modules/viem/utils/errors/getNodeError.ts:97:12)
15:17:38
at ../../node_modules/viem/utils/errors/getEstimateGasError.ts:35:19
15:17:38
at getEstimateGasError (../../node_modules/viem/utils/errors/getEstimateGasError.ts:41:5)
15:17:38
at estimateGas (../../node_modules/viem/actions/public/estimateGas.ts:234:11)
15:17:38
at prepareTransactionRequest (../../node_modules/viem/actions/wallet/prepareTransactionRequest.ts:415:19)
15:17:38
at eth_cheat_codes.test.ts:173:34
15:17:38
at timesAsync (../../foundation/dest/collection/array.js:75:22)
15:17:38
at Object.<anonymous> (eth_cheat_codes.test.ts:172:19)
15:17:38
15:17:38 Cause:
15:17:38 TransactionRejectedRpcError: Transaction creation failed.
15:17:38
15:17:38 URL:
http://127.0.0.1:8545
15:17:38 Request body: {"method":"eth_estimateGas","params":[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","maxFeePerGas":"0x71cb65a0","maxPriorityFeePerGas":"0x47868c00","nonce":"0x6","to":"0x5fbdb2315678afecb367f032d93f642f64180aa3","value":"0x0"}]}
15:17:38
15:17:38 Details: Nonce too high
15:17:38 Version: viem@2.23.7
15:17:38
15:17:38
at withRetry.delay.count.count (../../node_modules/viem/utils/buildRequest.ts:161:25)
15:17:38
at attemptRetry (../../node_modules/viem/utils/promise/withRetry.ts:44:22)
15:17:38
15:17:38 Cause:
15:17:38 TransactionRejectedRpcError: Transaction creation failed.
15:17:38
15:17:38 URL:
http://127.0.0.1:8545
15:17:38 Request body: {"method":"eth_estimateGas","params":[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","maxFeePerGas":"0x71cb65a0","maxPriorityFeePerGas":"0x47868c00","nonce":"0x6","to":"0x5fbdb2315678afecb367f032d93f642f64180aa3","value":"0x0"}]}
15:17:38
15:17:38 Details: Nonce too high
15:17:38 Version: viem@2.23.7
15:17:38
15:17:38
at withRetry.delay.count.count (../../node_modules/viem/utils/buildRequest.ts:161:25)
15:17:38
at attemptRetry (../../node_modules/viem/utils/promise/withRetry.ts:44:22)
15:17:38
15:17:38 Cause:
15:17:38 RpcRequestError: RPC Request failed.
15:17:38
15:17:38 URL:
http://127.0.0.1:8545
15:17:38 Request body: {"method":"eth_estimateGas","params":[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","maxFeePerGas":"0x71cb65a0","maxPriorityFeePerGas":"0x47868c00","nonce":"0x6","to":"0x5fbdb2315678afecb367f032d93f642f64180aa3","value":"0x0"}]}
15:17:38
15:17:38 Details: Nonce too high
15:17:38 Version: viem@2.23.7
15:17:38
15:17:38
at request (../../node_modules/viem/clients/transports/http.ts:154:19)
15:17:38
at withRetry.delay.count.count (../../node_modules/viem/utils/buildRequest.ts:129:22)
15:17:38
at attemptRetry (../../node_modules/viem/utils/promise/withRetry.ts:44:22)
15:17:38
15:17:38
Test Suites: 1 failed, 1 total
15:17:38
Tests: 1 failed,
1 skipped,
5 passed, 7 total
15:17:38
Snapshots: 0 total
15:17:38
Time: 4.498 s
15:17:38
Ran all test suites matching /ethereum\/src\/eth_cheat_codes.test.ts/i
.
15:17:38
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?