Parent Log: http://ci.aztec-labs.com/be516e64aa730e93 Command: a1fcfb018e125472 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/308037ad9b1489540aedbb57a9dac3d71282010e Env: REF_NAME=gh-readonly-queue/next/pr-15152-cb89edc02f7d386e48ee81660565d91895a3464b CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 12:39:09 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15152_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 12:39:12 [12:39:12.871] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:15 [12:39:15.577] INFO: archiver:test Waiting for archiver to sync to block 3 12:39:15 [12:39:15.594] 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":"0x0647bbd83353dfbb763e09bd511578e4bfe423c72dd0c56ea2d42d5442e7e577","rollingHash":"0xc335021ee8fdeddb8bed5a1373ce5759"},"messageCount":2} 12:39:15 [12:39:15.716] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2beb1a51c515e7114cb1132f877a73670d18f8ec85761986ab75d97f423e1607","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750423152868,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:16 [12:39:16.746] 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":"0x06acd64e49d42d5be987fc26f3df7226a6bd52a7e798d93f34802219996c6a3c","rollingHash":"0x452c8eee44b745f6813b1dc73f4fe817"},"messageCount":4} 12:39:16 [12:39:16.780] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 12:39:16 [12:39:16.937] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1a3e3fc99544d691859912206c1423414bcafadaa08025ab4d3c690e127ac328","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750423152880,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:39:16 [12:39:16.938] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2bc949c43f54c77d0114fce73803de8b4d99ea1a1577248e7e04ebf446195a25","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750423152892,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 12:39:17 [12:39:17.149] INFO: archiver Stopped. 12:39:17 [12:39:17.154] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:19 [12:39:19.695] INFO: archiver:test Waiting for archiver to sync to block 2 12:39:19 [12:39:19.707] 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":"0x00f964dd8cf72bc18cc2339af0a41e3b7402cde99ac2a7ef86d7d310c6ec5706","rollingHash":"0x563f45e94a32e7b79370f6f6df33ffa4"},"messageCount":2} 12:39:19 [12:39:19.742] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x0c6af4b9a2d1433d5be053b370334db97f530e5bceca2b47c050f3f8556c88ef","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 12:39:19 [12:39:19.882] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0a0905e8b4935953a2c91530b4e323aa06ffbcb7e9579777a7c284ac4e303d0e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750423157165,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:19 [12:39:19.884] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x25089eba1313b3d0fae4e46709b2fff4c0ebd84dd2db79b2455e5a5dac3477d0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750423157177,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:39:19 [12:39:19.971] INFO: archiver Stopped. 12:39:19 [12:39:19.973] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:22 [12:39:22.694] INFO: archiver:test Waiting for archiver to sync to block 2 12:39:23 [12:39:23.717] 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":"0x1ac6d91a7d72408c5272f0e2682294fd045d6bedf7f45d74327c9e34de65598f","rollingHash":"0x78b25c530e12b09cf8b31b32c5c1e19f"},"messageCount":2} 12:39:23 [12:39:23.886] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x206a6a0fba0dab7d4c27c3b29b891a8cb8ae5b5d3d681db2b0d68a126d26be05","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750423159985,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:23 [12:39:23.887] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x250a29e7c7b5e90f9e56e0ac375c61e48adaa9d868226b92460faaa0a9ee3a21","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750423159997,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:39:23 [12:39:23.975] INFO: archiver Stopped. 12:39:23 [12:39:23.977] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:26 [12:39:26.533] INFO: archiver:test Waiting for archiver to sync to block 2 12:39:26 [12:39:26.570] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 12:39:26 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 12:39:26 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 12:39:26 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 12:39:26 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 12:39:26 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 12:39:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 12:39:26 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 12:39:27 [12:39:27.581] 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":"0x0a87664b0fef817c74aa09c1f618c642e82334260ba8fd9f184faad773b77652","rollingHash":"0x9d9ca0f1d266f88418c68063aca0f039"},"messageCount":2} 12:39:27 [12:39:27.757] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x17686a858dc199a6e26b6073a8e86a5fc42e93c2b2a557e607ed9adb85b7bfe2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750423163989,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:27 [12:39:27.758] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x284373534cfd112e67c477d33f6349853d3b7ce5bc4e3ef3d5c18a7b4fbdb89d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750423164001,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:39:27 [12:39:27.761] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 12:39:27 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 12:39:27 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 12:39:27 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 12:39:27 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 12:39:27 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 12:39:27 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 12:39:27 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 12:39:28 [12:39:28.867] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 12:39:28 [12:39:28.869] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 12:39:28 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 12:39:28 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 12:39:28 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 12:39:28 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 12:39:28 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 12:39:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 12:39:28 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 12:39:29 [12:39:29.850] INFO: archiver Stopped. 12:39:29 [12:39:29.853] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:30 [12:39:30.283] 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":"0x24537f04b6e2199721e20c69637462112385402d3d9bb2ffbbd558b5e6f6b1c8","rollingHash":"0xbc012f7a3156d9051f31fa8273bd79d6"},"messageCount":6} 12:39:30 [12:39:30.284] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x24537f04b6e2199721e20c69637462112385402d3d9bb2ffbbd558b5e6f6b1c8","rollingHash":"0xbc012f7a3156d9051f31fa8273bd79d6"},"remoteMessagesState":{"messagesRollingHash":"0x6aa1dd9023a596ff729f6e86f85b3cdc","totalMessagesInserted":5,"treeInProgress":0}} 12:39:30 [12:39:30.377] WARN: archiver:test Reorging L1 to L2 messages 12:39:31 [12:39:31.296] 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":"0x24537f04b6e2199721e20c69637462112385402d3d9bb2ffbbd558b5e6f6b1c8","rollingHash":"0xbc012f7a3156d9051f31fa8273bd79d6"}} 12:39:31 [12:39:31.298] WARN: archiver Deleting all local L1 to L2 messages after index 33 12:39:31 [12:39:31.299] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 12:39:31 [12:39:31.314] 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":"0x059e58addc2a9d2e57c221e3d87c5db8d3e2962a6cf5ded78f99b2fa1c991751","rollingHash":"0x17ff1cda7f66e0d8847c4fc112ad8663"},"messageCount":5} 12:39:31 [12:39:31.390] INFO: archiver Stopped. 12:39:31 [12:39:31.393] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:31 [12:39:31.768] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 12:39:32 [12:39:32.760] INFO: archiver:test Waiting for archiver to sync to block 1 12:39:32 [12:39:32.846] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x20811f6490d777884f1b9589da62e67d05b56118ee0cbad878eeb7638dce0ebd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750423171404,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:32 [12:39:32.865] INFO: archiver Stopped. 12:39:32 [12:39:32.868] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:33 [12:39:33.778] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 12:39:34 [12:39:34.706] INFO: archiver:test Waiting for archiver to sync to block 1 12:39:34 [12:39:34.817] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x27e1f1ad7f0b4a7bbb96816d7f6bd2594e35161aae0d3c8bb0acedf62d0aa511","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750423172879,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:34 [12:39:34.916] INFO: archiver Stopped. 12:39:34 [12:39:34.918] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:35 [12:39:35.360] INFO: archiver:test Syncing archiver to L1 block 6 12:39:35 [12:39:35.361] 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":"0x9e2979ec7368bbdffde9da42a54dec19d154299d1d61e60dc46b7869340fea56","l1BlockNumber":0}} 12:39:35 [12:39:35.379] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 12:39:35 [12:39:35.381] INFO: archiver Stopped. 12:39:35 [12:39:35.383] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:35 [12:39:35.764] INFO: archiver:test Syncing archiver to L1 block 7 12:39:35 [12:39:35.765] 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":"0x15e946ab4fe6f5c79d63e71124de07dee35938d279321f4b0b99adc9b16af138","l1BlockNumber":0}} 12:39:35 [12:39:35.783] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 12:39:35 [12:39:35.788] INFO: archiver Stopped. 12:39:35 [12:39:35.790] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:36 [12:39:36.212] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 12:39:37 [12:39:37.269] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2e808cca9fd49fddffd36ce7faa75f923c9a5f03e2925a0a5311f39008d53e1e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750423175801,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:37 [12:39:37.274] INFO: archiver Stopped. 12:39:37 [12:39:37.276] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:37 [12:39:37.689] 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":"0x5e8d44a1832153bd262f837474fd6018b1b37502e784250a7d9bc9ef2dddb4ac","l1BlockNumber":0}} 12:39:37 [12:39:37.708] INFO: archiver Stopped. 12:39:37 [12:39:37.711] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 12:39:42 [12:39:42.178] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x186eb1141c7afc74fcf2c5a105c2ba8ccccbc293ba597958ecb1ebbe1db412cd","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750423177722,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 12:39:42 [12:39:42.179] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x14d6eafa3148a02955337b90e4ff59e75c2619a4e055a8f775daccd34ca5a8f0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750423177734,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:39:43 [12:39:43.349] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 12:39:44 [12:39:44.484] ERROR: kv-store:lmdb-v2:archiver_test Failed to commit transaction: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 12:39:44 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 12:39:44 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:39:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:39:44 newBlockNumber: 3, 12:39:44 previousBlockNumber: 1 12:39:44 } 12:39:44 [12:39:44.516] 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":"0x186eb1141c7afc74fcf2c5a105c2ba8ccccbc293ba597958ecb1ebbe1db412cd","newBlockNumber":3,"updatedL1SyncPoint":70} 12:39:44 [12:39:44.517] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 12:39:44 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 12:39:44 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 12:39:44 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 12:39:44 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 12:39:44 newBlockNumber: 3, 12:39:44 previousBlockNumber: 1 12:39:44 } 12:39:45 [12:39:45.731] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x14d6eafa3148a02955337b90e4ff59e75c2619a4e055a8f775daccd34ca5a8f0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750423177734,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 12:39:45 [12:39:45.732] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0864340a554904b73b31a08bfd7e0fada51247300990d3b0171accd1298c2878","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750423177746,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 12:39:45 [12:39:45.817] INFO: archiver Stopped. 12:39:45 PASS src/archiver/archiver.test.ts (35.82 s) 12:39:45 Archiver 12:39:45 syncs l1 to l2 messages and blocks (4297 ms) 12:39:45 ignores block 3 because it has been pruned (2818 ms) 12:39:45 skip event search if no changes found (4003 ms) 12:39:45 handles L2 reorg (5875 ms) 12:39:45 handles updated messages due to L1 reorg (1540 ms) 12:39:45 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1474 ms) 12:39:45 reports an epoch as complete if the current L2 block is in the last slot of the epoch (2050 ms) 12:39:45 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (464 ms) 12:39:45 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (406 ms) 12:39:45 reports an epoch as complete due to timestamp only once all its blocks have been synced (1486 ms) 12:39:45 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (434 ms) 12:39:45 handles a block gap due to a spurious L2 prune (8109 ms) 12:39:45 skipped handles an upcoming L2 prune 12:39:45 12:39:45 Test Suites: 1 passed, 1 total 12:39:45 Tests: 1 skipped, 12 passed, 13 total 12:39:45 Snapshots: 0 total 12:39:45 Time: 35.947 s 12:39:45 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 12:39:45 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?