Parent Log: http://ci.aztec-labs.com/24d9da29e964c9c1 Command: 270716767bef7882 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/aedcee89a2544b0e6baf93c4e71d88991f09111e Env: REF_NAME=gh-readonly-queue/next/pr-15183-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 24 13:34:29 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15183_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 13:34:34 [13:34:34.034] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:37 [13:34:37.221] INFO: archiver:test Waiting for archiver to sync to block 3 13:34:37 [13:34:37.239] 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":"0x21a2fa0ba6ad390683c3e7b703117c780d8b2270bd4b765261f0986d9b1e5e31","rollingHash":"0xcec55b446feb8d25fea714d7137accab"},"messageCount":2} 13:34:37 [13:34:37.326] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0303cf71c8d50455f4950f6f1dbc40e7bce848b962dd5aeab496869bcf1a42c7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772074025,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:34:38 [13:34:38.343] 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":"0x15f5844c48abea84f294cac502e26be1d552a7c63939325a6bb867bcb0926348","rollingHash":"0x25fb401d2f6e356e15e5b704cdae60f3"},"messageCount":4} 13:34:38 [13:34:38.378] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 13:34:38 [13:34:38.571] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x02849a11e2f1ea094770035be496db91b1a9334b3ae0fd7fc28c59b0eacf8e58","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772074037,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:34:38 [13:34:38.572] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0b3ec11156efcd0fa26fe6ac09956b5b3bf11cbfd5c2009b0f918ed38c607439","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750772074049,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 13:34:38 [13:34:38.799] INFO: archiver Stopped. 13:34:38 [13:34:38.803] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:41 [13:34:41.501] INFO: archiver:test Waiting for archiver to sync to block 2 13:34:41 [13:34:41.516] 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":"0x2c965b41b441784ef336f233d3ae5c178c82b2939e5807f3113adcf1fae80fd1","rollingHash":"0x4c16cd8928780c1caaf32321948862ad"},"messageCount":2} 13:34:41 [13:34:41.550] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1e5d9760a2da0ade45914eefe0ab436171ad19bd062b432882e0c2016f776988","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 13:34:41 [13:34:41.702] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x04fc3e2f902a95222f24216b6acf1ecdff61685eccf7caaa818fe06325e589ea","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772078815,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:34:41 [13:34:41.703] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1fb0a79d8ae07fd7d4012b50670fcd32969e0116732602b333a9ca70558ed370","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772078827,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:34:41 [13:34:41.793] INFO: archiver Stopped. 13:34:41 [13:34:41.796] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:44 [13:34:44.336] INFO: archiver:test Waiting for archiver to sync to block 2 13:34:45 [13:34:45.352] 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":"0x07ea1cfb4d6f619a8dd02ea0c351b0a0702da371ec57173ae0c1ee43f09305eb","rollingHash":"0xd1d5001e38e3bad7cacc8109d6e15c3c"},"messageCount":2} 13:34:45 [13:34:45.466] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x021e334fabc1e6f341bfdaf9ef2e030e625ef5b7f5a16bfe51d48d7c0d6280aa","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772081807,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:34:45 [13:34:45.466] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2ee2f31ac84e7d2130a75d1f9178d62bb579e55f6e88f3b1f95dafd29f530571","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772081819,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:34:45 [13:34:45.552] INFO: archiver Stopped. 13:34:45 [13:34:45.554] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:48 [13:34:48.209] INFO: archiver:test Waiting for archiver to sync to block 2 13:34:48 [13:34:48.252] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 13:34:48 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:34:48 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:34:48 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 13:34:48 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 13:34:48 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 13:34:48 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:34:48 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:34:49 [13:34:49.262] 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":"0x25f90b204f9eed94a1b06ba314d6551c19ac98252082729c4602b7f89e49cbe1","rollingHash":"0xdcb3b83334e571c6cddec9a645e257f2"},"messageCount":2} 13:34:49 [13:34:49.412] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x01ab8b6482adf79d6c7b59a44325e0c9d43d46964168c0ab6a25be90aa61b912","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772085566,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:34:49 [13:34:49.413] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1d590187fc8c917cbbf86ed7b9963bb97a25515d7c1921b64e0a0881d83d0fae","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772085578,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:34:49 [13:34:49.415] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 13:34:49 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:34:49 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:34:49 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 13:34:49 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 13:34:49 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 13:34:49 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:34:49 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:34:50 [13:34:50.567] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 13:34:50 [13:34:50.570] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 13:34:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:34:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:34:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 13:34:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 13:34:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 13:34:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:34:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:34:51 [13:34:51.504] INFO: archiver Stopped. 13:34:51 [13:34:51.506] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:51 [13:34:51.925] 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":"0x2737b1ee7c61fbc11ef9f3d03a3c522c258d0229f137ba96086a8d175887b15d","rollingHash":"0x5a4c72984f8436141e22c189347bab0c"},"messageCount":6} 13:34:51 [13:34:51.926] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2737b1ee7c61fbc11ef9f3d03a3c522c258d0229f137ba96086a8d175887b15d","rollingHash":"0x5a4c72984f8436141e22c189347bab0c"},"remoteMessagesState":{"messagesRollingHash":"0xf88c66f824d1460cee9dcd4fb8528923","totalMessagesInserted":5,"treeInProgress":0}} 13:34:52 [13:34:52.014] WARN: archiver:test Reorging L1 to L2 messages 13:34:52 [13:34:52.939] 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":"0x2737b1ee7c61fbc11ef9f3d03a3c522c258d0229f137ba96086a8d175887b15d","rollingHash":"0x5a4c72984f8436141e22c189347bab0c"}} 13:34:52 [13:34:52.942] WARN: archiver Deleting all local L1 to L2 messages after index 33 13:34:52 [13:34:52.943] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 13:34:52 [13:34:52.977] 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":"0x0ca4db9118a50b4442db3ca4d8e91c1646adf8e1cc256c4b1986aa02b3a727e3","rollingHash":"0x3030e463911eb265677bf642c7c1c389"},"messageCount":5} 13:34:53 [13:34:53.046] INFO: archiver Stopped. 13:34:53 [13:34:53.048] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:53 [13:34:53.421] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 13:34:54 [13:34:54.361] INFO: archiver:test Waiting for archiver to sync to block 1 13:34:54 [13:34:54.472] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1922ef4510b1acc75507c1b7f6aa846cd8dd9cf376fa25673c247a38bef04886","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772093059,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:34:54 [13:34:54.498] INFO: archiver Stopped. 13:34:54 [13:34:54.500] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:55 [13:34:55.285] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 13:34:56 [13:34:56.311] INFO: archiver:test Waiting for archiver to sync to block 1 13:34:56 [13:34:56.382] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x234475812139b6aabd24a0f6845722163e95ba3abd42fb22c3fc8721178702c8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750772094512,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:34:56 [13:34:56.418] INFO: archiver Stopped. 13:34:56 [13:34:56.420] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:56 [13:34:56.823] INFO: archiver:test Syncing archiver to L1 block 6 13:34:56 [13:34:56.824] 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":"0x64341d36571b3b589216fa377c4a13acee4c4b4a146cdbf2c7c5fd9d18eb9bdc","l1BlockNumber":0}} 13:34:56 [13:34:56.845] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 13:34:56 [13:34:56.847] INFO: archiver Stopped. 13:34:56 [13:34:56.849] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:57 [13:34:57.499] INFO: archiver:test Syncing archiver to L1 block 7 13:34:57 [13:34:57.501] 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":"0x1f079268e155cfb8b83ad5ed830e381a5cb90fa47225c2d994fbc77145dc7b23","l1BlockNumber":0}} 13:34:57 [13:34:57.519] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 13:34:57 [13:34:57.528] INFO: archiver Stopped. 13:34:57 [13:34:57.532] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:58 [13:34:58.129] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 13:34:59 [13:34:59.119] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x26f45464c1a6f91b0521d50b574ccc263085a204d555666247dc913f07a78a61","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772097542,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:34:59 [13:34:59.126] INFO: archiver Stopped. 13:34:59 [13:34:59.128] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:34:59 [13:34:59.753] 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":"0x1f189d19099cdb5a989047ff042028220a9b7127087adaade6300c9d4a8ba899","l1BlockNumber":0}} 13:34:59 [13:34:59.776] INFO: archiver Stopped. 13:34:59 [13:34:59.779] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:35:03 [13:35:03.562] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x11a39b3a5c64bcfdae6260718cee2283adaf393afe01e68d8cad8f72366ee85a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772099789,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:35:03 [13:35:03.564] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x038c6a79328f14daca09aa383bee8ceb946d9899e132764ba11dfb47fdfe73d7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772099801,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:35:04 [13:35:04.772] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 13:35:06 [13:35:06.059] 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 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 13:35:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 13:35:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 13:35:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 13:35:06 newBlockNumber: 3, 13:35:06 previousBlockNumber: 1 13:35:06 } 13:35:06 [13:35:06.094] 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":"0x11a39b3a5c64bcfdae6260718cee2283adaf393afe01e68d8cad8f72366ee85a","newBlockNumber":3,"updatedL1SyncPoint":70} 13:35:06 [13:35:06.096] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 13:35:06 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 13:35:06 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 13:35:06 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 13:35:06 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 13:35:06 newBlockNumber: 3, 13:35:06 previousBlockNumber: 1 13:35:06 } 13:35:07 [13:35:07.321] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x038c6a79328f14daca09aa383bee8ceb946d9899e132764ba11dfb47fdfe73d7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772099801,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:35:07 [13:35:07.323] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2d591884b0e9f07d9e1dae0e913e9454796e3057edad9cf2778b7b763cfee78f","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750772099813,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 13:35:07 [13:35:07.408] INFO: archiver Stopped. 13:35:07 PASS src/archiver/archiver.test.ts (36.73 s) 13:35:07 Archiver 13:35:07 syncs l1 to l2 messages and blocks (4790 ms) 13:35:07 ignores block 3 because it has been pruned (2992 ms) 13:35:07 skip event search if no changes found (3758 ms) 13:35:07 handles L2 reorg (5951 ms) 13:35:07 handles updated messages due to L1 reorg (1542 ms) 13:35:07 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1452 ms) 13:35:07 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1919 ms) 13:35:07 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (428 ms) 13:35:07 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (681 ms) 13:35:07 reports an epoch as complete due to timestamp only once all its blocks have been synced (1596 ms) 13:35:07 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (650 ms) 13:35:07 handles a block gap due to a spurious L2 prune (7631 ms) 13:35:07 skipped handles an upcoming L2 prune 13:35:07 13:35:07 Test Suites: 1 passed, 1 total 13:35:07 Tests: 1 skipped, 12 passed, 13 total 13:35:07 Snapshots: 0 total 13:35:07 Time: 36.824 s 13:35:07 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 13:35:07 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?