Parent Log: http://ci.aztec-labs.com/c03abe385025d0b2 Command: 0eb0803829930c84 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/2fb1dd1c3a73b872ba2c6e24ff0303eb2f7ac0fc Env: REF_NAME=gh-readonly-queue/next/pr-15136-cbd66b52b44f3aad75bf6e52a67987ed206598aa CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Thu Jun 19 07:24:10 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15136_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 07:24:14 [07:24:14.848] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:17 [07:24:17.650] INFO: archiver:test Waiting for archiver to sync to block 3 07:24:17 [07:24:17.671] 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":"0x0983a9813c405252305716704480a668d4f80362cf81221b88c1b98f7eafe82c","rollingHash":"0x634bf2293fbfe62f889248006445d990"},"messageCount":2} 07:24:17 [07:24:17.823] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x20e6649e7d0252ca09e8253c6a7d54a45a5b3e5ca51cd260ab6cca689d4186b8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750317854835,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:18 [07:24:18.894] 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":"0x2cea41d0838ca8ee83b75792366491161d7682936c6275f8161d2f76a6834102","rollingHash":"0x04c4d773e185dd5fd145aa2804d9e366"},"messageCount":4} 07:24:18 [07:24:18.930] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 07:24:19 [07:24:19.119] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x17090d17406b99e07b846cffa5c13d9b1fb232dfde07171a956424daa483aee9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750317854847,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:24:19 [07:24:19.121] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2d0cf2ed184bda09b515319eb0b511a0d08d739dd7f8176d56dd4bc9cbe86b8a","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750317854859,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 07:24:19 [07:24:19.299] INFO: archiver Stopped. 07:24:19 [07:24:19.307] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:22 [07:24:22.230] INFO: archiver:test Waiting for archiver to sync to block 2 07:24:22 [07:24:22.243] 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":"0x2847b37f0cdb9598a876075afdd86c1a97c29110eec59d4e2061dfa76635c542","rollingHash":"0xc7b714951aa49c0d272148f8d2aefa61"},"messageCount":2} 07:24:22 [07:24:22.263] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x17d980b66e93de6c5f3b623e3078af57000c79f1bb406bbd22aaa4a660247e72","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 07:24:22 [07:24:22.382] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x16cbf0758b1525065f03216f92cace3deba3b4d7713c619eab112d276bff5f5e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750317859316,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:22 [07:24:22.384] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2738bbeacca2c94695a00c14777c7a5af5b2a7ef3e079736d5d816a073d01757","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750317859328,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:24:22 [07:24:22.470] INFO: archiver Stopped. 07:24:22 [07:24:22.474] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:25 [07:24:25.521] INFO: archiver:test Waiting for archiver to sync to block 2 07:24:26 [07:24:26.548] 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":"0x2c2791d3a7381a6fb67d196f37890eeba95f174a17aa4122ba21d5ff367b8c43","rollingHash":"0x9ae9008a476e38f4e4689316e5cc87a2"},"messageCount":2} 07:24:26 [07:24:26.800] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x113587e59a7aacc0c1818d5f4dd87d5ad663c7333619bb45ae7bb9aa739cff88","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750317862485,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:26 [07:24:26.801] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0a9831680f4c0bd81582ee242882ad6517cd91bcd12e8939e26a3d4c62a33c74","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750317862497,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:24:26 [07:24:26.888] INFO: archiver Stopped. 07:24:26 [07:24:26.890] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:30 [07:24:30.038] INFO: archiver:test Waiting for archiver to sync to block 2 07:24:30 [07:24:30.096] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 07:24:30 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 07:24:30 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 07:24:30 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 07:24:30 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 07:24:30 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 07:24:30 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 07:24:30 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 07:24:31 [07:24:31.108] 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":"0x1262645a796eeff770c63ab821601c3e408fb2c3a2479e2fe0ea4b167eeff0b7","rollingHash":"0x962841ccc76e4bc46403965642563715"},"messageCount":2} 07:24:31 [07:24:31.268] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1b12775ecdb2f02307806f00030d455f7a43370635cfb7716f08a9a8a9c437f0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750317866902,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:31 [07:24:31.271] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x113456956541b35e75e63234000f2316f73c8798a51106e9ec714a53da6218e5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750317866914,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:24:31 [07:24:31.277] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 07:24:31 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 07:24:31 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 07:24:31 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 07:24:31 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 07:24:31 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 07:24:31 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 07:24:31 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 07:24:32 [07:24:32.416] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 07:24:32 [07:24:32.419] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 07:24:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 07:24:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 07:24:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 07:24:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 07:24:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 07:24:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 07:24:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 07:24:33 [07:24:33.322] INFO: archiver Stopped. 07:24:33 [07:24:33.326] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:33 [07:24:33.726] 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":"0x09cf07be21ce3e10b57027a168fcc96be8d9c034a57603c772b51f3102c39835","rollingHash":"0x9de4226b00edbd154067d81798825d02"},"messageCount":6} 07:24:33 [07:24:33.727] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x09cf07be21ce3e10b57027a168fcc96be8d9c034a57603c772b51f3102c39835","rollingHash":"0x9de4226b00edbd154067d81798825d02"},"remoteMessagesState":{"messagesRollingHash":"0xbbbef7f0a2f008bfda20a6c602e5ff06","totalMessagesInserted":5,"treeInProgress":0}} 07:24:33 [07:24:33.821] WARN: archiver:test Reorging L1 to L2 messages 07:24:34 [07:24:34.737] 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":"0x09cf07be21ce3e10b57027a168fcc96be8d9c034a57603c772b51f3102c39835","rollingHash":"0x9de4226b00edbd154067d81798825d02"}} 07:24:34 [07:24:34.740] WARN: archiver Deleting all local L1 to L2 messages after index 33 07:24:34 [07:24:34.742] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 07:24:34 [07:24:34.800] 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":"0x13da22a3f1f94f8c35fa89acb40fdfcab9d62fda5b6d3ce200199fa4ecf9df30","rollingHash":"0x8041bebb863eedc9dfc50c7484ec35bc"},"messageCount":5} 07:24:34 [07:24:34.842] INFO: archiver Stopped. 07:24:34 [07:24:34.844] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:35 [07:24:35.427] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 07:24:36 [07:24:36.484] INFO: archiver:test Waiting for archiver to sync to block 1 07:24:36 [07:24:36.588] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2e02a549e8392f1cd49819a47636f8f28d9138abffa8dbd95af8dd90c668c601","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750317874855,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:36 [07:24:36.694] INFO: archiver Stopped. 07:24:36 [07:24:36.700] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:37 [07:24:37.254] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 07:24:38 [07:24:38.382] INFO: archiver:test Waiting for archiver to sync to block 1 07:24:38 [07:24:38.490] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x01d4cd9815f9cc56cc881105af801ebff83d703e07dc4e95e24161839b287c61","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750317876709,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:38 [07:24:38.587] INFO: archiver Stopped. 07:24:38 [07:24:38.595] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:39 [07:24:39.037] INFO: archiver:test Syncing archiver to L1 block 6 07:24:39 [07:24:39.039] 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":"0x0d8677dc980ef43705a6d3c6043afb53a00dbb444cfd19a95bd08cdc1f3b3387","l1BlockNumber":0}} 07:24:39 [07:24:39.067] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 07:24:39 [07:24:39.071] INFO: archiver Stopped. 07:24:39 [07:24:39.073] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:40 [07:24:40.051] INFO: archiver:test Syncing archiver to L1 block 7 07:24:40 [07:24:40.057] 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":"0xdb88284ac4d9240afca016623335bde6b3c6c9f281b9cdc79f27e8baeccc1189","l1BlockNumber":0}} 07:24:40 [07:24:40.075] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 07:24:40 [07:24:40.077] INFO: archiver Stopped. 07:24:40 [07:24:40.081] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:40 [07:24:40.513] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 07:24:41 [07:24:41.406] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0bb224ec0baa0a9db9405a113b3d471c0c600805b0a4bcd12d7891e11000fc6f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750317880093,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:41 [07:24:41.409] INFO: archiver Stopped. 07:24:41 [07:24:41.411] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:41 [07:24:41.793] 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":"0xefb92505883d933298fa560605e18479781b40a506fd47598ce1ff30654014ee","l1BlockNumber":0}} 07:24:41 [07:24:41.809] INFO: archiver Stopped. 07:24:41 [07:24:41.810] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:24:46 [07:24:46.095] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x22eb5a54071186368587fe384e7be110ef9c81d6d4873c464dd17ca32c9f0939","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750317881822,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:24:46 [07:24:46.096] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x17f7ff5d550612328bd40288b48c9b52aa786158c305f3f95062d2920971d2b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750317881834,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:24:47 [07:24:47.231] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 07:24:48 [07:24:48.300] 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 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 07:24:48 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 07:24:48 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 07:24:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 07:24:48 newBlockNumber: 3, 07:24:48 previousBlockNumber: 1 07:24:48 } 07:24:48 [07:24:48.329] 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":"0x22eb5a54071186368587fe384e7be110ef9c81d6d4873c464dd17ca32c9f0939","newBlockNumber":3,"updatedL1SyncPoint":70} 07:24:48 [07:24:48.331] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 07:24:48 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 07:24:48 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 07:24:48 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 07:24:48 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 07:24:48 newBlockNumber: 3, 07:24:48 previousBlockNumber: 1 07:24:48 } 07:24:49 [07:24:49.533] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x17f7ff5d550612328bd40288b48c9b52aa786158c305f3f95062d2920971d2b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750317881834,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:24:49 [07:24:49.534] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0547b6e74dc5ea0e8b24074e82c7ff345a738c96484a3554e4ac6d4dd93a1828","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750317881846,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 07:24:49 [07:24:49.569] INFO: archiver Stopped. 07:24:49 PASS src/archiver/archiver.test.ts (37.782 s) 07:24:49 Archiver 07:24:49 syncs l1 to l2 messages and blocks (4479 ms) 07:24:49 ignores block 3 because it has been pruned (3168 ms) 07:24:49 skip event search if no changes found (4416 ms) 07:24:49 handles L2 reorg (6434 ms) 07:24:49 handles updated messages due to L1 reorg (1518 ms) 07:24:49 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1852 ms) 07:24:49 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1891 ms) 07:24:49 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (483 ms) 07:24:49 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (1007 ms) 07:24:49 reports an epoch as complete due to timestamp only once all its blocks have been synced (1330 ms) 07:24:49 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (399 ms) 07:24:49 handles a block gap due to a spurious L2 prune (7761 ms) 07:24:49 skipped handles an upcoming L2 prune 07:24:49 07:24:49 Test Suites: 1 passed, 1 total 07:24:49 Tests: 1 skipped, 12 passed, 13 total 07:24:49 Snapshots: 0 total 07:24:49 Time: 37.89 s 07:24:49 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 07:24:49 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?