Parent Log: http://ci.aztec-labs.com/37759c741f20a0d0 Command: 020ac28a4f7fc748: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/68f762cb61b1f307128be633149eedc6999f83f1 Env: REF_NAME=gh-readonly-queue/next/pr-14857-12be10e304227dd8fbc648b50bbd3d36e6f7bd8b CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 6 17:04:12 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14857_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/466d270c526232e1 17:04:12 +++ id -u 17:04:12 +++ id -g 17:04:12 ++ 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'\''' 17:04:12 + cid=5cbf88869d959699a028bf559d830a1b27c9e5a7c43dd05f2f42221e810c8b74 17:04:12 + set +x 17:04:16 [17:04:16.773] WARN: ethereum:cheat_codes Rolled back L1 chain with depth 1 17:04:16 [17:04:16.903] WARN: ethereum:cheat_codes Rolled back L1 chain with depth 1 17:04:16 [17:04:16.910] WARN: ethereum:cheat_codes Set L1 block interval to 1000 17:04:17 [17:04:17.130] WARN: ethereum:cheat_codes Rolled back L1 chain with depth 3 17:04:17 [17:04:17.296] WARN: ethereum:cheat_codes Reorged L1 chain with depth 3 and 0 new blocks {"depth":3,"newBlocks":[]} 17:04:17 [17:04:17.474] WARN: ethereum:cheat_codes Reorged L1 chain with depth 3 and 3 new blocks {"depth":3,"newBlocks":[[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fc8d32690cc91d4c39d9d3abcbd16989f875707","value":0},{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fc8d32690cc91d4c39d9d3abcbd16989f875707","value":0},{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fc8d32690cc91d4c39d9d3abcbd16989f875707","value":0}],[],[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","to":"0x5fc8d32690cc91d4c39d9d3abcbd16989f875707","value":0}]]} 17:04:17 [17:04:17.662] WARN: ethereum:cheat_codes Set L1 interval mining to 0 seconds 17:04:17 FAIL src/eth_cheat_codes.test.ts 17:04:17 EthCheatCodes 17:04:17 reorgs 17:04:17 reorgs back to before deployment (151 ms) 17:04:17 rollbacks events and state on reorg (95 ms) 17:04:17 reorgs multiple blocks (239 ms) 17:04:17 reorgs with new empty blocks as replacement (160 ms) 17:04:17 reorgs with blocks with replacement tx requests (187 ms) 17:04:17 reorgs with blocks with serialized replacement txs (155 ms) 17:04:17 skipped reorgs with blocks with replacement txs with blobs 17:04:17 17:04:17 EthCheatCodes › reorgs › reorgs with blocks with serialized replacement txs 17:04:17 17:04:17 EstimateGasExecutionError: Nonce provided for the transaction (17) is higher than the next one expected. 17:04:17 17:04:17 Estimate Gas Arguments: 17:04:17 from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266 17:04:17 to: 0xb7f8bc63bbcad18155201308c8f3540b07f84f5e 17:04:17 value: 0 ETH 17:04:17 data: 0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8 17:04:17 maxFeePerGas: 1.229973243 gwei 17:04:17 maxPriorityFeePerGas: 1.2 gwei 17:04:17 nonce: 17 17:04:17 17:04:17 Details: Nonce too high 17:04:17 Version: viem@2.23.7 17:04:17 17:04:17 171 | const initialNonce = await l1Client.getTransactionCount({ address: sender }); 17:04:17 172 | const txs = await timesAsync(4, async i => 17:04:17 > 173 | l1Client.signTransaction(await l1Client.prepareTransactionRequest({ ...newTx, nonce: initialNonce + i })), 17:04:17 | ^ 17:04:17 174 | ); 17:04:17 175 | 17:04:17 176 | const blockNumber = await getBlockNumber(); 17:04:17 17:04:17 at getEstimateGasError (../../node_modules/viem/utils/errors/getEstimateGasError.ts:42:10) 17:04:17 at estimateGas (../../node_modules/viem/actions/public/estimateGas.ts:234:11) 17:04:17 at prepareTransactionRequest (../../node_modules/viem/actions/wallet/prepareTransactionRequest.ts:415:19) 17:04:17 at eth_cheat_codes.test.ts:173:34 17:04:17 at timesAsync (../../foundation/dest/collection/array.js:75:22) 17:04:17 at Object.<anonymous> (eth_cheat_codes.test.ts:172:19) 17:04:17 17:04:17 Cause: 17:04:17 NonceTooHighError: Nonce provided for the transaction (17) is higher than the next one expected. 17:04:17 17:04:17 Details: Nonce too high 17:04:17 Version: viem@2.23.7 17:04:17 17:04:17 171 | const initialNonce = await l1Client.getTransactionCount({ address: sender }); 17:04:17 172 | const txs = await timesAsync(4, async i => 17:04:17 > 173 | l1Client.signTransaction(await l1Client.prepareTransactionRequest({ ...newTx, nonce: initialNonce + i })), 17:04:17 | ^ 17:04:17 174 | ); 17:04:17 175 | 17:04:17 176 | const blockNumber = await getBlockNumber(); 17:04:17 17:04:17 at getNodeError (../../node_modules/viem/utils/errors/getNodeError.ts:97:12) 17:04:17 at ../../node_modules/viem/utils/errors/getEstimateGasError.ts:35:19 17:04:17 at getEstimateGasError (../../node_modules/viem/utils/errors/getEstimateGasError.ts:41:5) 17:04:17 at estimateGas (../../node_modules/viem/actions/public/estimateGas.ts:234:11) 17:04:17 at prepareTransactionRequest (../../node_modules/viem/actions/wallet/prepareTransactionRequest.ts:415:19) 17:04:17 at eth_cheat_codes.test.ts:173:34 17:04:17 at timesAsync (../../foundation/dest/collection/array.js:75:22) 17:04:17 at Object.<anonymous> (eth_cheat_codes.test.ts:172:19) 17:04:17 17:04:17 Cause: 17:04:17 TransactionRejectedRpcError: Transaction creation failed. 17:04:17 17:04:17 URL: http://127.0.0.1:8545 17:04:17 Request body: {"method":"eth_estimateGas","params":[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","maxFeePerGas":"0x494fe6fb","maxPriorityFeePerGas":"0x47868c00","nonce":"0x11","to":"0xb7f8bc63bbcad18155201308c8f3540b07f84f5e","value":"0x0"}]} 17:04:17 17:04:17 Details: Nonce too high 17:04:17 Version: viem@2.23.7 17:04:17 17:04:17 at withRetry.delay.count.count (../../node_modules/viem/utils/buildRequest.ts:161:25) 17:04:17 at attemptRetry (../../node_modules/viem/utils/promise/withRetry.ts:44:22) 17:04:17 17:04:17 Cause: 17:04:17 TransactionRejectedRpcError: Transaction creation failed. 17:04:17 17:04:17 URL: http://127.0.0.1:8545 17:04:17 Request body: {"method":"eth_estimateGas","params":[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","maxFeePerGas":"0x494fe6fb","maxPriorityFeePerGas":"0x47868c00","nonce":"0x11","to":"0xb7f8bc63bbcad18155201308c8f3540b07f84f5e","value":"0x0"}]} 17:04:17 17:04:17 Details: Nonce too high 17:04:17 Version: viem@2.23.7 17:04:17 17:04:17 at withRetry.delay.count.count (../../node_modules/viem/utils/buildRequest.ts:161:25) 17:04:17 at attemptRetry (../../node_modules/viem/utils/promise/withRetry.ts:44:22) 17:04:17 17:04:17 Cause: 17:04:17 RpcRequestError: RPC Request failed. 17:04:17 17:04:17 URL: http://127.0.0.1:8545 17:04:17 Request body: {"method":"eth_estimateGas","params":[{"data":"0x40c10f19000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb9226600000000000000000000000000000000000000000000000000000000000003e8","from":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","maxFeePerGas":"0x494fe6fb","maxPriorityFeePerGas":"0x47868c00","nonce":"0x11","to":"0xb7f8bc63bbcad18155201308c8f3540b07f84f5e","value":"0x0"}]} 17:04:17 17:04:17 Details: Nonce too high 17:04:17 Version: viem@2.23.7 17:04:17 17:04:17 at request (../../node_modules/viem/clients/transports/http.ts:154:19) 17:04:17 at withRetry.delay.count.count (../../node_modules/viem/utils/buildRequest.ts:129:22) 17:04:17 at attemptRetry (../../node_modules/viem/utils/promise/withRetry.ts:44:22) 17:04:17 17:04:17 Test Suites: 1 failed, 1 total 17:04:17 Tests: 1 failed, 1 skipped, 5 passed, 7 total 17:04:17 Snapshots: 0 total 17:04:17 Time: 4.012 s 17:04:17 Ran all test suites matching /ethereum\/src\/eth_cheat_codes.test.ts/i. 17:04:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?