Parent Log: http://ci.aztec-labs.com/42ea70df6ab23912 Command: a01b491a8c032117 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/60e60f99f2634ad75a76b6e103858ff9ccd041d5 Env: REF_NAME=gh-readonly-queue/next/pr-15081-58b067708e8ff927bf26b2994203134853a7eb71 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 18:11:03 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15081_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 18:11:07 [18:11:07.983] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:10 [18:11:10.824] INFO: archiver:test Waiting for archiver to sync to block 3 18:11:10 [18:11:10.842] 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":"0x2cbac70112255b85cd42b5f00b58329a423fa4cc6ee41195c4d66eb9f8b90c7f","rollingHash":"0xbfb339d364f60976997f94f38755343c"},"messageCount":2} 18:11:10 [18:11:10.942] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x04de65ac773bfe0c8cba3d355520b94623b0b3f2fd83f0e01cfd23e098564fa1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750097467971,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:12 [18:11:12.161] 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":"0x1abb11103a85571e0390c063914e0cebad8366262b501f6011db251f1c6e9971","rollingHash":"0x2290758b9476ae853a3074517632b903"},"messageCount":4} 18:11:12 [18:11:12.214] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 18:11:12 [18:11:12.470] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2b4df352403d5549c7ebe103fa03cd0f0b2edff7099a6e5a5f9c43a40359c143","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750097467983,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 18:11:12 [18:11:12.471] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1644e0181d8dd2b1ca56849e0125e09c804fee4906b23e832494f1ed955e041b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750097467995,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 18:11:12 [18:11:12.719] INFO: archiver Stopped. 18:11:12 [18:11:12.738] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:15 [18:11:15.463] INFO: archiver:test Waiting for archiver to sync to block 2 18:11:15 [18:11:15.478] 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":"0x2806a899edbe245a34e0d8abab3b4208101dac036d787a0829edfe0faf03580a","rollingHash":"0x7b8321ac6b469295b83d9087baa5d5eb"},"messageCount":2} 18:11:15 [18:11:15.502] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x020eb9d155d6ed9a3f382c04b496a208bb4dbe87abd352dab284b31abdff60bd","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 18:11:15 [18:11:15.649] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x21021f8be3ccd9cf9baf608899e6dbe9a61cab67959b490c9f110c330b7cce94","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750097472735,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:15 [18:11:15.651] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bfda5b298d825e3d7a0a87df1fa415f49a0e893ceaf50c92c938450556802d1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750097472747,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 18:11:15 [18:11:15.733] INFO: archiver Stopped. 18:11:15 [18:11:15.736] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:18 [18:11:18.603] INFO: archiver:test Waiting for archiver to sync to block 2 18:11:19 [18:11:19.634] 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":"0x20abe0ae47372838d2fcb670b8cc64da7a84a87447f9877218cf83ffc8bab6f4","rollingHash":"0xb27713f2ae82a737090c1f462d28393b"},"messageCount":2} 18:11:19 [18:11:19.798] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x12dd3bb3f3a040e660cc1f5bbfac8098803711f6b09ebf6082d6a51dd0b5535e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750097475748,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:19 [18:11:19.800] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x13b500b452923cf812199294e6d712ff36ea71afd7777b57121cf507bae9bd94","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750097475760,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 18:11:19 [18:11:19.885] INFO: archiver Stopped. 18:11:19 [18:11:19.889] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:23 [18:11:23.146] INFO: archiver:test Waiting for archiver to sync to block 2 18:11:23 [18:11:23.217] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 18:11:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 18:11:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 18:11:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 18:11:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 18:11:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 18:11:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 18:11:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 18:11:24 [18:11:24.228] 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":"0x119f088a1480f2ab1cb255d9b59ec9df735f2843ef630060f4c8b096b010aa21","rollingHash":"0x2e5025263b4dbf79e3bcea1d230f440f"},"messageCount":2} 18:11:24 [18:11:24.422] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x265b617067f9135f6d43512e0c73ff0e01860870af305932d24ff1b9f45be324","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750097479900,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:24 [18:11:24.423] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2d72692030c8eb93f6f33cef8876336fed8d45d432a6432eddc53f2d73a81a8d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750097479912,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 18:11:24 [18:11:24.427] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 18:11:24 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 18:11:24 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 18:11:24 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 18:11:24 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 18:11:24 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 18:11:24 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 18:11:24 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 18:11:25 [18:11:25.603] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 18:11:25 [18:11:25.606] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 18:11:25 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 18:11:25 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 18:11:25 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 18:11:25 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 18:11:25 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 18:11:25 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 18:11:25 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 18:11:26 [18:11:26.449] INFO: archiver Stopped. 18:11:26 [18:11:26.452] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:26 [18:11:26.883] 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":"0x15366d12de32d78600380f06373f62f317ecd042c4b3e807e953a7e8f21ef471","rollingHash":"0x30586a4487a993ebeb4f426287f157f0"},"messageCount":6} 18:11:26 [18:11:26.884] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x15366d12de32d78600380f06373f62f317ecd042c4b3e807e953a7e8f21ef471","rollingHash":"0x30586a4487a993ebeb4f426287f157f0"},"remoteMessagesState":{"messagesRollingHash":"0x684a89cd794d5cc54092e6154e3d11bf","totalMessagesInserted":5,"treeInProgress":0}} 18:11:26 [18:11:26.975] WARN: archiver:test Reorging L1 to L2 messages 18:11:27 [18:11:27.913] 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":"0x15366d12de32d78600380f06373f62f317ecd042c4b3e807e953a7e8f21ef471","rollingHash":"0x30586a4487a993ebeb4f426287f157f0"}} 18:11:27 [18:11:27.923] WARN: archiver Deleting all local L1 to L2 messages after index 33 18:11:27 [18:11:27.929] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 18:11:27 [18:11:27.947] 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":"0x0e02b464683d6da32b1df9c145372dfc612a8eade943909e0a25f46577a34cc9","rollingHash":"0x36c856a79425d7e3832371e4f0bcdd46"},"messageCount":5} 18:11:28 [18:11:28.026] INFO: archiver Stopped. 18:11:28 [18:11:28.029] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:28 [18:11:28.569] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 18:11:30 [18:11:30.411] INFO: archiver:test Waiting for archiver to sync to block 1 18:11:30 [18:11:30.520] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0c5891a79e011c9d3aac391beef786b35ae0f3187b47f3191e8901bb7aad9501","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750097488040,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:30 [18:11:30.619] INFO: archiver Stopped. 18:11:30 [18:11:30.621] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:30 [18:11:30.971] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 18:11:31 [18:11:31.844] INFO: archiver:test Waiting for archiver to sync to block 1 18:11:32 [18:11:32.106] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x03ead08836ff98367c277c5c56830edc1a0024f0f36b3335365776af33e0ddfa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750097490632,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:32 [18:11:32.186] INFO: archiver Stopped. 18:11:32 [18:11:32.199] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:32 [18:11:32.695] INFO: archiver:test Syncing archiver to L1 block 6 18:11:32 [18:11:32.709] 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":"0x2f16bfb1c72fede88c8141a7d86ab21dc82ff5b437efdb64d5b8f174a8a2d192","l1BlockNumber":0}} 18:11:32 [18:11:32.727] 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}} 18:11:32 [18:11:32.729] INFO: archiver Stopped. 18:11:32 [18:11:32.732] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:33 [18:11:33.142] INFO: archiver:test Syncing archiver to L1 block 7 18:11:33 [18:11:33.143] 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":"0x87a187ed1a07ec7dafd6755130d2a4dce13e516e7dbe34400c0b881b4483cb4f","l1BlockNumber":0}} 18:11:33 [18:11:33.167] 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}} 18:11:33 [18:11:33.171] INFO: archiver Stopped. 18:11:33 [18:11:33.173] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:33 [18:11:33.555] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 18:11:35 [18:11:35.134] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1e4946180b7148b82fee73202f4a5219c00debd56c2dfb1ff0d98063e7cb511e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750097493184,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:35 [18:11:35.141] INFO: archiver Stopped. 18:11:35 [18:11:35.144] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:35 [18:11:35.732] 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":"0x87202a8e1d1c463e84e64211bee51a7036455bc27f3d50f7fe2a6965e39e2ab9","l1BlockNumber":0}} 18:11:35 [18:11:35.795] INFO: archiver Stopped. 18:11:35 [18:11:35.801] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 18:11:39 [18:11:39.350] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2a322ba829bd1bfdb4ac2c515e42fa0873f4d5629ccc39e42c79452d2e578d85","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750097495809,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 18:11:39 [18:11:39.351] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x11cbd4fe30dfabd27b7d83344e1ca48f3f67e51bed967a91496b85d8d06797f5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750097495821,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 18:11:40 [18:11:40.503] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 18:11:41 [18:11:41.563] 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 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 18:11:41 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 18:11:41 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:11:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:11:41 newBlockNumber: 3, 18:11:41 previousBlockNumber: 1 18:11:41 } 18:11:41 [18:11:41.588] 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":"0x2a322ba829bd1bfdb4ac2c515e42fa0873f4d5629ccc39e42c79452d2e578d85","newBlockNumber":3,"updatedL1SyncPoint":70} 18:11:41 [18:11:41.590] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 18:11:41 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 18:11:41 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 18:11:41 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 18:11:41 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 18:11:41 newBlockNumber: 3, 18:11:41 previousBlockNumber: 1 18:11:41 } 18:11:42 [18:11:42.842] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x11cbd4fe30dfabd27b7d83344e1ca48f3f67e51bed967a91496b85d8d06797f5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750097495821,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 18:11:42 [18:11:42.843] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0b77a86707048d4781f2acd9a0402505ee7cd12711c581857e921cc09f7a4ffc","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750097495833,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 18:11:42 [18:11:42.929] INFO: archiver Stopped. 18:11:42 PASS src/archiver/archiver.test.ts (38.177 s) 18:11:42 Archiver 18:11:42 syncs l1 to l2 messages and blocks (4763 ms) 18:11:42 ignores block 3 because it has been pruned (3011 ms) 18:11:42 skip event search if no changes found (4151 ms) 18:11:42 handles L2 reorg (6563 ms) 18:11:42 handles updated messages due to L1 reorg (1577 ms) 18:11:42 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2592 ms) 18:11:42 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1567 ms) 18:11:42 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (543 ms) 18:11:42 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (440 ms) 18:11:42 reports an epoch as complete due to timestamp only once all its blocks have been synced (1970 ms) 18:11:42 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (653 ms) 18:11:42 handles a block gap due to a spurious L2 prune (7133 ms) 18:11:42 skipped handles an upcoming L2 prune 18:11:42 18:11:42 Test Suites: 1 passed, 1 total 18:11:42 Tests: 1 skipped, 12 passed, 13 total 18:11:42 Snapshots: 0 total 18:11:42 Time: 38.299 s 18:11:42 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 18:11:42 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?