Parent Log: http://ci.aztec-labs.com/622f4abfe3bca928 Command: 4d02999407264b5d yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/7763eef5eb7f045b9184a0a4591b394296eb3aa8 Env: REF_NAME=gh-readonly-queue/next/pr-14770-5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb CURRENT_VERSION=0.87.6 CI_FULL=0 Date: Mon Jun 16 15:08:38 UTC 2025 System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14770_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:08:42 [15:08:42.375] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:08:45 [15:08:45.143] INFO: archiver:test Waiting for archiver to sync to block 3 15:08:45 [15:08:45.158] 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":"0x2d6cccafad14343a4f1584461daa6907b7e9bf7df40f785e15cdd747248916dd","rollingHash":"0x70669bdd89b33f3e392e74616aed157e"},"messageCount":2} 15:08:45 [15:08:45.233] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0642b3f3405713703cdd99b875297b08b50cbbf6767a7df8566fb882871cea11","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750086522375,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:08:46 [15:08:46.249] 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":"0x19bc4f965710ca9026911c336d3b0975df053b2117a4a8e945c1375b4e4daecc","rollingHash":"0x90b7619188f36fb3c965d167788d4a65"},"messageCount":4} 15:08:46 [15:08:46.274] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 15:08:46 [15:08:46.408] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x223cd9b820c40fd9120eb37596944f18d920af07d8caaf36676097c39c243320","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750086522387,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:08:46 [15:08:46.409] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x02cc592b53ace86f1e02b434ae1a918b19075ec7637844eea83226215e4626c9","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750086522399,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:08:46 [15:08:46.607] INFO: archiver Stopped. 15:08:46 [15:08:46.611] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:08:49 [15:08:49.168] INFO: archiver:test Waiting for archiver to sync to block 2 15:08:49 [15:08:49.176] 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":"0x1b718049ddb5cd39d6e23f135a1f3a2e761f48686a7540260fc8d9100e16ea34","rollingHash":"0xe741026be9e2621b77fa834eb6c5bc18"},"messageCount":2} 15:08:49 [15:08:49.194] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1135a848bcac09b0479bc4b52b0fc7e86abbd356449ef64af45fddbcd7e870a8","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 15:08:49 [15:08:49.285] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1b100cb6b6246946b968f6c567359383da2c47426264ab60ac1ce6aaae2a960f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750086526623,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:08:49 [15:08:49.286] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2ceb66cae685987e69d2211679bd7e79fc0dbaa22d8a655adef501aa19caf9c7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750086526635,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:08:49 [15:08:49.378] INFO: archiver Stopped. 15:08:49 [15:08:49.380] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:08:51 [15:08:51.935] INFO: archiver:test Waiting for archiver to sync to block 2 15:08:52 [15:08:52.956] 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":"0x1a2f67ca5052b4f56fd4fdba09abf25849444ff413630e4c52f5f77312a7e0ad","rollingHash":"0x74b5d5e7bc77bdfad4523ab14841f250"},"messageCount":2} 15:08:53 [15:08:53.067] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x178e0b4aa6c1f230c82f4f6cdf8e2fca690cb795c18147f8dce8b393d5568d63","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750086529392,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:08:53 [15:08:53.068] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x129fece520353e6f0cb4cf2ca2f9825d05968e107d6e6ab117087b0cad662c07","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750086529404,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:08:53 [15:08:53.161] INFO: archiver Stopped. 15:08:53 [15:08:53.162] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:08:55 [15:08:55.719] INFO: archiver:test Waiting for archiver to sync to block 2 15:08:55 [15:08:55.758] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 15:08:55 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:08:55 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:08:55 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:08:55 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:08:55 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:08:55 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:08:55 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:08:56 [15:08:56.768] 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":"0x2a8b7b9429a7180eec76d9288602b2a03ca36b1eedaca669381601057b8ae4fb","rollingHash":"0xd325b4bcf87d9f24d916fe5b338efc61"},"messageCount":2} 15:08:56 [15:08:56.882] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2f1681a5f48c06759a9bbd78ad9bdf385d8279e6ea8a641241102a0d3032c0a7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750086533174,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:08:56 [15:08:56.883] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x201c2720b3dbf01d6a59a72a166409db5e23eb40cea1a387655479b42ed2eb0e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750086533186,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:08:56 [15:08:56.885] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 15:08:56 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:08:56 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:08:56 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:08:56 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:08:56 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:08:56 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:08:56 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:08:57 [15:08:57.979] 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:08:57 [15:08:57.981] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 15:08:57 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:08:57 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:08:57 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 15:08:57 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 15:08:57 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 15:08:57 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:08:57 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:08:58 [15:08:58.975] INFO: archiver Stopped. 15:08:58 [15:08:58.976] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:08:59 [15:08:59.238] 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":"0x1506b72f0af20dd5b0d4a45c647e4c28cf395eefd9ca97c1e33e49c6906a70e6","rollingHash":"0x0a53380a8996c5b08d140b8d4b2a23f5"},"messageCount":6} 15:08:59 [15:08:59.239] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1506b72f0af20dd5b0d4a45c647e4c28cf395eefd9ca97c1e33e49c6906a70e6","rollingHash":"0x0a53380a8996c5b08d140b8d4b2a23f5"},"remoteMessagesState":{"messagesRollingHash":"0x93c22deb771293dd16fc72c6192ab062","totalMessagesInserted":5,"treeInProgress":0}} 15:08:59 [15:08:59.332] WARN: archiver:test Reorging L1 to L2 messages 15:09:00 [15:09:00.247] 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":"0x1506b72f0af20dd5b0d4a45c647e4c28cf395eefd9ca97c1e33e49c6906a70e6","rollingHash":"0x0a53380a8996c5b08d140b8d4b2a23f5"}} 15:09:00 [15:09:00.249] WARN: archiver Deleting all local L1 to L2 messages after index 33 15:09:00 [15:09:00.250] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 15:09:00 [15:09:00.263] 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":"0x0f8a87d5aa0883d4fdd4f087c92b7f8e363fe40cca46a52ba6e1f2c737f0a931","rollingHash":"0x76b26159ffb5d035cf1d5e870322a90b"},"messageCount":5} 15:09:00 [15:09:00.346] INFO: archiver Stopped. 15:09:00 [15:09:00.348] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:09:00 [15:09:00.605] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 15:09:01 [15:09:01.360] INFO: archiver:test Waiting for archiver to sync to block 1 15:09:01 [15:09:01.422] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0fca36a57b78c741c65e57995492c42d32bcb164570ce82247f604091346b705","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750086540359,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:09:01 [15:09:01.461] INFO: archiver Stopped. 15:09:01 [15:09:01.463] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:09:01 [15:09:01.720] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 15:09:02 [15:09:02.475] INFO: archiver:test Waiting for archiver to sync to block 1 15:09:02 [15:09:02.544] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2ca19a0d710dd9c9431dec874bcc26ddc315419511aa5d98cacfc1c8448e09c3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750086541475,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:09:02 [15:09:02.579] INFO: archiver Stopped. 15:09:02 [15:09:02.581] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:09:02 [15:09:02.843] INFO: archiver:test Syncing archiver to L1 block 6 15:09:02 [15:09:02.844] 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":"0x76d0a36857f27929e9281add7711410a8d7c50d787977e9ab971329ee0d68025","l1BlockNumber":0}} 15:09:02 [15:09:02.856] 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}} 15:09:02 [15:09:02.858] INFO: archiver Stopped. 15:09:02 [15:09:02.859] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:09:03 [15:09:03.123] INFO: archiver:test Syncing archiver to L1 block 7 15:09:03 [15:09:03.123] 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":"0xe47aff7fbdd10cc094ad44ce0e17013ca0a50b724c715158325c8392cdc965fc","l1BlockNumber":0}} 15:09:03 [15:09:03.140] 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}} 15:09:03 [15:09:03.142] INFO: archiver Stopped. 15:09:03 [15:09:03.143] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:09:03 [15:09:03.406] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 15:09:04 [15:09:04.228] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1b94d8e9a1aa23de6df4564d6e9c5ea4ac604577d6dee13b17243b78557c5fbe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750086543155,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:09:04 [15:09:04.231] INFO: archiver Stopped. 15:09:04 [15:09:04.233] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:09:04 [15:09:04.499] 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":"0x02457ba3f1d3484c3bfd804b46f787db0afa96cef7de77d7d335353593174b78","l1BlockNumber":0}} 15:09:04 [15:09:04.512] INFO: archiver Stopped. 15:09:04 [15:09:04.513] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:09:07 [15:09:07.439] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x000fa8289fe3d25f47471209a5cb1c381f827f1f69ab478b6cc9317ac5b473fd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750086544525,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:09:07 [15:09:07.440] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x240a811472653aa7197e7240cc6cbd0b15c0ac8c3c7bd3a306a6435b521bb397","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750086544537,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:09:08 [15:09:08.534] 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:09:09 [15:09:09.575] 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:09:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 15:09:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:09:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 15:09:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 15:09:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:09:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:09:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:09:09 newBlockNumber: 3, 15:09:09 previousBlockNumber: 1 15:09:09 } 15:09:09 [15:09:09.594] 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":"0x000fa8289fe3d25f47471209a5cb1c381f827f1f69ab478b6cc9317ac5b473fd","newBlockNumber":3,"updatedL1SyncPoint":70} 15:09:09 [15:09:09.594] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 15:09:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 15:09:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:09:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 15:09:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 15:09:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:09:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:09:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:09:09 newBlockNumber: 3, 15:09:09 previousBlockNumber: 1 15:09:09 } 15:09:10 [15:09:10.722] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x240a811472653aa7197e7240cc6cbd0b15c0ac8c3c7bd3a306a6435b521bb397","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750086544537,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:09:10 [15:09:10.722] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x23512f5976e40fefc534b9cf361cd3f118373db644ed281dde226975f159302b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750086544549,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:09:10 [15:09:10.812] INFO: archiver Stopped. 15:09:10 PASS src/archiver/archiver.test.ts (30.985 s) 15:09:10 Archiver 15:09:10 syncs l1 to l2 messages and blocks (4247 ms) 15:09:10 ignores block 3 because it has been pruned (2769 ms) 15:09:10 skip event search if no changes found (3782 ms) 15:09:10 handles L2 reorg (5814 ms) 15:09:10 handles updated messages due to L1 reorg (1372 ms) 15:09:10 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1115 ms) 15:09:10 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1117 ms) 15:09:10 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (279 ms) 15:09:10 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (284 ms) 15:09:10 reports an epoch as complete due to timestamp only once all its blocks have been synced (1090 ms) 15:09:10 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (280 ms) 15:09:10 handles a block gap due to a spurious L2 prune (6299 ms) 15:09:10 skipped handles an upcoming L2 prune 15:09:10 15:09:10 Test Suites: 1 passed, 1 total 15:09:10 Tests: 1 skipped, 12 passed, 13 total 15:09:10 Snapshots: 0 total 15:09:10 Time: 31.078 s 15:09:10 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 15:09:10 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?