Parent Log: http://ci.aztec-labs.com/5341f5baef09d91c Command: a73e94f3b52b3d94 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/aa12cea18cfe4e45e23b46cf1a086d8331837eb5 Env: REF_NAME=db/simple-bc-hash CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Mon Jun 16 17:14:26 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=db_simple-bc-hash_amd64 Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 17:14:30 [17:14:30.845] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:33 [17:14:33.611] INFO: archiver:test Waiting for archiver to sync to block 3 17:14:33 [17:14:33.630] 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":"0x201eb6287ac25b33c7fcf14cba21eb403f6429d7ba118697472e4eda7943b78c","rollingHash":"0xf53dfe6c17909e68bd30ecc2364af56b"},"messageCount":2} 17:14:33 [17:14:33.739] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x260248027ff4dbd2c5d88994dbd8c90e35f9c2eda8f72d593f322cadb807700d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750094070835,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:34 [17:14:34.757] 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":"0x170a0a7f03c84aba6b642e7c27fadd39b9de2590c476901c22a953d2e3044946","rollingHash":"0x87df147b50981e1f4bcc43953b434595"},"messageCount":4} 17:14:34 [17:14:34.788] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 17:14:34 [17:14:34.925] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x285284b276575d159569ceefb79c2b986bfcf9952b37d44ea7aaa3e861d1c73d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750094070847,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:14:34 [17:14:34.926] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0cf5a9c047161e6048b4f93c5cbed4334812e8ff2006a300adaa83d858cf115d","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750094070859,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 17:14:35 [17:14:35.149] INFO: archiver Stopped. 17:14:35 [17:14:35.154] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:37 [17:14:37.543] INFO: archiver:test Waiting for archiver to sync to block 2 17:14:37 [17:14:37.558] 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":"0x05e386dfc6bac23be4b6b95a6adb1000118ea4770531bd849a4aa62530b8525d","rollingHash":"0x58d1935a17f7c17a3f984f6fa39fc06b"},"messageCount":2} 17:14:37 [17:14:37.581] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x2111ae7ff1b01c344e2f2a5b2afef090e01fdffa230f01e400f4a011f010441d","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 17:14:37 [17:14:37.688] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0f71e9b64d37515433932f971f77da8151c699317befb4badd7681c9317cd66d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750094075165,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:37 [17:14:37.688] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1cdfbe739f47421205ca1eaefccfa8dd370f7c55c776734d98b88c83d4d0897a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750094075177,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:14:37 [17:14:37.773] INFO: archiver Stopped. 17:14:37 [17:14:37.776] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:40 [17:14:40.131] INFO: archiver:test Waiting for archiver to sync to block 2 17:14:41 [17:14:41.242] 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":"0x1d2feef30ec4a9fa2ca9dafe1a37521d4aea45a64e1ca97887fd7655fed5a024","rollingHash":"0x16a9472f4e474b662bbf68615e51beec"},"messageCount":2} 17:14:41 [17:14:41.356] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0f18a2abcf9421b14f6bc32c607fc8519c52ebe28d893b0784fb86cafcea7fc0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750094077788,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:41 [17:14:41.357] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x159281a8561fe025921dfb48a0a95b524fac97b58bd5147f53a65ba93b9a67d5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750094077800,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:14:41 [17:14:41.443] INFO: archiver Stopped. 17:14:41 [17:14:41.448] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:44 [17:14:44.242] INFO: archiver:test Waiting for archiver to sync to block 2 17:14:44 [17:14:44.302] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 17:14:44 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 17:14:44 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 17:14:44 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 17:14:44 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 17:14:44 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 17:14:44 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 17:14:44 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 17:14:45 [17:14:45.314] 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":"0x23ff0bdea8c6d21f8068a72dfc3f9fe3fe87b8f935bbcee6f15cc630d8ad6c5b","rollingHash":"0xeaaa9e8ffb6e1de063de26c2e970f2a1"},"messageCount":2} 17:14:45 [17:14:45.467] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0e74c394d7669971bb6e714e3c063bf8445b4d14961a6b4189efa8c39eeca034","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750094081457,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:45 [17:14:45.469] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x281cc902cd03fa5d76250f73621f4ddbfc03cdbd121b653a6b7b17cc591acf2c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750094081469,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:14:45 [17:14:45.472] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 17:14:45 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 17:14:45 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 17:14:45 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 17:14:45 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 17:14:45 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 17:14:45 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 17:14:45 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 17:14:46 [17:14:46.626] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 17:14:46 [17:14:46.632] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 17:14:46 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 17:14:46 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 17:14:46 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 17:14:46 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 17:14:46 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 17:14:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 17:14:46 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 17:14:47 [17:14:47.520] INFO: archiver Stopped. 17:14:47 [17:14:47.525] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:47 [17:14:47.900] 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":"0x0eecacd830cba27b8c5d661110b60c71224b753b1f19972ea99044b2928c58be","rollingHash":"0x49870a43fdc790dcfc99bc94b7d45f33"},"messageCount":6} 17:14:47 [17:14:47.901] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0eecacd830cba27b8c5d661110b60c71224b753b1f19972ea99044b2928c58be","rollingHash":"0x49870a43fdc790dcfc99bc94b7d45f33"},"remoteMessagesState":{"messagesRollingHash":"0x650aabfc08c4eac50249601703a034f5","totalMessagesInserted":5,"treeInProgress":0}} 17:14:47 [17:14:47.998] WARN: archiver:test Reorging L1 to L2 messages 17:14:48 [17:14:48.922] 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":"0x0eecacd830cba27b8c5d661110b60c71224b753b1f19972ea99044b2928c58be","rollingHash":"0x49870a43fdc790dcfc99bc94b7d45f33"}} 17:14:48 [17:14:48.934] WARN: archiver Deleting all local L1 to L2 messages after index 33 17:14:48 [17:14:48.949] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 17:14:48 [17:14:48.975] 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":"0x12ca94d77111e7c7e9039c7485306813b483961584c3b319862ccae981ef7b13","rollingHash":"0x0dc30ea1d4a0cc465dc193d80176c906"},"messageCount":5} 17:14:49 [17:14:49.065] INFO: archiver Stopped. 17:14:49 [17:14:49.072] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:49 [17:14:49.662] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 17:14:50 [17:14:50.714] INFO: archiver:test Waiting for archiver to sync to block 1 17:14:50 [17:14:50.823] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1cb3466c9dfcda3a9009f6ce84414645c74bcbef0bbaf65332eacdfa56f3533a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750094089083,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:50 [17:14:50.920] INFO: archiver Stopped. 17:14:50 [17:14:50.922] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:51 [17:14:51.691] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 17:14:52 [17:14:52.708] INFO: archiver:test Waiting for archiver to sync to block 1 17:14:52 [17:14:52.796] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x137fbab477e26501468f56d723b0be579aee574c3a329b627604790d56def614","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750094090933,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:52 [17:14:52.810] INFO: archiver Stopped. 17:14:52 [17:14:52.813] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:53 [17:14:53.165] INFO: archiver:test Syncing archiver to L1 block 6 17:14:53 [17:14:53.166] 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":"0x27694c1f7b170264e33df6cae249badd48d67d4e5fc543944aaa73574f86ee9d","l1BlockNumber":0}} 17:14:53 [17:14:53.181] 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}} 17:14:53 [17:14:53.183] INFO: archiver Stopped. 17:14:53 [17:14:53.185] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:53 [17:14:53.624] INFO: archiver:test Syncing archiver to L1 block 7 17:14:53 [17:14:53.627] 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":"0xc856f57b7d26f23634a059c863aba62b112fd552df271645fcf589fca9d82d79","l1BlockNumber":0}} 17:14:53 [17:14:53.657] 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}} 17:14:53 [17:14:53.664] INFO: archiver Stopped. 17:14:53 [17:14:53.669] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:54 [17:14:54.035] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 17:14:54 [17:14:54.970] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0732abf71d7411b1a7d0435087f77202d1a79180623766274f6ea70df82b87ab","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750094093679,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:54 [17:14:54.975] INFO: archiver Stopped. 17:14:54 [17:14:54.977] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:55 [17:14:55.587] 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":"0x374532622187b61ef45aec40474dd9cb88a7f9ab3ae97dfbb0fc8ad620312138","l1BlockNumber":0}} 17:14:55 [17:14:55.611] INFO: archiver Stopped. 17:14:55 [17:14:55.616] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 17:14:58 [17:14:58.986] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2b5f06b1e9e14d396735c8069f12dff1952948c9ed048d6f7520e9b21450eb1a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750094095626,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 17:14:58 [17:14:58.988] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bf667b67700b6e15f4720243591bad117bb0aca40d501be61ab9c6a324e8105","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750094095638,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:15:00 [17:15:00.132] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 17:15:01 [17:15:01.194] 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 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 17:15:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 17:15:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 17:15:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 17:15:01 newBlockNumber: 3, 17:15:01 previousBlockNumber: 1 17:15:01 } 17:15:01 [17:15:01.224] 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":"0x2b5f06b1e9e14d396735c8069f12dff1952948c9ed048d6f7520e9b21450eb1a","newBlockNumber":3,"updatedL1SyncPoint":70} 17:15:01 [17:15:01.225] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 17:15:01 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 17:15:01 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 17:15:01 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 17:15:01 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 17:15:01 newBlockNumber: 3, 17:15:01 previousBlockNumber: 1 17:15:01 } 17:15:02 [17:15:02.385] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bf667b67700b6e15f4720243591bad117bb0aca40d501be61ab9c6a324e8105","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750094095638,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 17:15:02 [17:15:02.386] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x050eca603ba0a44f935c49fb69f7624d8cf28cfd5155be1009ab38531f180d71","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750094095650,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 17:15:02 [17:15:02.471] INFO: archiver Stopped. 17:15:02 PASS src/archiver/archiver.test.ts (34.768 s) 17:15:02 Archiver 17:15:02 syncs l1 to l2 messages and blocks (4329 ms) 17:15:02 ignores block 3 because it has been pruned (2622 ms) 17:15:02 skip event search if no changes found (3669 ms) 17:15:02 handles L2 reorg (6077 ms) 17:15:02 handles updated messages due to L1 reorg (1548 ms) 17:15:02 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1850 ms) 17:15:02 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1890 ms) 17:15:02 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (372 ms) 17:15:02 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (481 ms) 17:15:02 reports an epoch as complete due to timestamp only once all its blocks have been synced (1308 ms) 17:15:02 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (637 ms) 17:15:02 handles a block gap due to a spurious L2 prune (6858 ms) 17:15:02 skipped handles an upcoming L2 prune 17:15:02 17:15:02 Test Suites: 1 passed, 1 total 17:15:02 Tests: 1 skipped, 12 passed, 13 total 17:15:02 Snapshots: 0 total 17:15:02 Time: 34.855 s 17:15:02 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 17:15:02 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?