Parent Log: http://ci.aztec-labs.com/aeee6fbb3ed1ca7d Command: abf2df8792edab68:ISOLATE=1:NAME=ethereum/src/l1_tx_utils.test.ts yarn-project/scripts/run_test.sh ethereum/src/l1_tx_utils.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/15da5b0f4fc17ee864697604093cf1ff2bd900d2 Env: REF_NAME=gh-readonly-queue/staging/pr-15174-a1fcc6d25d2ef5242bc875b44f6b8c627357a0d1 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 12:50:46 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15174_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_91a8d388f5cf6afd_staging 12:50:46 +++ id -u 12:50:46 +++ id -g 12:50:46 ++ docker run -d --name ethereum_src_l1_tx_utils.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/l1_tx_utils.test.ts'\''' 12:50:46 + cid=6700ea2773a0bfba1c7b36f5778caaf81882558f7fc6f76ed2d416cbe8524d18 12:50:46 + set +x 12:50:51 [12:50:51.840] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:50:51 [12:50:51.851] WARN: ethereum:cheat_codes Set L1 automine to false 12:50:51 [12:50:51.854] WARN: ethereum:cheat_codes Set L1 interval mining to 0 seconds 12:50:54 [12:50:54.830] WARN: ethereum:cheat_codes Dropped transaction 0xeebcb88856b26b4f25c0cca6740c9126fbdbba628cd0e323b3a1fa52f3fbf92d 12:50:54 [12:50:54.832] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1500000000 12:50:56 [12:50:56.855] WARN: ethereum:cheat_codes Set L1 interval mining to 1 seconds 12:50:57 [12:50:57.953] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:50:57 [12:50:57.967] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 490000000000 12:50:58 [12:50:58.878] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:50:58 [12:50:58.883] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 10000000000 12:51:00 [12:51:00.970] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:00 [12:51:00.975] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:00 [12:51:00.982] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:00 [12:51:00.987] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:00 [12:51:00.998] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:01 [12:51:01.012] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:01 [12:51:01.031] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:01 [12:51:01.883] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:01 [12:51:01.976] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:01 [12:51:01.979] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000000000 12:51:02 [12:51:02.032] ERROR: ethereum:test:l1_tx_utils Failed to send L1 transaction: 'The fee cap (`maxFeePerGas` = 500 gwei) cannot be lower than the block base fee.\n' + 12:51:02 '\n' + 12:51:02 'Request Arguments:\n' + 12:51:02 ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n' + 12:51:02 ' to: 0x1234567890123456789012345678901234567890\n' + 12:51:02 ' value: 0 ETH\n' + 12:51:02 ' data: 0x\n' + 12:51:02 ' gas: 25201\n' + 12:51:02 ' maxFeePerGas: 500 gwei\n' + 12:51:02 ' maxPriorityFeePerGas: 1.2 gwei\n' + 12:51:02 '\n' + 12:51:02 'Details: max fee per gas less than block base fee\n' + 12:51:02 'Version: viem@2.23.7' 12:51:02 [12:51:02.056] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:03 [12:51:03.213] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:07 [12:51:07.256] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:07 [12:51:07.261] WARN: ethereum:cheat_codes Set L1 automine to false 12:51:07 [12:51:07.263] WARN: ethereum:cheat_codes Set L1 interval mining to 0 seconds 12:51:08 [12:51:08.461] ERROR: ethereum:test:l1_tx_utils L1 transaction 0xbf1826b42195e1f2b50431d1785e1e47f4e41bb2beec930e2be40e09bbf860d8 timed out: { 12:51:08 txHash: '0xbf1826b42195e1f2b50431d1785e1e47f4e41bb2beec930e2be40e09bbf860d8', 12:51:08 type: 'eip1559', 12:51:08 chainId: 31337, 12:51:08 nonce: 7, 12:51:08 gas: 25201n, 12:51:08 maxFeePerGas: 2325000000n, 12:51:08 maxPriorityFeePerGas: 1200000000n, 12:51:08 to: '0x1234567890123456789012345678901234567890', 12:51:08 value: 0n, 12:51:08 accessList: [], 12:51:08 input: '0x', 12:51:08 r: '0x8a2a7826a2eb509b8b1454707c22aea4156c9fdb955d4a4cf47df9c445bd92e3', 12:51:08 s: '0x25c5f7d36a147ee71a8bc199bb62abca78f9fe9be26ad160f2ee14f55c5bd110', 12:51:08 yParity: 0, 12:51:08 v: 0n, 12:51:08 hash: '0x198dcf2717fcdaa5c91aa5855713a63841f2f21af84f59cf75b76e4979c54deb', 12:51:08 blockHash: null, 12:51:08 blockNumber: null, 12:51:08 transactionIndex: null, 12:51:08 from: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', 12:51:08 gasPrice: 2325000000n, 12:51:08 typeHex: '0x2' 12:51:08 } 12:51:08 [12:51:08.466] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:08 [12:51:08.477] ERROR: ethereum:test:l1_tx_utils Failed to send cancellation for timed out tx 0xbf1826b42195e1f2b50431d1785e1e47f4e41bb2beec930e2be40e09bbf860d8:: 'Nonce provided for the transaction (7) is lower than the current nonce of the account.\n' + 12:51:08 'Try increasing the nonce or find the latest nonce with `getTransactionCount`.\n' + 12:51:08 '\n' + 12:51:08 'Request Arguments:\n' + 12:51:08 ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n' + 12:51:08 ' to: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n' + 12:51:08 ' value: 0 ETH\n' + 12:51:08 ' gas: 21000\n' + 12:51:08 ' maxFeePerGas: 8.71875 gwei\n' + 12:51:08 ' maxPriorityFeePerGas: 4.5 gwei\n' + 12:51:08 ' nonce: 7\n' + 12:51:08 '\n' + 12:51:08 'Details: nonce too low\n' + 12:51:08 'Version: viem@2.23.7' 12:51:08 [12:51:08.485] WARN: ethereum:cheat_codes Set L1 interval mining to 0 seconds 12:51:08 [12:51:08.487] WARN: ethereum:cheat_codes Set L1 automine to false 12:51:08 [12:51:08.612] ERROR: ethereum:test:l1_tx_utils L1 transaction 0x0b1c7b896c60712fc522cecfb7b13c6cc523229f82c88641a9f87ac99b3f8d67 timed out: { 12:51:08 txHash: '0x0b1c7b896c60712fc522cecfb7b13c6cc523229f82c88641a9f87ac99b3f8d67', 12:51:08 type: 'eip1559', 12:51:08 chainId: 31337, 12:51:08 nonce: 8, 12:51:08 gas: 25201n, 12:51:08 maxFeePerGas: 3285000000n, 12:51:08 maxPriorityFeePerGas: 2160000000n, 12:51:08 to: '0x1234567890123456789012345678901234567890', 12:51:08 value: 0n, 12:51:08 accessList: [], 12:51:08 input: '0x', 12:51:08 r: '0xde330171bf8cc25739d527514493f9694902bd374104da3c56dd61e66b691ba0', 12:51:08 s: '0x6d4e422cf20d597b5ba427d10a42f919c66daf0b452e6c046085989688792f4f', 12:51:08 yParity: 0, 12:51:08 v: 0n, 12:51:08 hash: '0x0b1c7b896c60712fc522cecfb7b13c6cc523229f82c88641a9f87ac99b3f8d67', 12:51:08 blockHash: null, 12:51:08 blockNumber: null, 12:51:08 transactionIndex: null, 12:51:08 from: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', 12:51:08 gasPrice: 3285000000n, 12:51:08 typeHex: '0x2' 12:51:08 } 12:51:08 [12:51:08.727] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:08 [12:51:08.732] WARN: ethereum:cheat_codes Set L1 automine to false 12:51:08 [12:51:08.733] WARN: ethereum:cheat_codes Set L1 interval mining to 0 seconds 12:51:08 [12:51:08.976] ERROR: ethereum:test:l1_tx_utils L1 transaction 0xf5bdde2f4433772d4d614efa37e497ba3be18a26438a9f85e853be8269513fda timed out: { 12:51:08 txHash: '0xf5bdde2f4433772d4d614efa37e497ba3be18a26438a9f85e853be8269513fda', 12:51:08 type: 'eip4844', 12:51:08 chainId: 31337, 12:51:08 nonce: 9, 12:51:08 gas: 25201n, 12:51:08 maxFeePerGas: 2325000000n, 12:51:08 maxPriorityFeePerGas: 1200000000n, 12:51:08 to: '0x1234567890123456789012345678901234567890', 12:51:08 value: 0n, 12:51:08 accessList: [], 12:51:08 blobVersionedHashes: [ 12:51:08 '0x016c357b8b3a6b3fd82386e7bebf77143d537cdb1c856509661c412602306a04' 12:51:08 ], 12:51:08 maxFeePerBlobGas: 1n, 12:51:08 input: '0x', 12:51:08 blobs: [ 12:51:08 '0x01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101'... 252146 more characters 12:51:08 ], 12:51:08 commitments: [ 12:51:08 '0xaa1a1c26055a329817a5759d877a2795f9499b97d6056edde0eea39512f24e8bc874b4471f0501127abb1ea0d9f68ac1' 12:51:08 ], 12:51:08 proofs: [ 12:51:08 '0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' 12:51:08 ], 12:51:08 r: '0xba46646b04f4b8905b3d3b66f4477ba5d27152bbe6fccbc269e893ea974ee5d3', 12:51:08 s: '0x5b122fc644f70bf1b4113d8ec3c0f5896dbd090f300bbb2c4535cebebf8b996', 12:51:08 yParity: 0, 12:51:08 v: 0n, 12:51:08 hash: '0xf5bdde2f4433772d4d614efa37e497ba3be18a26438a9f85e853be8269513fda', 12:51:08 blockHash: null, 12:51:08 blockNumber: null, 12:51:08 transactionIndex: null, 12:51:08 from: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266', 12:51:08 gasPrice: 2325000000n, 12:51:08 typeHex: '0x3' 12:51:08 } 12:51:09 [12:51:09.099] WARN: ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000 12:51:09 [12:51:09.104] WARN: ethereum:cheat_codes Set L1 interval mining to 0 seconds 12:51:09 PASS src/l1_tx_utils.test.ts (21.432 s) 12:51:09 GasUtils 12:51:09 sends and monitors a simple transaction (772 ms) 12:51:09 handles gas price spikes by retrying with higher gas price (6114 ms) 12:51:09 respects max gas price limits during spikes (919 ms) 12:51:09 adds appropriate buffer to gas estimation (2090 ms) 12:51:09 calculates correct gas prices for initial attempt (12 ms) 12:51:09 calculates correct gas prices for retry attempts (16 ms) 12:51:09 respects minimum gas price bump for replacements (13 ms) 12:51:09 adds correct buffer to gas estimation (18 ms) 12:51:09 correctly handles transactions with blobs (850 ms) 12:51:09 estimates gas correctly for blob transactions (92 ms) 12:51:09 formats eth node errors correctly (82 ms) 12:51:09 strips ABI from non-revert errors (1156 ms) 12:51:09 handles custom errors (4043 ms) 12:51:09 stops trying after timeout (1212 ms) 12:51:09 attempts to cancel timed out transactions (258 ms) 12:51:09 attempts to cancel timed out blob transactions with correct parameters (372 ms) 12:51:09 L1TxUtils vs ReadOnlyL1TxUtils 12:51:09 ReadOnlyL1TxUtils can be instantiated with public client but not wallet methods (2 ms) 12:51:09 L1TxUtils can be instantiated with wallet client and has write methods (2 ms) 12:51:09 L1TxUtils inherits all read-only methods from ReadOnlyL1TxUtils (1 ms) 12:51:09 L1TxUtils cannot be instantiated with public client (3 ms) 12:51:09 12:51:09 Test Suites: 1 passed, 1 total 12:51:09 Tests: 20 passed, 20 total 12:51:09 Snapshots: 0 total 12:51:09 Time: 21.526 s 12:51:09 Ran all test suites matching ethereum/src/l1_tx_utils.test.ts. 12:51:09 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?