Parent Log:
http://ci.aztec-labs.com/e97c23f5139375db
Command: bdef8c432fe28910 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/f43d8712af73e32f1416fa61d802ff8675836f89
Env: REF_NAME=gh-readonly-queue/next/pr-15099-a48851a8c6884f4b9615a154f8862a549722d25e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 17 12:14:59 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15099_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
12:15:03 [12:15:03.513]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:06 [12:15:06.314]
INFO:
archiver:test Waiting for archiver to sync to block 3
12:15:06 [12:15:06.383]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000063","l1BlockNumber":99,"l2BlockNumber":1,"leaf":"0x1cbe96a6b21f70b9efae6715966408d995186290eaba5c5c9d55a5d9e1382309","rollingHash":"0x57393681d4465043f4f865101ead921b"},"messageCount":2}
12:15:06 [12:15:06.656]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x193323c40e094fc4dc892e26e5387b3de27bc0335f82ed4f7d3125d6e708fcbb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750162503511,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:07 [12:15:07.682]
INFO:
archiver Retrieved 4 new L1 to L2 messages up to message with index 32 for L2 block 3
{"lastMessage":{"index":32,"l1BlockHash":"0x00000000000000000000000000000000000000000000000000000000000009ca","l1BlockNumber":2506,"l2BlockNumber":3,"leaf":"0x2e974b0d2970040906d6dfaa6a8f627f4bb83c4d19ea3fc690103e23e0600a3a","rollingHash":"0x18ca6a915aa66c18ccbcbcdab0c09b97"},"messageCount":4}
12:15:07 [12:15:07.729]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
12:15:07 [12:15:07.928]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x168e167ff513ef146fcd6030c163c3f8894bd2bacc5987d49758a7430e69e38d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750162503523,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:15:07 [12:15:07.929]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x27c8255185396be3272e311c88fa6078e5796e642a09c82f2dee38855ccf768f","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750162503535,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
12:15:08 [12:15:08.162]
INFO:
archiver Stopped.
12:15:08 [12:15:08.166]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:11 [12:15:11.015]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:15:11 [12:15:11.026]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x28404e2bb29f61e78b510ab1786c965f7268b7c05496808893e60499c4db9412","rollingHash":"0xcce6a234713a49539e3aaed708fce446"},"messageCount":2}
12:15:11 [12:15:11.044]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1d6cea0d2e6a0a19af4985764074efcaa6808def507a52475821860b6ad7b6d0","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
12:15:11 [12:15:11.148]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1bdb76853ad6698197a5c3a5d99a4a7a3433408122ab372b252e7cd3f3933daa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750162508177,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:11 [12:15:11.150]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x143334d62d88b434a12a952bb85302da2c6dccd346c4db4e5078d52ef870118b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750162508189,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:15:11 [12:15:11.230]
INFO:
archiver Stopped.
12:15:11 [12:15:11.232]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:13 [12:15:13.898]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:15:14 [12:15:14.925]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x1e2535d9913725201192560fbb9d40133a5d22cd96e272d85a46a36eb00f9120","rollingHash":"0xbac307721677dd8f794fc3903d7e8e45"},"messageCount":2}
12:15:15 [12:15:15.052]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x27fa8fb803016667a4866d1d0847fcd9936fea77bdc7a262239be3ea81a3b33f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750162511244,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:15 [12:15:15.053]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x236f6a1d16d1b27037e447ec993818aeac28c6be2bd92e2a99337427d52a9ad1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750162511256,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:15:15 [12:15:15.139]
INFO:
archiver Stopped.
12:15:15 [12:15:15.141]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:17 [12:15:17.947]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:15:18 [12:15:18.001]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
12:15:18 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:15:18 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
12:15:18 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:15:18 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:15:18 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:15:18 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:15:18 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:15:19 [12:15:19.010]
INFO:
archiver Retrieved 2 new L1 to L2 messages up to message with index 1 for L2 block 1
{"lastMessage":{"index":1,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000044","l1BlockNumber":68,"l2BlockNumber":1,"leaf":"0x00a1a093f43e11c104d01ceba0f3c37b6fa4e7fea5d429dac2af3a6ccb5c2198","rollingHash":"0x867c2ab1c2b3699f3a35033895449a05"},"messageCount":2}
12:15:19 [12:15:19.185]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d240ab8ec64d40ece53c37cdc9431d690407d82ae73b6e9e990bb3d762ed1c4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750162515152,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:19 [12:15:19.186]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x050ba96194de88c138fc882859330e328dbea4fcef5ac2988460ced887bbd7df","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750162515164,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:15:19 [12:15:19.189]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
12:15:19 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:15:19 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
12:15:19 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:15:19 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:15:19 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:15:19 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:15:19 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:15:20 [12:15:20.299]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
12:15:20 [12:15:20.301]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
12:15:20 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:15:20 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
12:15:20 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:15:20 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:15:20 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:15:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:15:20 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:15:21 [12:15:21.279]
INFO:
archiver Stopped.
12:15:21 [12:15:21.282]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:21 [12:15:21.625]
INFO:
archiver Retrieved 6 new L1 to L2 messages up to message with index 35 for L2 block 3
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x05b86454e0004558f1c43aae4a92cbf4b0150862800e16c689c6c8a2efb92df3","rollingHash":"0x0060027aaa856d40866017672bf8b347"},"messageCount":6}
12:15:21 [12:15:21.626]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x05b86454e0004558f1c43aae4a92cbf4b0150862800e16c689c6c8a2efb92df3","rollingHash":"0x0060027aaa856d40866017672bf8b347"},"remoteMessagesState":{"messagesRollingHash":"0x8dcc868f29cd7aa0fb94e55c7691f598","totalMessagesInserted":5,"treeInProgress":0}}
12:15:21 [12:15:21.724]
WARN:
archiver:test Reorging L1 to L2 messages
12:15:22 [12:15:22.635]
WARN:
archiver Rolling back L1 to L2 messages due to hash mismatch or msg not found.
{"messagesSyncPoint":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101},"localLastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x05b86454e0004558f1c43aae4a92cbf4b0150862800e16c689c6c8a2efb92df3","rollingHash":"0x0060027aaa856d40866017672bf8b347"}}
12:15:22 [12:15:22.638]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
12:15:22 [12:15:22.640]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
12:15:22 [12:15:22.652]
INFO:
archiver Retrieved 5 new L1 to L2 messages up to message with index 65 for L2 block 5
{"lastMessage":{"index":65,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000066","l1BlockNumber":102,"l2BlockNumber":5,"leaf":"0x0c5c660034fc346374dc56aa45e7ff250a36e00c747430f1957a66411a82c01e","rollingHash":"0x2bed2678a35fe118d3cdd8200d9d7d79"},"messageCount":5}
12:15:22 [12:15:22.750]
INFO:
archiver Stopped.
12:15:22 [12:15:22.752]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:23 [12:15:23.105]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
12:15:24 [12:15:24.044]
INFO:
archiver:test Waiting for archiver to sync to block 1
12:15:24 [12:15:24.142]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x18f97ec1ee61b39c5446212f27d03b89ce9c5a81776628250451ea89f0b67ee9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750162522763,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:24 [12:15:24.154]
INFO:
archiver Stopped.
12:15:24 [12:15:24.158]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:24 [12:15:24.786]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
12:15:26 [12:15:26.329]
INFO:
archiver:test Waiting for archiver to sync to block 1
12:15:26 [12:15:26.443]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c7902581e32660a9cb941d0e1b57a7871835ef985fa8c0a24fb51a49333b151","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750162524168,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:26 [12:15:26.533]
INFO:
archiver Stopped.
12:15:26 [12:15:26.535]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:26 [12:15:26.958]
INFO:
archiver:test Syncing archiver to L1 block 6
12:15:26 [12:15:26.964]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 6 with hash 0x0000000000000000000000000000000000000000000000000000000000000006
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x723dfc708c1adb8c6a1ad83fe603966abac2d1350dc9d3e353fa69fc41b482b3","l1BlockNumber":0}}
12:15:27 [12:15:27.005]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
12:15:27 [12:15:27.008]
INFO:
archiver Stopped.
12:15:27 [12:15:27.010]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:27 [12:15:27.962]
INFO:
archiver:test Syncing archiver to L1 block 7
12:15:27 [12:15:27.963]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 7 with hash 0x0000000000000000000000000000000000000000000000000000000000000007
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x7fea5e5b653d8d9e1cf03f8c4adae3cb5c9b42a118c6f310564bdc6f29cf5a62","l1BlockNumber":0}}
12:15:27 [12:15:27.992]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
12:15:27 [12:15:27.995]
INFO:
archiver Stopped.
12:15:28 [12:15:28.002]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:28 [12:15:28.410]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
12:15:29 [12:15:29.309]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a9f89e6eb632bbd7db7b636227a4f7b7f5c2f16134713c730f39cb11b799714","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750162528011,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:29 [12:15:29.315]
INFO:
archiver Stopped.
12:15:29 [12:15:29.317]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:29 [12:15:29.669]
INFO:
archiver Starting archiver sync to rollup contract 0x0000000000000000000000000000000000000000 from L1 block 0 to current L1 block 2000 with hash 0x00000000000000000000000000000000000000000000000000000000000007d0
{"blocksSynchedTo":0,"messagesSynchedTo":{"l1BlockHash":"0x15ad7a1837ec8a75cc3ce0a13a1513af9d60addf55fa8d75355fefcba9bcbba5","l1BlockNumber":0}}
12:15:29 [12:15:29.686]
INFO:
archiver Stopped.
12:15:29 [12:15:29.688]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:15:33 [12:15:33.801]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x208cb3f171c2fc8fef31777cd0295ee86a8dcf9087c20777fba339663bf4a535","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750162529699,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:15:33 [12:15:33.802]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x04da49bca76c38a734010aa800f2a0816bc578ce9028709cddd800f71b9d5542","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750162529711,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:15:34 [12:15:34.936]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
12:15:35 [12:15:35.992]
ERROR:
kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
12:15:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
12:15:35 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
12:15:35 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
12:15:35 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
12:15:35 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:15:35 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:15:35 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:15:35 newBlockNumber: 3,
12:15:35 previousBlockNumber: 1
12:15:35 }
12:15:36 [12:15:36.013]
WARN:
archiver Attempting to insert block 3 with previous block 1. Rolling back L1 sync point to 70 to try and fetch the missing blocks.
{"previousBlockNumber":1,"previousBlockHash":"0x208cb3f171c2fc8fef31777cd0295ee86a8dcf9087c20777fba339663bf4a535","newBlockNumber":3,"updatedL1SyncPoint":70}
12:15:36 [12:15:36.014]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
12:15:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
12:15:36 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
12:15:36 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
12:15:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7
12:15:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:15:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:15:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:15:36 newBlockNumber: 3,
12:15:36 previousBlockNumber: 1
12:15:36 }
12:15:37 [12:15:37.202]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x04da49bca76c38a734010aa800f2a0816bc578ce9028709cddd800f71b9d5542","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750162529711,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:15:37 [12:15:37.203]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x01a912e4b685c4d402e2c8b7be245411cfefe2946228fe0162a1e24911ba3e12","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750162529723,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
12:15:37 [12:15:37.316]
INFO:
archiver Stopped.
12:15:37
PASS src/archiver/archiver.test.ts (
36.768 s)
12:15:37 Archiver
12:15:37
✓ syncs l1 to l2 messages and blocks (4666 ms)
12:15:37
✓ ignores block 3 because it has been pruned (3065 ms)
12:15:37
✓ skip event search if no changes found (3908 ms)
12:15:37
✓ handles L2 reorg (6140 ms)
12:15:37
✓ handles updated messages due to L1 reorg (1471 ms)
12:15:37
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1404 ms)
12:15:37
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2378 ms)
12:15:37
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (475 ms)
12:15:37
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (986 ms)
12:15:37
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1316 ms)
12:15:37
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (371 ms)
12:15:37
✓ handles a block gap due to a spurious L2 prune (7633 ms)
12:15:37
○ skipped handles an upcoming L2 prune
12:15:37
12:15:37
Test Suites: 1 passed, 1 total
12:15:37
Tests: 1 skipped,
12 passed, 13 total
12:15:37
Snapshots: 0 total
12:15:37
Time: 36.879 s
12:15:37
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
12:15:37
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?