Parent Log: http://ci.aztec-labs.com/f36ae8a6d7e2bbdb Command: 5523e2d7d458c27d yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/21a568ac0c9ef351b1923375be41d4620add2b60 Env: REF_NAME=gh-readonly-queue/next/pr-15042-b80949775e5c27908a6055ad24592f7d98bdc45a CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Sun Jun 15 12:36:10 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 12:36:13 [12:36:13.578] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:16 [12:36:16.261] INFO: archiver:test Waiting for archiver to sync to block 3 12:36:16 [12:36:16.279] 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":"0x2fd22ef40964f1845cdd2c34074a7380ca5db3a398cb4666b0ddb6c716d50e48","rollingHash":"0x00af7cb6da5c50b8f5434547f0dd0e2d"},"messageCount":2} 12:36:16 [12:36:16.354] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x211828007c6ae9675c12a9f9efa2eacaf237ce9228c59318c3324fa8ec587d2c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749990973587,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:17 [12:36:17.372] 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":"0x1078a6b7207a194ecb8662824f9eb9b4e6c67ec37482023cdf3d3bc56d506969","rollingHash":"0xd0b592fe3bb87cc2582b7f34cef18254"},"messageCount":4} 12:36:17 [12:36:17.396] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 12:36:17 [12:36:17.513] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x28511896b6d32c6f0296f37bf990cd8b05dfa613f567d8f2a304c8b14ea287f9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749990973599,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:36:17 [12:36:17.514] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1ca81880d9183c9995a741d5f89b828fd76c98cb0db968f9d02722448b7052b1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749990973611,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 12:36:17 [12:36:17.696] INFO: archiver Stopped. 12:36:17 [12:36:17.699] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:20 [12:36:20.177] INFO: archiver:test Waiting for archiver to sync to block 2 12:36:20 [12:36:20.185] 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":"0x2520bc645d37d9a11e801327fdf6c5e2275d281c05eaa96da053b45c38ba49e4","rollingHash":"0x0b9f37c4355b11ae1743567db02674c9"},"messageCount":2} 12:36:20 [12:36:20.200] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x09a9b7cde07987cb71cb8452fa8848a7b65889004cf47721ba5e4820f4268a5a","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 12:36:20 [12:36:20.280] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0034baa50f60a7a8ddd4983d0c1a0839aa69ca525b7f935361e7798e2ed1ebeb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749990977711,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:20 [12:36:20.281] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x22199bbc8e487c69823d9786ca47f1235dcb3da8c63915722288fa155baed8f9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749990977723,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:36:20 [12:36:20.381] INFO: archiver Stopped. 12:36:20 [12:36:20.382] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:22 [12:36:22.862] INFO: archiver:test Waiting for archiver to sync to block 2 12:36:23 [12:36:23.882] 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":"0x0d90c75f9734d11ce3b701d091c1ff877fe78a4b04823181501f80e87ccaa068","rollingHash":"0x152b93a5317f312fa6fed9d7d78bed1e"},"messageCount":2} 12:36:23 [12:36:23.977] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2e468734cec6013e67acbaf4530d649337002ef2fc4ca0cbd2ba097ea9f0a6bf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749990980394,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:23 [12:36:23.978] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x233638ca8f3f15a1475d26f89487e0a23d1889d7d5ab24c78c1fe55ee1673c29","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749990980406,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:36:24 [12:36:24.068] INFO: archiver Stopped. 12:36:24 [12:36:24.070] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:26 [12:36:26.545] INFO: archiver:test Waiting for archiver to sync to block 2 12:36:26 [12:36:26.580] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 12:36:26 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 12:36:26 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9) 12:36:26 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 12:36:26 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 12:36:26 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 12:36:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 12:36:26 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 12:36:27 [12:36:27.588] 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":"0x0285c367ad8f30879d248ef11098dc28c93dd0ceb3ca79fbdbe092e84e420cf2","rollingHash":"0x08ad3c496b79d97050777700109c0fff"},"messageCount":2} 12:36:27 [12:36:27.683] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x210fe39e16342ad611290883a4090d08047db934c2bca561201e8baef4fa2bbc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749990984081,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:27 [12:36:27.684] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x237d58af98faab79a92a9aaf57773f4898c398edc9580995a4a69f4ee3e1cf79","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749990984093,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:36:27 [12:36:27.686] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 12:36:27 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 12:36:27 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9) 12:36:27 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 12:36:27 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 12:36:27 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 12:36:27 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 12:36:27 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 12:36:28 [12:36:28.770] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 12:36:28 [12:36:28.772] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 12:36:28 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 12:36:28 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:328:9) 12:36:28 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 12:36:28 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 12:36:28 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 12:36:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 12:36:28 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 12:36:29 [12:36:29.787] ERROR: archiver Error in running promise: TypeError: (intermediate value) is not iterable 12:36:29 at Archiver.handleL2blocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:595:7) 12:36:29 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:326:28) 12:36:29 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 12:36:29 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 12:36:29 at RunningPromise.stop (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:82:9) 12:36:29 at Archiver.stop (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:887:5) 12:36:29 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.test.ts:248:5) 12:36:29 [12:36:29.787] INFO: archiver Stopped. 12:36:29 [12:36:29.788] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:30 [12:36:30.027] 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":"0x1fc1fc2ab1102fffe57ecdc94fb5dcbd574478b390b9c7b228fad727ea579c05","rollingHash":"0xca4c57a85f509ca07cbb7faa5526e865"},"messageCount":6} 12:36:30 [12:36:30.027] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1fc1fc2ab1102fffe57ecdc94fb5dcbd574478b390b9c7b228fad727ea579c05","rollingHash":"0xca4c57a85f509ca07cbb7faa5526e865"},"remoteMessagesState":{"messagesRollingHash":"0x794e8389aac0b49903071984e57151e8","totalMessagesInserted":5,"treeInProgress":0}} 12:36:30 [12:36:30.122] WARN: archiver:test Reorging L1 to L2 messages 12:36:31 [12:36:31.035] 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":"0x1fc1fc2ab1102fffe57ecdc94fb5dcbd574478b390b9c7b228fad727ea579c05","rollingHash":"0xca4c57a85f509ca07cbb7faa5526e865"}} 12:36:31 [12:36:31.036] WARN: archiver Deleting all local L1 to L2 messages after index 33 12:36:31 [12:36:31.037] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 12:36:31 [12:36:31.050] 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":"0x117b22f2c7ce90e172f04edb67650109819763f34e880114812cd867b354130f","rollingHash":"0x9963c24af57dcb5481d2b7b8795c9c3d"},"messageCount":5} 12:36:31 [12:36:31.137] INFO: archiver Stopped. 12:36:31 [12:36:31.140] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:31 [12:36:31.378] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 12:36:32 [12:36:32.110] INFO: archiver:test Waiting for archiver to sync to block 1 12:36:32 [12:36:32.167] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2330b72551ac11e3dd519fa71a553897fecb49004789e427321d1d03cf6b8a5a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749990991150,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:32 [12:36:32.213] INFO: archiver Stopped. 12:36:32 [12:36:32.214] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:32 [12:36:32.454] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 12:36:33 [12:36:33.190] INFO: archiver:test Waiting for archiver to sync to block 1 12:36:33 [12:36:33.256] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x24a108bb548a122f86ca7483a0fed3dcb4136d0474cfcc76612049343509304e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749990992226,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:33 [12:36:33.292] INFO: archiver Stopped. 12:36:33 [12:36:33.293] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:33 [12:36:33.532] INFO: archiver:test Syncing archiver to L1 block 6 12:36:33 [12:36:33.533] 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":"0x20199ddc5be1c1e1cfa39888886243a19489bbe5e494ed3e7bcb41647aca6224","l1BlockNumber":0}} 12:36:33 [12:36:33.546] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 12:36:33 [12:36:33.547] INFO: archiver Stopped. 12:36:33 [12:36:33.549] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:33 [12:36:33.790] INFO: archiver:test Syncing archiver to L1 block 7 12:36:33 [12:36:33.791] 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":"0x4b9c79f6edd3d3d5f24edb775fb165841edfd682c146cde577ab560137d3b51a","l1BlockNumber":0}} 12:36:33 [12:36:33.802] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 12:36:33 [12:36:33.804] INFO: archiver Stopped. 12:36:33 [12:36:33.805] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:34 [12:36:34.043] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 12:36:34 [12:36:34.836] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0efe5444e6f4665d55157067f5922f667a646d48d11d70fe0b5dac1e68c2ba5c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749990993817,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:34 [12:36:34.839] INFO: archiver Stopped. 12:36:34 [12:36:34.840] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:35 [12:36:35.078] 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":"0x1ea821c8374d73592fd1010e42a80c25e3e95693c07ea399f87ad59f85933afc","l1BlockNumber":0}} 12:36:35 [12:36:35.080] INFO: archiver Stopped. 12:36:35 [12:36:35.081] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:36:37 [12:36:37.667] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x19d021b0ca271c88481ccbf4dfa161fba46e5650c4bf2f79f88670ea2fb323b1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749990995093,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:36:37 [12:36:37.668] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2f16d88ddac1335e4de02ac243457714100a3e9f5f178ec6d7289eec630b288e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749990995105,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:36:38 [12:36:38.750] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 12:36:39 [12:36:39.798] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 12:36:39 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 12:36:39 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:36:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:36:39 newBlockNumber: 3, 12:36:39 previousBlockNumber: 1 12:36:39 } 12:36:39 [12:36:39.817] 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":"0x19d021b0ca271c88481ccbf4dfa161fba46e5650c4bf2f79f88670ea2fb323b1","newBlockNumber":3,"updatedL1SyncPoint":70} 12:36:39 [12:36:39.817] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 12:36:39 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 12:36:39 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:36:39 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:36:39 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:36:39 newBlockNumber: 3, 12:36:39 previousBlockNumber: 1 12:36:39 } 12:36:40 [12:36:40.924] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2f16d88ddac1335e4de02ac243457714100a3e9f5f178ec6d7289eec630b288e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749990995105,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:36:40 [12:36:40.925] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x22a58f92702844dad59ca9461c9421a27de458fa8be44ae683640bfb6f8f9f66","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749990995117,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 12:36:41 [12:36:41.015] INFO: archiver Stopped. 12:36:41 PASS src/archiver/archiver.test.ts (29.588 s) 12:36:41 Archiver 12:36:41 syncs l1 to l2 messages and blocks (4123 ms) 12:36:41 ignores block 3 because it has been pruned (2683 ms) 12:36:41 skip event search if no changes found (3687 ms) 12:36:41 handles L2 reorg (5718 ms) 12:36:41 handles updated messages due to L1 reorg (1350 ms) 12:36:41 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1075 ms) 12:36:41 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1078 ms) 12:36:41 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (255 ms) 12:36:41 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (256 ms) 12:36:41 reports an epoch as complete due to timestamp only once all its blocks have been synced (1036 ms) 12:36:41 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (241 ms) 12:36:41 handles a block gap due to a spurious L2 prune (5934 ms) 12:36:41 skipped handles an upcoming L2 prune 12:36:41 12:36:41 Test Suites: 1 passed, 1 total 12:36:41 Tests: 1 skipped, 12 passed, 13 total 12:36:41 Snapshots: 0 total 12:36:41 Time: 29.656 s 12:36:41 Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i. 12:36:41 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?