Parent Log:
http://ci.aztec-labs.com/59fe19adf20b34c6
Command: aff82278d9e14e25 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/f880f14c946fb8464186d4178c5d49e391041988
Env: REF_NAME=gh-readonly-queue/next/pr-14967-b608f9359219731d3c03407689a4fadaaa5a0d45 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 12 14:07:30 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14967_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:07:33 [14:07:33.922]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:36 [14:07:36.700]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:07:36 [14:07:36.750]
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":"0x2cf28730ae897a144a02ea5ef81aa986411fc55cdcb475725b5d2f1bc8aa58a0","rollingHash":"0x29159dbf2e983fd9b6fe8b82e0ab00a1"},"messageCount":2}
14:07:36 [14:07:36.918]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0116517f50f8cd3ff1529cef400ab0e41c49737e96c008fbf08d9f229a31871b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749737253926,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:37 [14:07:37.941]
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":"0x081624311ea15c9c389fd924b5275096c013795d83c12e683fc5c47b86e37d92","rollingHash":"0xa7e4a2efca9f3ce5b24520b3e4350c46"},"messageCount":4}
14:07:37 [14:07:37.978]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:07:38 [14:07:38.160]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0f365432737706d007528d838dc3813ca9fdabfd6a0bf90b37745e07df2104eb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749737253938,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:38 [14:07:38.161]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0d237743916e1c1a1631662240c8ab6ddf8f86c675fd50ecffc6f741fd03a67c","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749737253950,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:07:38 [14:07:38.342]
INFO:
archiver Stopped.
14:07:38 [14:07:38.346]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:41 [14:07:41.294]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:07:41 [14:07:41.308]
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":"0x0af0e99ffb95e1f0495150caabd1e45ed0b0955ee7bb0bdfc2a8d060448cd22a","rollingHash":"0xf6319936588b6dc3a8b92d2268d0c501"},"messageCount":2}
14:07:41 [14:07:41.332]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1c40b2ced8a29d266579c68c9adf200ecfbdd11207ee0aa6a92442348925ecd4","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:07:41 [14:07:41.443]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0af4db344d3a2d9c2328eb090883437034011a7fba47d0ca473742bdd40fa376","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749737258357,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:41 [14:07:41.444]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0a86da9163e5810ba37f3902190529416558d1c430a5a5c4fa6eea0fe1158b71","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749737258369,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:41 [14:07:41.533]
INFO:
archiver Stopped.
14:07:41 [14:07:41.537]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:44 [14:07:44.179]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:07:45 [14:07:45.204]
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":"0x26ecbcc088c2fbb49ef5b7e91801f3ce8701f6132d58810b31243cf1cd149c58","rollingHash":"0x2c1c82e487e378ebdc7a23d1937dad31"},"messageCount":2}
14:07:45 [14:07:45.320]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2050ed80b1e1aacb0916dbd536efbe86b753e188e08340c77bf92334c67ab63c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749737261548,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:45 [14:07:45.321]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2c017da8fe164fa85266516336e0556d36dd4e1c48a42de59cd36a725eae67b6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749737261560,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:45 [14:07:45.405]
INFO:
archiver Stopped.
14:07:45 [14:07:45.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:48 [14:07:48.254]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:07:48 [14:07:48.297]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:07:48 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:07:48 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
14:07:48 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:07:48 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:07:48 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:07:48 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:07:48 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:07:49 [14:07:49.309]
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":"0x09d77bcd2f1c52044d74bd22e3abf6f86b57caa42dcf238fce9391e61fdace74","rollingHash":"0xd993cb6ff47aa17f2a6240cb96c1e3eb"},"messageCount":2}
14:07:49 [14:07:49.465]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x28520c418f07b1ec1c8ff42c4a557b3a8cc4e70565e83009988afff97e851829","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749737265419,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:49 [14:07:49.466]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x26928d1de933b27e98b537f5ba67d9e0396533e4bf0bc99f9c3a95a482db419a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749737265431,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:49 [14:07:49.468]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:07:49 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:07:49 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
14:07:49 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:07:49 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:07:49 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:07:49 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:07:49 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:07:50 [14:07:50.595]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:07:50 [14:07:50.597]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:07:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:07:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
14:07:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
14:07:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
14:07:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
14:07:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:07:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:07:51 [14:07:51.558]
INFO:
archiver Stopped.
14:07:51 [14:07:51.562]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:51 [14:07:51.916]
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":"0x2b4b5941c3cab9ba4a91c511fcb9ab158b5d95410d3e9e349facc30f66e145d0","rollingHash":"0x5fdde9a1e6e8c90011c81a328e703f8d"},"messageCount":6}
14:07:51 [14:07:51.916]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2b4b5941c3cab9ba4a91c511fcb9ab158b5d95410d3e9e349facc30f66e145d0","rollingHash":"0x5fdde9a1e6e8c90011c81a328e703f8d"},"remoteMessagesState":{"messagesRollingHash":"0x6c20699422489638dac6da6ff40de00e","totalMessagesInserted":5,"treeInProgress":0}}
14:07:52 [14:07:52.009]
WARN:
archiver:test Reorging L1 to L2 messages
14:07:52 [14:07:52.929]
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":"0x2b4b5941c3cab9ba4a91c511fcb9ab158b5d95410d3e9e349facc30f66e145d0","rollingHash":"0x5fdde9a1e6e8c90011c81a328e703f8d"}}
14:07:52 [14:07:52.931]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:07:52 [14:07:52.933]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:07:52 [14:07:52.950]
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":"0x26055a27a066ec7e0d08d216968dc780e7294db74208fda8516f1607898578c3","rollingHash":"0xf3ba5369c9ad5e7d2ec589cc4633b048"},"messageCount":5}
14:07:53 [14:07:53.033]
INFO:
archiver Stopped.
14:07:53 [14:07:53.035]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:53 [14:07:53.584]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:07:54 [14:07:54.701]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:07:54 [14:07:54.768]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x06a5550baf7e7f4366e70ed84db87e6b84e51cbe3428ea8ca653a106b97f0516","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749737273046,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:54 [14:07:54.804]
INFO:
archiver Stopped.
14:07:54 [14:07:54.805]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:55 [14:07:55.120]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:07:56 [14:07:56.160]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:07:56 [14:07:56.356]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x03dd339f4599455e97b8d8ac848a39313706f7b460316cffa7bb3d71964e2bd7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749737274817,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:56 [14:07:56.444]
INFO:
archiver Stopped.
14:07:56 [14:07:56.446]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:56 [14:07:56.815]
INFO:
archiver:test Syncing archiver to L1 block 6
14:07:56 [14:07:56.817]
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":"0xcb51ef208c8bed735dfad885ef45e23548ed6b3ef58118410bcdbfb74e28fc20","l1BlockNumber":0}}
14:07:56 [14:07:56.836]
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}}
14:07:56 [14:07:56.838]
INFO:
archiver Stopped.
14:07:56 [14:07:56.839]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:57 [14:07:57.149]
INFO:
archiver:test Syncing archiver to L1 block 7
14:07:57 [14:07:57.150]
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":"0x3652ff1158518a6c8ff038ee8494f7b07c6a2c3db53984869ed8ee0687e6f11f","l1BlockNumber":0}}
14:07:57 [14:07:57.167]
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}}
14:07:57 [14:07:57.169]
INFO:
archiver Stopped.
14:07:57 [14:07:57.171]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:57 [14:07:57.478]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:07:58 [14:07:58.665]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2602d010cd0c52884c67902e87dfa373c4cb4c622822dd7223db63b6dede6b56","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749737277182,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:58 [14:07:58.680]
INFO:
archiver Stopped.
14:07:58 [14:07:58.683]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:59 [14:07:59.158]
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":"0x3ea06d17614c614830bfe9e28ba94cdbb01c0e7c1ea168acfda6a5b170f68787","l1BlockNumber":0}}
14:07:59 [14:07:59.180]
INFO:
archiver Stopped.
14:07:59 [14:07:59.183]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:08:02 [14:08:02.438]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x004367de9ffe77550756706a449391f4e387939d0025d931d223f3c7210223e8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749737279194,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:08:02 [14:08:02.439]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0c39e02769fa488cfb531eefbecbac237087d4999e1df4caf55c406b75205e27","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749737279206,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:08:03 [14:08:03.581]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:08:04 [14:08:04.648]
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
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:08:04 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:08:04 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:08:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:08:04 newBlockNumber: 3,
14:08:04 previousBlockNumber: 1
14:08:04 }
14:08:04 [14:08:04.672]
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":"0x004367de9ffe77550756706a449391f4e387939d0025d931d223f3c7210223e8","newBlockNumber":3,"updatedL1SyncPoint":70}
14:08:04 [14:08:04.673]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
14:08:04 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:08:04 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:08:04 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:08:04 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:08:04 newBlockNumber: 3,
14:08:04 previousBlockNumber: 1
14:08:04 }
14:08:05 [14:08:05.798]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0c39e02769fa488cfb531eefbecbac237087d4999e1df4caf55c406b75205e27","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749737279206,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:08:05 [14:08:05.799]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x239dd50c7c9d354bdb298e7d5263170abf96cae394c05cba817fadfa32eb8e47","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749737279218,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:08:05 [14:08:05.828]
INFO:
archiver Stopped.
14:08:05
PASS src/archiver/archiver.test.ts (
34.698 s)
14:08:05 Archiver
14:08:05
✓ syncs l1 to l2 messages and blocks (4431 ms)
14:08:05
✓ ignores block 3 because it has been pruned (3189 ms)
14:08:05
✓ skip event search if no changes found (3871 ms)
14:08:05
✓ handles L2 reorg (6152 ms)
14:08:05
✓ handles updated messages due to L1 reorg (1475 ms)
14:08:05
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1770 ms)
14:08:05
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1640 ms)
14:08:05
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (393 ms)
14:08:05
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (331 ms)
14:08:05
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1510 ms)
14:08:05
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (500 ms)
14:08:05
✓ handles a block gap due to a spurious L2 prune (6648 ms)
14:08:05
○ skipped handles an upcoming L2 prune
14:08:05
14:08:05
Test Suites: 1 passed, 1 total
14:08:05
Tests: 1 skipped,
12 passed, 13 total
14:08:05
Snapshots: 0 total
14:08:05
Time: 34.777 s
14:08:05
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
14:08:05
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?