Parent Log:
http://ci.aztec-labs.com/be516e64aa730e93
Command: a1fcfb018e125472: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/308037ad9b1489540aedbb57a9dac3d71282010e
Env: REF_NAME=gh-readonly-queue/next/pr-15152-cb89edc02f7d386e48ee81660565d91895a3464b CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Fri Jun 20 12:39:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15152_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_91a8d388f5cf6afd_next
12:39:31 +++ id -u
12:39:31 +++ id -g
12:39:31 ++ 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:39:32 + cid=11ec33586791196134c9f112cf85e46b2f6df17d5ab6f4ae560094762ba450d8
12:39:32 + set +x
12:39:37 [12:39:37.170]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:37 [12:39:37.182]
WARN:
ethereum:cheat_codes Set L1 automine to false
12:39:37 [12:39:37.185]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
12:39:40 [12:39:40.848]
WARN:
ethereum:cheat_codes Dropped transaction 0xeebcb88856b26b4f25c0cca6740c9126fbdbba628cd0e323b3a1fa52f3fbf92d
12:39:40 [12:39:40.855]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1500000000
12:39:42 [12:39:42.885]
WARN:
ethereum:cheat_codes Set L1 interval mining to 1 seconds
12:39:43 [12:39:43.955]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:43 [12:39:43.959]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 490000000000
12:39:44 [12:39:44.979]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:44 [12:39:44.986]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 10000000000
12:39:46 [12:39:46.986]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:46 [12:39:46.992]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:46 [12:39:46.998]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:47 [12:39:47.002]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:47 [12:39:47.011]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:47 [12:39:47.019]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:47 [12:39:47.035]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:47 [12:39:47.895]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:47 [12:39:47.982]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:47 [12:39:47.987]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000000000
12:39:48 [12:39:48.042]
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:39:48 '\n' +
12:39:48 'Request Arguments:\n' +
12:39:48 ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n' +
12:39:48 ' to: 0x1234567890123456789012345678901234567890\n' +
12:39:48 ' value: 0 ETH\n' +
12:39:48 ' data: 0x\n' +
12:39:48 ' gas: 25201\n' +
12:39:48 ' maxFeePerGas: 500 gwei\n' +
12:39:48 ' maxPriorityFeePerGas: 1.2 gwei\n' +
12:39:48 '\n' +
12:39:48 'Details: max fee per gas less than block base fee\n' +
12:39:48 'Version: viem@2.23.7'
12:39:48 [12:39:48.052]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:49 [12:39:49.222]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:53 [12:39:53.252]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:53 [12:39:53.257]
WARN:
ethereum:cheat_codes Set L1 automine to false
12:39:53 [12:39:53.258]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
12:39:54 [12:39:54.444]
ERROR:
ethereum:test:l1_tx_utils L1 transaction 0xbf1826b42195e1f2b50431d1785e1e47f4e41bb2beec930e2be40e09bbf860d8 timed out: {
12:39:54 txHash: '0xbf1826b42195e1f2b50431d1785e1e47f4e41bb2beec930e2be40e09bbf860d8',
12:39:54 type: 'eip1559',
12:39:54 chainId: 31337,
12:39:54 nonce: 7,
12:39:54 gas: 25201n,
12:39:54 maxFeePerGas: 2325000000n,
12:39:54 maxPriorityFeePerGas: 1200000000n,
12:39:54 to: '0x1234567890123456789012345678901234567890',
12:39:54 value: 0n,
12:39:54 accessList: [],
12:39:54 input: '0x',
12:39:54 r: '0x8a2a7826a2eb509b8b1454707c22aea4156c9fdb955d4a4cf47df9c445bd92e3',
12:39:54 s: '0x25c5f7d36a147ee71a8bc199bb62abca78f9fe9be26ad160f2ee14f55c5bd110',
12:39:54 yParity: 0,
12:39:54 v: 0n,
12:39:54 hash: '0x198dcf2717fcdaa5c91aa5855713a63841f2f21af84f59cf75b76e4979c54deb',
12:39:54 blockHash: null,
12:39:54 blockNumber: null,
12:39:54 transactionIndex: null,
12:39:54 from: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
12:39:54 gasPrice: 2325000000n,
12:39:54 typeHex: '0x2'
12:39:54 }
12:39:54 [12:39:54.454]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:54 [12:39:54.467]
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:39:54 'Try increasing the nonce or find the latest nonce with `getTransactionCount`.\n' +
12:39:54 '\n' +
12:39:54 'Request Arguments:\n' +
12:39:54 ' from: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n' +
12:39:54 ' to: 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266\n' +
12:39:54 ' value: 0 ETH\n' +
12:39:54 ' gas: 21000\n' +
12:39:54 ' maxFeePerGas: 8.71875 gwei\n' +
12:39:54 ' maxPriorityFeePerGas: 4.5 gwei\n' +
12:39:54 ' nonce: 7\n' +
12:39:54 '\n' +
12:39:54 'Details: nonce too low\n' +
12:39:54 'Version: viem@2.23.7'
12:39:54 [12:39:54.468]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
12:39:54 [12:39:54.477]
WARN:
ethereum:cheat_codes Set L1 automine to false
12:39:54 [12:39:54.610]
ERROR:
ethereum:test:l1_tx_utils L1 transaction 0x0b1c7b896c60712fc522cecfb7b13c6cc523229f82c88641a9f87ac99b3f8d67 timed out: {
12:39:54 txHash: '0x0b1c7b896c60712fc522cecfb7b13c6cc523229f82c88641a9f87ac99b3f8d67',
12:39:54 type: 'eip1559',
12:39:54 chainId: 31337,
12:39:54 nonce: 8,
12:39:54 gas: 25201n,
12:39:54 maxFeePerGas: 3285000000n,
12:39:54 maxPriorityFeePerGas: 2160000000n,
12:39:54 to: '0x1234567890123456789012345678901234567890',
12:39:54 value: 0n,
12:39:54 accessList: [],
12:39:54 input: '0x',
12:39:54 r: '0xde330171bf8cc25739d527514493f9694902bd374104da3c56dd61e66b691ba0',
12:39:54 s: '0x6d4e422cf20d597b5ba427d10a42f919c66daf0b452e6c046085989688792f4f',
12:39:54 yParity: 0,
12:39:54 v: 0n,
12:39:54 hash: '0x0b1c7b896c60712fc522cecfb7b13c6cc523229f82c88641a9f87ac99b3f8d67',
12:39:54 blockHash: null,
12:39:54 blockNumber: null,
12:39:54 transactionIndex: null,
12:39:54 from: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
12:39:54 gasPrice: 3285000000n,
12:39:54 typeHex: '0x2'
12:39:54 }
12:39:54 [12:39:54.726]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:54 [12:39:54.731]
WARN:
ethereum:cheat_codes Set L1 automine to false
12:39:54 [12:39:54.733]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
12:39:54 [12:39:54.950]
ERROR:
ethereum:test:l1_tx_utils L1 transaction 0xf5bdde2f4433772d4d614efa37e497ba3be18a26438a9f85e853be8269513fda timed out: {
12:39:54 txHash: '0xf5bdde2f4433772d4d614efa37e497ba3be18a26438a9f85e853be8269513fda',
12:39:54 type: 'eip4844',
12:39:54 chainId: 31337,
12:39:54 nonce: 9,
12:39:54 gas: 25201n,
12:39:54 maxFeePerGas: 2325000000n,
12:39:54 maxPriorityFeePerGas: 1200000000n,
12:39:54 to: '0x1234567890123456789012345678901234567890',
12:39:54 value: 0n,
12:39:54 accessList: [],
12:39:54 blobVersionedHashes: [
12:39:54 '0x016c357b8b3a6b3fd82386e7bebf77143d537cdb1c856509661c412602306a04'
12:39:54 ],
12:39:54 maxFeePerBlobGas: 1n,
12:39:54 input: '0x',
12:39:54 blobs: [
12:39:54 '0x01010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101010101'... 252146 more characters
12:39:54 ],
12:39:54 commitments: [
12:39:54 '0xaa1a1c26055a329817a5759d877a2795f9499b97d6056edde0eea39512f24e8bc874b4471f0501127abb1ea0d9f68ac1'
12:39:54 ],
12:39:54 proofs: [
12:39:54 '0xc00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000'
12:39:54 ],
12:39:54 r: '0xba46646b04f4b8905b3d3b66f4477ba5d27152bbe6fccbc269e893ea974ee5d3',
12:39:54 s: '0x5b122fc644f70bf1b4113d8ec3c0f5896dbd090f300bbb2c4535cebebf8b996',
12:39:54 yParity: 0,
12:39:54 v: 0n,
12:39:54 hash: '0xf5bdde2f4433772d4d614efa37e497ba3be18a26438a9f85e853be8269513fda',
12:39:54 blockHash: null,
12:39:54 blockNumber: null,
12:39:54 transactionIndex: null,
12:39:54 from: '0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266',
12:39:54 gasPrice: 2325000000n,
12:39:54 typeHex: '0x3'
12:39:54 }
12:39:55 [12:39:55.084]
WARN:
ethereum:cheat_codes Set L1 next block base fee per gas to 1000000000
12:39:55 [12:39:55.089]
WARN:
ethereum:cheat_codes Set L1 interval mining to 0 seconds
12:39:55
PASS src/l1_tx_utils.test.ts (
21.636 s)
12:39:55 GasUtils
12:39:55
✓ sends and monitors a simple transaction (753 ms)
12:39:55
✓ handles gas price spikes by retrying with higher gas price (6778 ms)
12:39:55
✓ respects max gas price limits during spikes (1025 ms)
12:39:55
✓ adds appropriate buffer to gas estimation (2006 ms)
12:39:55
✓ calculates correct gas prices for initial attempt (10 ms)
12:39:55
✓ calculates correct gas prices for retry attempts (13 ms)
12:39:55
✓ respects minimum gas price bump for replacements (8 ms)
12:39:55
✓ adds correct buffer to gas estimation (17 ms)
12:39:55
✓ correctly handles transactions with blobs (858 ms)
12:39:55
✓ estimates gas correctly for blob transactions (88 ms)
12:39:55
✓ formats eth node errors correctly (70 ms)
12:39:55
✓ strips ABI from non-revert errors (1169 ms)
12:39:55
✓ handles custom errors (4031 ms)
12:39:55
✓ stops trying after timeout (1206 ms)
12:39:55
✓ attempts to cancel timed out transactions (267 ms)
12:39:55
✓ attempts to cancel timed out blob transactions with correct parameters (357 ms)
12:39:55 L1TxUtils vs ReadOnlyL1TxUtils
12:39:55
✓ ReadOnlyL1TxUtils can be instantiated with public client but not wallet methods (2 ms)
12:39:55
✓ L1TxUtils can be instantiated with wallet client and has write methods (1 ms)
12:39:55
✓ L1TxUtils inherits all read-only methods from ReadOnlyL1TxUtils (1 ms)
12:39:55
✓ L1TxUtils cannot be instantiated with public client (2 ms)
12:39:55
12:39:55
Test Suites: 1 passed, 1 total
12:39:55
Tests: 20 passed, 20 total
12:39:55
Snapshots: 0 total
12:39:55
Time: 21.781 s
12:39:55
Ran all test suites matching ethereum/src/l1_tx_utils.test.ts
.
12:39:55
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?