Parent Log: http://ci.aztec-labs.com/57a3a05ea1e502d0 Command: 448a16f463e450de yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/80d800435dd8dfa325e38593d83b405488449dba Env: REF_NAME=gh-readonly-queue/next/pr-14444-28bf32bfc2566751e8baa0a9125a9db20d474bee CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 15:57:48 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14444_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 15:57:53 [15:57:53.080] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:57:55 [15:57:55.663] INFO: archiver:test Waiting for archiver to sync to block 3 15:57:55 [15:57:55.743] 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":"0x2f4cdd6df7b3357cb591c09cbd20ae2478e61682dbc6e14d6383b0c66fdd3d3b","rollingHash":"0xa0755750163bc94c5b7467ecaee42c97"},"messageCount":2} 15:57:55 [15:57:55.856] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1dc04b3847e189109da26f573c283e46e81d87ab90905b473f5a3434d5025d35","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750435073068,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:57:56 [15:57:56.876] 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":"0x1ca870b24582db63333085eb4e6d8f7d9be67eddceb3065e8fd4413a8e430a64","rollingHash":"0x0407044be2bb5c7355d1ede704a7098c"},"messageCount":4} 15:57:56 [15:57:56.905] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 15:57:57 [15:57:57.046] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x19cab4e16bf55c9fffeb188e8775b0c18a3b0f4ae83d75c1bd709939aeb81bdf","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750435073080,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:57:57 [15:57:57.047] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x09bb00e6f2f55af40081357f725027368a2bdd5771edf52e5da6a380106f0b33","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750435073092,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:57:57 [15:57:57.212] INFO: archiver Stopped. 15:57:57 [15:57:57.216] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:57:59 [15:57:59.616] INFO: archiver:test Waiting for archiver to sync to block 2 15:57:59 [15:57:59.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":"0x0a3a233e8a747f4e04cc55f0b3052731c4f6e5a2306555b6160811cc22952cb3","rollingHash":"0x134f13fb9bc3505cb5d716ef951a6eb8"},"messageCount":2} 15:57:59 [15:57:59.702] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x02e51ea809bc7bba3b0ef98aceabb7680f6ac8dcb6c3a48025bfc4857d2b669b","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 15:57:59 [15:57:59.923] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2702ae876b940f620f1ce303f67fbb33869572f7bedf991c6e16d0ad3b7214b4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750435077227,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:57:59 [15:57:59.924] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x01ba49769d23dd4f7b1983bbabc67db959f395f7307889bb6bf75195360f75b2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750435077239,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:57:59 [15:57:59.993] INFO: archiver Stopped. 15:58:00 [15:58:00.008] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:02 [15:58:02.828] INFO: archiver:test Waiting for archiver to sync to block 2 15:58:03 [15:58:03.847] 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":"0x00f766a82a87706bfff91700edc63e70120155b51e501603f8ad375b0b3f8d2d","rollingHash":"0xe990a207c210ada2c4e28abb972e10cd"},"messageCount":2} 15:58:03 [15:58:03.976] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x11f1d8614e849c479ef7537d68d1a489955876fc5244b84c3a81605aaf438ff0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750435080007,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:58:03 [15:58:03.977] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2740263ee5b4118540c87a10627679ca5aa27330ff444c30c00574c9c7df7e08","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750435080019,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:58:04 [15:58:04.062] INFO: archiver Stopped. 15:58:04 [15:58:04.064] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:06 [15:58:06.885] INFO: archiver:test Waiting for archiver to sync to block 2 15:58:06 [15:58:06.923] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 15:58:06 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:58:06 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:58:06 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 15:58:06 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 15:58:06 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 15:58:06 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:58:06 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:58:07 [15:58:07.936] 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":"0x0b21e4d0983a3116a72a71e2849264ffc2c99ad13193501aed35edd6a60b2670","rollingHash":"0xc8f4b2a5657a416de5b509da1b4b89e1"},"messageCount":2} 15:58:08 [15:58:08.063] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x06fda1f36575afcc5c06e3600a3a36c374547974aed61431d96374717d6dc947","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750435084075,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:58:08 [15:58:08.064] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1b14ee6ceca4cec3ed08cadc31c0e6b5ea4847e546dbecfe6b2bef21e3d7723e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750435084087,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:58:08 [15:58:08.066] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 15:58:08 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:58:08 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:58:08 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 15:58:08 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 15:58:08 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 15:58:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:58:08 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:58:09 [15:58:09.165] 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:58:09 [15:58:09.167] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 15:58:09 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:58:09 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:58:09 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 15:58:09 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 15:58:09 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 15:58:09 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:58:09 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:58:10 [15:58:10.161] INFO: archiver Stopped. 15:58:10 [15:58:10.164] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:10 [15:58:10.499] 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":"0x027bcb66cdcc11c9763c456536e662b02d96838a9ba1e34c4df26c3bcf85e99a","rollingHash":"0x0c346beea627a60ebea8467a53f9c74d"},"messageCount":6} 15:58:10 [15:58:10.500] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x027bcb66cdcc11c9763c456536e662b02d96838a9ba1e34c4df26c3bcf85e99a","rollingHash":"0x0c346beea627a60ebea8467a53f9c74d"},"remoteMessagesState":{"messagesRollingHash":"0x3fcdc63979f4d4ad2b5740478c977baa","totalMessagesInserted":5,"treeInProgress":0}} 15:58:10 [15:58:10.594] WARN: archiver:test Reorging L1 to L2 messages 15:58:11 [15:58:11.508] 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":"0x027bcb66cdcc11c9763c456536e662b02d96838a9ba1e34c4df26c3bcf85e99a","rollingHash":"0x0c346beea627a60ebea8467a53f9c74d"}} 15:58:11 [15:58:11.510] WARN: archiver Deleting all local L1 to L2 messages after index 33 15:58:11 [15:58:11.511] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 15:58:11 [15:58:11.533] 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":"0x0f601891b10c662257dcfba1a23cb8788cd0bda4fc1275a1944be391265851d5","rollingHash":"0x1872b67f0d9b60ee120761c53cfd20ca"},"messageCount":5} 15:58:11 [15:58:11.608] INFO: archiver Stopped. 15:58:11 [15:58:11.610] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:11 [15:58:11.941] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 15:58:12 [15:58:12.887] INFO: archiver:test Waiting for archiver to sync to block 1 15:58:13 [15:58:13.046] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0fc5360edeffcdaaf00ac4b6dcc690a868ec5826e3547eaa9a4af0fad5472dd9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750435091622,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:58:13 [15:58:13.126] INFO: archiver Stopped. 15:58:13 [15:58:13.132] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:13 [15:58:13.565] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 15:58:14 [15:58:14.496] INFO: archiver:test Waiting for archiver to sync to block 1 15:58:14 [15:58:14.642] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1628874980ed5f290edfd03802d767b923329c62aa10f857ea3b8025fb820c11","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750435093142,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:58:14 [15:58:14.732] INFO: archiver Stopped. 15:58:14 [15:58:14.739] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:15 [15:58:15.252] INFO: archiver:test Syncing archiver to L1 block 6 15:58:15 [15:58:15.254] 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":"0xe657c4aeb7cfc1e38d24353c425fa51a679d8a0bde40739025dfc6a8efc5d196","l1BlockNumber":0}} 15:58:15 [15:58:15.283] 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:58:15 [15:58:15.292] INFO: archiver Stopped. 15:58:15 [15:58:15.298] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:15 [15:58:15.682] INFO: archiver:test Syncing archiver to L1 block 7 15:58:15 [15:58:15.683] 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":"0x0cab9816b2c9b5df31dafe88a1d303b78a57cbd4b17b668f0998522cdafd7fa2","l1BlockNumber":0}} 15:58:15 [15:58:15.691] 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:58:15 [15:58:15.693] INFO: archiver Stopped. 15:58:15 [15:58:15.695] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:16 [15:58:16.045] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 15:58:17 [15:58:17.144] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2e80898ec761b6524a3421fee1ea9bb4d88764a122f0b317e01f86d315c80e08","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750435095707,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:58:17 [15:58:17.188] INFO: archiver Stopped. 15:58:17 [15:58:17.193] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:17 [15:58:17.622] 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":"0x852c060b7d29ba7e47f0b7c5ed60270c2dad7a86900c4b96b360c63e40d81dc2","l1BlockNumber":0}} 15:58:17 [15:58:17.641] INFO: archiver Stopped. 15:58:17 [15:58:17.644] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:58:21 [15:58:21.516] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1b8b444a15f867677ea993921f06a9b405116a20d5510b530c2d5011bf8b514e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750435097654,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:58:21 [15:58:21.518] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bf34609111bce316233d6f2ef0221384df6c4a7cd087e1abca7b27fb2a801b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750435097666,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:58:22 [15:58:22.641] 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:58:23 [15:58:23.840] 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:58:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 15:58:23 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:58:23 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 15:58:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:58:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:58:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:58:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:58:23 newBlockNumber: 3, 15:58:23 previousBlockNumber: 1 15:58:23 } 15:58:23 [15:58:23.880] 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":"0x1b8b444a15f867677ea993921f06a9b405116a20d5510b530c2d5011bf8b514e","newBlockNumber":3,"updatedL1SyncPoint":70} 15:58:23 [15:58:23.881] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 15:58:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 15:58:23 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:58:23 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 15:58:23 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:58:23 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:58:23 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:58:23 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:58:23 newBlockNumber: 3, 15:58:23 previousBlockNumber: 1 15:58:23 } 15:58:25 [15:58:25.137] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bf34609111bce316233d6f2ef0221384df6c4a7cd087e1abca7b27fb2a801b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750435097666,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:58:25 [15:58:25.138] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x12f6baa07438805296471afe939ab8ce44b22ae63b2e4f1b3d386a29396d37c1","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750435097678,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:58:25 [15:58:25.164] INFO: archiver Stopped. 15:58:25 PASS src/archiver/archiver.test.ts (35.312 s) 15:58:25 Archiver 15:58:25 syncs l1 to l2 messages and blocks (4159 ms) 15:58:25 ignores block 3 because it has been pruned (2779 ms) 15:58:25 skip event search if no changes found (4068 ms) 15:58:25 handles L2 reorg (6099 ms) 15:58:25 handles updated messages due to L1 reorg (1446 ms) 15:58:25 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1520 ms) 15:58:25 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1603 ms) 15:58:25 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (562 ms) 15:58:25 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (398 ms) 15:58:25 reports an epoch as complete due to timestamp only once all its blocks have been synced (1495 ms) 15:58:25 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (451 ms) 15:58:25 handles a block gap due to a spurious L2 prune (7524 ms) 15:58:25 skipped handles an upcoming L2 prune 15:58:25 15:58:25 Test Suites: 1 passed, 1 total 15:58:25 Tests: 1 skipped, 12 passed, 13 total 15:58:25 Snapshots: 0 total 15:58:25 Time: 35.396 s 15:58:25 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 15:58:25 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?