Parent Log: http://ci.aztec-labs.com/85449a36e9425412 Command: ebfed4061172f77e yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/07aee119a58dd438ddfb5bd53e124e7269e6c651 Env: REF_NAME=gh-readonly-queue/next/pr-15083-9b801754ba98479ee645488c29d2fda1eecbfd85 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 21:04:32 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15083_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 21:04:37 [21:04:37.048] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:04:39 [21:04:39.900] INFO: archiver:test Waiting for archiver to sync to block 3 21:04:39 [21:04:39.921] 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":"0x14381bba258609e19e92a870a6edd1e91cc6520f3f99d620a0fef05141d73b13","rollingHash":"0x688d964e580944ad8744067244e40574"},"messageCount":2} 21:04:40 [21:04:40.016] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2c940bb774ff050a90e924cce600e673ad9a4faadf9c8282877a73eba800490c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107877037,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:04:41 [21:04:41.065] 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":"0x206a8968129917dd6ded0e72a6584d20bfaa8737bee420bf0d3ac067ce2f3826","rollingHash":"0xf32a0e760d805d2a910d59bdbdc273a6"},"messageCount":4} 21:04:41 [21:04:41.129] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 21:04:41 [21:04:41.334] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0e163251053b77302bd21355e05740b82ead6ebf8062563d5c6d469578cb4cf1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107877049,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 21:04:41 [21:04:41.335] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0e212992b370294e731ee693c17466f79a52db2df0db8c9340fc211d60dda235","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107877061,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 21:04:41 [21:04:41.473] INFO: archiver Stopped. 21:04:41 [21:04:41.488] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:04:44 [21:04:44.326] INFO: archiver:test Waiting for archiver to sync to block 2 21:04:44 [21:04:44.339] 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":"0x0019952e244140dd8f657958390633d50abd638755d23e67ad863997fdb74974","rollingHash":"0x89c5c8fc173cb3b4fc995ee6db664bbc"},"messageCount":2} 21:04:44 [21:04:44.369] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x11fe6e1e055828f4c4982b7dcb3e3d798803d4832fe945d1541c7e8fd7c10fe5","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 21:04:44 [21:04:44.517] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0b12b84068b0814a8a05804f475e8ea947fc175838a355053c3c171e1388902f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107881499,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:04:44 [21:04:44.519] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x23547b53f2c9117624e64b34945531db6dd816d0419a80df958dbc81f6999fa9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107881511,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 21:04:44 [21:04:44.607] INFO: archiver Stopped. 21:04:44 [21:04:44.610] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:04:47 [21:04:47.624] INFO: archiver:test Waiting for archiver to sync to block 2 21:04:48 [21:04:48.655] 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":"0x14c27be54894bbd1d64afcb63b016d45c959e059d61fc3e4a01d660cf6c74945","rollingHash":"0xf8d57eeb0e003e927c40926520f0ff74"},"messageCount":2} 21:04:48 [21:04:48.813] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0b1dcdf9eff6238aa853421b91163cb2b1b90226eb4adb87c4d60d20c9951edd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107884621,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:04:48 [21:04:48.815] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1f82e5d71ba0c0dcb27372929413ea7d0fbf94fc1d9bd07ed59fbe1d247ea697","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107884633,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 21:04:48 [21:04:48.900] INFO: archiver Stopped. 21:04:48 [21:04:48.904] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:04:51 [21:04:51.614] INFO: archiver:test Waiting for archiver to sync to block 2 21:04:51 [21:04:51.659] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 21:04:51 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 21:04:51 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 21:04:51 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 21:04:51 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 21:04:51 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 21:04:51 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 21:04:51 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 21:04:52 [21:04:52.669] 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":"0x14c6ff1da5fbe23105486fa13adfd888bc192387944c136feb90b9d2d8eef0f7","rollingHash":"0x5faae4c17e40c8485e6dde2961b73287"},"messageCount":2} 21:04:52 [21:04:52.821] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2c6d4852cc82de128502d36ba750ee00a5a8a1acd20ebf214618c2edb5c036b8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107888915,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:04:52 [21:04:52.822] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x147737097d8b75ce18c4751b1916b092565d70cfa6fbf44fb9d2086f7cf37a17","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107888927,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 21:04:52 [21:04:52.825] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 21:04:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 21:04:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 21:04:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 21:04:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 21:04:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 21:04:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 21:04:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 21:04:53 [21:04:53.945] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 21:04:53 [21:04:53.948] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 21:04:53 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 21:04:53 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 21:04:53 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 21:04:53 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 21:04:53 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 21:04:53 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 21:04:53 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 21:04:54 [21:04:54.920] INFO: archiver Stopped. 21:04:54 [21:04:54.926] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:04:55 [21:04:55.340] 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":"0x21956a3715b1b5e0519276de40da1b9afdaf44002c5138a624c5826f0d4cca27","rollingHash":"0x37c7915251f881b0eb0d2f70c86b95f1"},"messageCount":6} 21:04:55 [21:04:55.341] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x21956a3715b1b5e0519276de40da1b9afdaf44002c5138a624c5826f0d4cca27","rollingHash":"0x37c7915251f881b0eb0d2f70c86b95f1"},"remoteMessagesState":{"messagesRollingHash":"0x13a187bfdf406144e85725044753d715","totalMessagesInserted":5,"treeInProgress":0}} 21:04:55 [21:04:55.439] WARN: archiver:test Reorging L1 to L2 messages 21:04:56 [21:04:56.351] 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":"0x21956a3715b1b5e0519276de40da1b9afdaf44002c5138a624c5826f0d4cca27","rollingHash":"0x37c7915251f881b0eb0d2f70c86b95f1"}} 21:04:56 [21:04:56.354] WARN: archiver Deleting all local L1 to L2 messages after index 33 21:04:56 [21:04:56.356] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 21:04:56 [21:04:56.377] 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":"0x02c586185c21f6c17bc75e91a969633ff6b1dc8a91331a5e31e69755100f3836","rollingHash":"0x3d7a055fad0bcfe657e42008f478636d"},"messageCount":5} 21:04:56 [21:04:56.465] INFO: archiver Stopped. 21:04:56 [21:04:56.467] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:04:56 [21:04:56.851] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 21:04:57 [21:04:57.797] INFO: archiver:test Waiting for archiver to sync to block 1 21:04:57 [21:04:57.898] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1d125a8a3b942b8cf0d85ea18a8f0bbb45ccc80672433e0bc8eff1ff6888cdf2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107896479,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:04:57 [21:04:57.904] INFO: archiver Stopped. 21:04:57 [21:04:57.907] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:04:58 [21:04:58.405] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 21:04:59 [21:04:59.658] INFO: archiver:test Waiting for archiver to sync to block 1 21:04:59 [21:04:59.778] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2996c4dd2b6c77934fd3d77b894d15f9b9c353df072efe68b579dc23107f6c97","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107897918,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:04:59 [21:04:59.875] INFO: archiver Stopped. 21:04:59 [21:04:59.890] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:05:00 [21:05:00.661] INFO: archiver:test Syncing archiver to L1 block 6 21:05:00 [21:05:00.663] 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":"0x7f99eeb16a356acfc373a8f14cb347ffd274ea0d056b2df4946b391505142b14","l1BlockNumber":0}} 21:05:00 [21:05:00.707] 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}} 21:05:00 [21:05:00.714] INFO: archiver Stopped. 21:05:00 [21:05:00.725] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:05:01 [21:05:01.179] INFO: archiver:test Syncing archiver to L1 block 7 21:05:01 [21:05:01.180] 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":"0xc0ebe17afd3a241a602debf4015601b25190316f669a1a88068e20d16be5073e","l1BlockNumber":0}} 21:05:01 [21:05:01.196] 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}} 21:05:01 [21:05:01.199] INFO: archiver Stopped. 21:05:01 [21:05:01.203] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:05:01 [21:05:01.748] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 21:05:03 [21:05:03.462] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1d40544d7828b6a41a453107ae919065219300bf24e7b9c221eb44622f6cd849","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107901214,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:05:03 [21:05:03.468] INFO: archiver Stopped. 21:05:03 [21:05:03.470] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:05:03 [21:05:03.818] 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":"0x1a04412a972d2d767d825a77daeee24914dfbfd0b2b32b09a14d1377a34dd90e","l1BlockNumber":0}} 21:05:03 [21:05:03.835] INFO: archiver Stopped. 21:05:03 [21:05:03.837] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 21:05:07 [21:05:07.949] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x01dfb721322e8f40bb3ce244f29dd2ad32e2a19e658a1f4bbfb111d568cd5db4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107903849,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 21:05:07 [21:05:07.950] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1b22dafbcfeb7401574a01b2e34f73e600bc83b140a9f76326ac8041925d2d4e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107903861,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 21:05:09 [21:05:09.091] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 21:05:10 [21:05:10.181] 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 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 21:05:10 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 21:05:10 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:05:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:05:10 newBlockNumber: 3, 21:05:10 previousBlockNumber: 1 21:05:10 } 21:05:10 [21:05:10.225] 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":"0x01dfb721322e8f40bb3ce244f29dd2ad32e2a19e658a1f4bbfb111d568cd5db4","newBlockNumber":3,"updatedL1SyncPoint":70} 21:05:10 [21:05:10.226] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 21:05:10 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 21:05:10 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 21:05:10 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 21:05:10 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 21:05:10 newBlockNumber: 3, 21:05:10 previousBlockNumber: 1 21:05:10 } 21:05:11 [21:05:11.494] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1b22dafbcfeb7401574a01b2e34f73e600bc83b140a9f76326ac8041925d2d4e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107903861,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 21:05:11 [21:05:11.495] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2a5ac3b54b8572e5be60fee4d7e4ce1cd645c341f5982ebaa2183ff5628ad7f2","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107903873,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 21:05:11 [21:05:11.569] INFO: archiver Stopped. 21:05:11 PASS src/archiver/archiver.test.ts (37.634 s) 21:05:11 Archiver 21:05:11 syncs l1 to l2 messages and blocks (4459 ms) 21:05:11 ignores block 3 because it has been pruned (3121 ms) 21:05:11 skip event search if no changes found (4293 ms) 21:05:11 handles L2 reorg (6018 ms) 21:05:11 handles updated messages due to L1 reorg (1545 ms) 21:05:11 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1439 ms) 21:05:11 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1970 ms) 21:05:11 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (839 ms) 21:05:11 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (486 ms) 21:05:11 reports an epoch as complete due to timestamp only once all its blocks have been synced (2267 ms) 21:05:11 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (367 ms) 21:05:11 handles a block gap due to a spurious L2 prune (7733 ms) 21:05:11 skipped handles an upcoming L2 prune 21:05:11 21:05:11 Test Suites: 1 passed, 1 total 21:05:11 Tests: 1 skipped, 12 passed, 13 total 21:05:11 Snapshots: 0 total 21:05:11 Time: 37.739 s 21:05:11 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 21:05:11 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?