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