Parent Log: http://ci.aztec-labs.com/54f15b1cfed48c5d Command: 5fd30fafdf4fa09d yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/5c77169d7f01a9e15bc19b05fa231fd96111d7dd Env: REF_NAME=gh-readonly-queue/next/pr-15042-d5c48d855d83e19712c6b72281801c6fce176ec1 CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Wed Jun 18 15:02:04 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15042_arm64_a1-fast Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 15:02:07 [15:02:07.484] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:10 [15:02:10.293] INFO: archiver:test Waiting for archiver to sync to block 3 15:02:10 [15:02:10.312] 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":"0x02222f78e8e8d8f0e532a251c6a8f395d5c99925ab5fae301a748763fb248d99","rollingHash":"0x6c6f320e69854c07e526ce6304ed994a"},"messageCount":2} 15:02:10 [15:02:10.397] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x08b3cbbfe9ad476bf52f3d862dd2e76c03c4ecc84bb79f9da828b532c96f2eb1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258927485,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:11 [15:02:11.416] 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":"0x041fc94ae1bd5d897e1248a0c91880c7946b5705fd4e56e64b9b7c912d43378a","rollingHash":"0x719ac7e3dbf73f454480284cf6b1527a"},"messageCount":4} 15:02:11 [15:02:11.445] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 15:02:11 [15:02:11.582] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0be900a89a25b28ef93b996c8d5f38125cb96fdbe01e57837b03a8745fe55ed3","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258927497,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:02:11 [15:02:11.583] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x12b3fd3533934263f74713461d328a5c0e6346b4a98609c9a4cb010e2e3f89ac","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750258927509,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:02:11 [15:02:11.782] INFO: archiver Stopped. 15:02:11 [15:02:11.786] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:14 [15:02:14.333] INFO: archiver:test Waiting for archiver to sync to block 2 15:02:14 [15:02:14.340] 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":"0x1fff081d70cdc14bed629385ab443a9e453bc4ad0570378f93bbb33e224d2d4b","rollingHash":"0xfcb313605d5946100a10c2fa90abaf01"},"messageCount":2} 15:02:14 [15:02:14.358] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x2cbe43e5f4868ee3d96d9561e6cec086d236d764513cf8aa3be06d35b4377285","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 15:02:14 [15:02:14.449] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x226f8dd29339fe5db07ef0ea83be122edde8ff5a971980b28bb414b74ea6980a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258931798,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:14 [15:02:14.449] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2a212861230a4480b7c159df147318523a67d0e3c11d0a4b65bc930d45be8159","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258931810,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:02:14 [15:02:14.541] INFO: archiver Stopped. 15:02:14 [15:02:14.543] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:17 [15:02:17.088] INFO: archiver:test Waiting for archiver to sync to block 2 15:02:18 [15:02:18.105] 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":"0x15a4f1cc324e317103ce9cbbeabfc4cf68b2769f1576102b1a4bf2c091ce2cbc","rollingHash":"0x8f16ee6d280c4c1ea64e044a0bdf333a"},"messageCount":2} 15:02:18 [15:02:18.216] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1023dbdf493cbb801915f750e7e060a9bd0ca4f13f8108053a2d1aa2cfaa9017","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258934555,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:18 [15:02:18.217] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x03b9fc4291ab3c188b3d851baac25a53a3e17666a1f219de287dd854dee36df4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258934567,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:02:18 [15:02:18.308] INFO: archiver Stopped. 15:02:18 [15:02:18.310] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:20 [15:02:20.857] INFO: archiver:test Waiting for archiver to sync to block 2 15:02:20 [15:02:20.890] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 15:02:20 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:02:20 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:02:20 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:02:20 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:02:20 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:02:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:02:20 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:02:21 [15:02:21.899] 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":"0x19e18f15fc4b4b45c51f69ccecc27e19fd8475320d96eaa196a477b031b0fb36","rollingHash":"0xa393b02ce0444f8721fd6e564bc040f9"},"messageCount":2} 15:02:22 [15:02:22.010] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1e05d409893ad9b04479c879f911b77710e1e8913170419154a9f147b71f6e9e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258938321,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:22 [15:02:22.011] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x24d029e9fbf59cb14df8fd0099c4aef30cd94b289764476d8982b3c6bd79d47d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258938333,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:02:22 [15:02:22.013] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 15:02:22 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:02:22 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:02:22 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:02:22 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:02:22 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:02:22 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:02:22 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:02:23 [15:02:23.100] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 15:02:23 [15:02:23.102] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 15:02:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:02:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:02:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:02:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:02:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:02:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:02:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:02:24 [15:02:24.102] INFO: archiver Stopped. 15:02:24 [15:02:24.103] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:24 [15:02:24.364] 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":"0x2166b3dfe1189324cbe9a137498656dfef21a6c6310f67569d8f74b39d9dedd1","rollingHash":"0x32fb9c8a57be6bc60e31954a541c9e6f"},"messageCount":6} 15:02:24 [15:02:24.365] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2166b3dfe1189324cbe9a137498656dfef21a6c6310f67569d8f74b39d9dedd1","rollingHash":"0x32fb9c8a57be6bc60e31954a541c9e6f"},"remoteMessagesState":{"messagesRollingHash":"0x54d1cbf60d6737df5e929a0e658e557e","totalMessagesInserted":5,"treeInProgress":0}} 15:02:24 [15:02:24.458] WARN: archiver:test Reorging L1 to L2 messages 15:02:25 [15:02:25.373] 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":"0x2166b3dfe1189324cbe9a137498656dfef21a6c6310f67569d8f74b39d9dedd1","rollingHash":"0x32fb9c8a57be6bc60e31954a541c9e6f"}} 15:02:25 [15:02:25.375] WARN: archiver Deleting all local L1 to L2 messages after index 33 15:02:25 [15:02:25.376] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 15:02:25 [15:02:25.389] 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":"0x2c46ebed5405244e11d8e3a2a7bcd70566c19ed8aedd9c854e4195156c4c456b","rollingHash":"0x81b95b0f953af1e6abce47743a2ccde9"},"messageCount":5} 15:02:25 [15:02:25.467] INFO: archiver Stopped. 15:02:25 [15:02:25.469] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:25 [15:02:25.724] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 15:02:26 [15:02:26.478] INFO: archiver:test Waiting for archiver to sync to block 1 15:02:26 [15:02:26.537] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0bf9a8f785ed4ed9bd25aa01e560f790cf7eaea1ba0a82ee9a144c1dfae71693","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258945481,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:26 [15:02:26.580] INFO: archiver Stopped. 15:02:26 [15:02:26.582] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:26 [15:02:26.838] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 15:02:27 [15:02:27.589] INFO: archiver:test Waiting for archiver to sync to block 1 15:02:27 [15:02:27.647] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x136aa26fef2156dd3f3e04eece937c8300f667f43fae31ea0e20b0ef36736691","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750258946594,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:27 [15:02:27.692] INFO: archiver Stopped. 15:02:27 [15:02:27.693] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:27 [15:02:27.949] INFO: archiver:test Syncing archiver to L1 block 6 15:02:27 [15:02:27.950] 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":"0x9889244e2d6d7e01ba33a0e07ada1b78d90040b78027a2f70b676fe590d614c1","l1BlockNumber":0}} 15:02:27 [15:02:27.961] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 15:02:27 [15:02:27.962] INFO: archiver Stopped. 15:02:27 [15:02:27.964] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:28 [15:02:28.222] INFO: archiver:test Syncing archiver to L1 block 7 15:02:28 [15:02:28.223] 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":"0x2fc1d50f78a954ab06aec09e49b9c6c62ae300bf5a1e720e59809b89190045cc","l1BlockNumber":0}} 15:02:28 [15:02:28.230] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 15:02:28 [15:02:28.232] INFO: archiver Stopped. 15:02:28 [15:02:28.234] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:28 [15:02:28.491] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 15:02:29 [15:02:29.307] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x00f2cba3f67cff4a2970e758cb48b85d78b14e8f405240f70ab204907f422d20","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258948245,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:29 [15:02:29.311] INFO: archiver Stopped. 15:02:29 [15:02:29.312] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:29 [15:02:29.570] 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":"0x8e7620d1ba9c05aaa3f475a5cf243f872b2c2d1ac436566b872667bb553ac949","l1BlockNumber":0}} 15:02:29 [15:02:29.580] INFO: archiver Stopped. 15:02:29 [15:02:29.581] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:02:32 [15:02:32.260] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x192a9eb06b261774fa469b2779ca39126e2067b66ca7b5a594f5ed96ab63c6aa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258949593,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:02:32 [15:02:32.260] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x23fff0ba4eed91d7daa17030e605d564330fdcc39195362bae291f6bc9b1be9d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258949605,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:02:33 [15:02:33.359] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 15:02:34 [15:02:34.396] 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 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 15:02:34 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:02:34 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:02:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:02:34 newBlockNumber: 3, 15:02:34 previousBlockNumber: 1 15:02:34 } 15:02:34 [15:02:34.417] 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":"0x192a9eb06b261774fa469b2779ca39126e2067b66ca7b5a594f5ed96ab63c6aa","newBlockNumber":3,"updatedL1SyncPoint":70} 15:02:34 [15:02:34.418] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 15:02:34 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:02:34 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:02:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:02:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:02:34 newBlockNumber: 3, 15:02:34 previousBlockNumber: 1 15:02:34 } 15:02:35 [15:02:35.544] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x23fff0ba4eed91d7daa17030e605d564330fdcc39195362bae291f6bc9b1be9d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258949605,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:02:35 [15:02:35.545] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1ec8d3728a2b124310a9e4226a8b4cee4b17d25d62b6aeb52695cf923c671059","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750258949617,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:02:35 [15:02:35.637] INFO: archiver Stopped. 15:02:35 PASS src/archiver/archiver.test.ts (30.605 s) 15:02:35 Archiver 15:02:35 syncs l1 to l2 messages and blocks (4313 ms) 15:02:35 ignores block 3 because it has been pruned (2756 ms) 15:02:35 skip event search if no changes found (3767 ms) 15:02:35 handles L2 reorg (5793 ms) 15:02:35 handles updated messages due to L1 reorg (1366 ms) 15:02:35 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1113 ms) 15:02:35 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1111 ms) 15:02:35 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (270 ms) 15:02:35 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (270 ms) 15:02:35 reports an epoch as complete due to timestamp only once all its blocks have been synced (1078 ms) 15:02:35 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (268 ms) 15:02:35 handles a block gap due to a spurious L2 prune (6056 ms) 15:02:35 skipped handles an upcoming L2 prune 15:02:35 15:02:35 Test Suites: 1 passed, 1 total 15:02:35 Tests: 1 skipped, 12 passed, 13 total 15:02:35 Snapshots: 0 total 15:02:35 Time: 30.677 s 15:02:35 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 15:02:35 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?