Parent Log: http://ci.aztec-labs.com/8467400d6ac67b43 Command: 1a84647d900d18a3 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/484694b997ac4ff62ed6d008cc3f12e0c60720ff Env: REF_NAME=gh-readonly-queue/next/pr-15077-3c1b9d57eadcc8fb03a7ed42610cf0a1ae4a32eb CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Wed Jun 18 07:42:19 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15077_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 07:42:23 [07:42:23.244] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:26 [07:42:26.048] INFO: archiver:test Waiting for archiver to sync to block 3 07:42:26 [07:42:26.065] 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":"0x12964d0e5a1334a8658b8664dd164b520ec7fcae03173fec29eb917c6bbb6375","rollingHash":"0x0fb1b2c83ae55207915128309b08fc99"},"messageCount":2} 07:42:26 [07:42:26.156] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x043642e2deb1a492289a9defe93d65663b9e077f0ad080fd3acf4b1a71bb2e7a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750232543244,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:27 [07:42:27.179] 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":"0x30442cd7b7b4032fcc3a57080aef35a90a90643910d6777c382b36b0e9105a7e","rollingHash":"0xe307f3e91363c2db8a4ef849ed0cf0e0"},"messageCount":4} 07:42:27 [07:42:27.208] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 07:42:27 [07:42:27.357] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2d2f4dd99a6081e114034109a6499637e8119f298528faa90c3a11ba882a1275","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750232543256,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:42:27 [07:42:27.358] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0ed4626fbccedd3933bcdf35a36e20b36db9035723979099d04d0d45508be778","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750232543268,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 07:42:27 [07:42:27.583] INFO: archiver Stopped. 07:42:27 [07:42:27.588] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:30 [07:42:30.105] INFO: archiver:test Waiting for archiver to sync to block 2 07:42:30 [07:42:30.114] 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":"0x25a09ee9284299da1f5f825c52fa2a8ed55f2c7d2f2e53e3fbd286c1f68d15ca","rollingHash":"0xf51628256eaba0fa5ce1f0cc54997d6c"},"messageCount":2} 07:42:30 [07:42:30.135] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x293ead0b9c986b9404369108e0b2f85418e28be219f1fd137306cf4914642120","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 07:42:30 [07:42:30.254] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2ad325ee298919532f706ffd4227b112f4f8cb5f47859b5029cbe0ed3f678104","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750232547599,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:30 [07:42:30.255] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1add7e8678c99c9b3018839316c48f9976446d7eaa527d4146e450834186d78f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750232547611,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:42:30 [07:42:30.341] INFO: archiver Stopped. 07:42:30 [07:42:30.344] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:33 [07:42:33.157] INFO: archiver:test Waiting for archiver to sync to block 2 07:42:34 [07:42:34.180] 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":"0x0a921c13f9b681af739fee635bef5f3a72f48581cfcfc59a5430a0ad9f17a44b","rollingHash":"0xd71ea87bd80e34d4ffa8eb433f619d83"},"messageCount":2} 07:42:34 [07:42:34.320] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x118bef7013c401b8b1da0aeabfe8aba64faf60da153be67e4428737a1cc79194","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750232550355,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:34 [07:42:34.320] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x03fbb6f1b851f5c711221e8ea8eebddf7de0233d7ed5248d1ee8bcdf6d18bb49","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750232550367,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:42:34 [07:42:34.411] INFO: archiver Stopped. 07:42:34 [07:42:34.413] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:37 [07:42:37.091] INFO: archiver:test Waiting for archiver to sync to block 2 07:42:37 [07:42:37.132] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 07:42:37 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 07:42:37 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 07:42:37 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 07:42:37 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 07:42:37 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 07:42:37 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 07:42:37 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 07:42:38 [07:42:38.145] 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":"0x017da56b4ee10adf2e68d198ddf77d5c9546231dcc59a63b7dca643735f63ae3","rollingHash":"0x9405b74acc0c0317f562360c0f0207a5"},"messageCount":2} 07:42:38 [07:42:38.285] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x134eed38467009eb4f32595bbd8d8ad9008ef70f9bd162d19a633688c3835166","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750232554424,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:38 [07:42:38.286] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x10cc9ad44ee7e8b4a8cb5c2d34903b76d45ee021a5b356564c3d448552f3fbfa","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750232554436,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:42:38 [07:42:38.289] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 07:42:38 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 07:42:38 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 07:42:38 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 07:42:38 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 07:42:38 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 07:42:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 07:42:38 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 07:42:39 [07:42:39.493] 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:42:39 [07:42:39.496] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 07:42:39 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 07:42:39 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 07:42:39 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 07:42:39 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 07:42:39 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 07:42:39 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 07:42:39 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 07:42:40 [07:42:40.391] INFO: archiver Stopped. 07:42:40 [07:42:40.394] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:41 [07:42:41.112] 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":"0x1d512ff66b76ecdb1f4c5815722a2c27f08fddd0dece5f9c095d57b3b9de9248","rollingHash":"0x4e9c18e05dc386f03086a597755a04cd"},"messageCount":6} 07:42:41 [07:42:41.119] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1d512ff66b76ecdb1f4c5815722a2c27f08fddd0dece5f9c095d57b3b9de9248","rollingHash":"0x4e9c18e05dc386f03086a597755a04cd"},"remoteMessagesState":{"messagesRollingHash":"0x7498ec1820421f6b46e38732379b7ae0","totalMessagesInserted":5,"treeInProgress":0}} 07:42:41 [07:42:41.201] WARN: archiver:test Reorging L1 to L2 messages 07:42:42 [07:42:42.149] 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":"0x1d512ff66b76ecdb1f4c5815722a2c27f08fddd0dece5f9c095d57b3b9de9248","rollingHash":"0x4e9c18e05dc386f03086a597755a04cd"}} 07:42:42 [07:42:42.154] WARN: archiver Deleting all local L1 to L2 messages after index 33 07:42:42 [07:42:42.155] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 07:42:42 [07:42:42.170] 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":"0x2d4e0467608ef920acff56fcb4f4621eeb4eea1d3f83a0e8bcdd09241b204567","rollingHash":"0x087903b1925f8652fcc5dad2e2b465af"},"messageCount":5} 07:42:42 [07:42:42.274] INFO: archiver Stopped. 07:42:42 [07:42:42.276] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:42 [07:42:42.690] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 07:42:44 [07:42:44.386] INFO: archiver:test Waiting for archiver to sync to block 1 07:42:44 [07:42:44.462] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x18eb3975fd3b7d72085f0fe6bdf13c2763c467b89c410d04d4c26418361bef83","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750232562288,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:44 [07:42:44.491] INFO: archiver Stopped. 07:42:44 [07:42:44.493] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:44 [07:42:44.860] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 07:42:45 [07:42:45.685] INFO: archiver:test Waiting for archiver to sync to block 1 07:42:45 [07:42:45.767] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x14301516745f9d7c6ecf761dc1ca3cb9367faff2fec5590861e84a36ac15e2e6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750232564504,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:45 [07:42:45.788] INFO: archiver Stopped. 07:42:45 [07:42:45.791] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:46 [07:42:46.448] INFO: archiver:test Syncing archiver to L1 block 6 07:42:46 [07:42:46.464] 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":"0xdd6c0b88184a5f9ee934318e204843519a5b23301a5b5d0b96415936a77a045d","l1BlockNumber":0}} 07:42:46 [07:42:46.477] 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:42:46 [07:42:46.479] INFO: archiver Stopped. 07:42:46 [07:42:46.481] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:46 [07:42:46.954] INFO: archiver:test Syncing archiver to L1 block 7 07:42:46 [07:42:46.956] 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":"0xb43d56940abb063c9a8ae4ef5e8a32ce9342ff918e4e8fb0e5958f22a2b67e26","l1BlockNumber":0}} 07:42:46 [07:42:46.965] 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:42:46 [07:42:46.968] INFO: archiver Stopped. 07:42:46 [07:42:46.970] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:47 [07:42:47.384] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 07:42:48 [07:42:48.536] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1b2aa92629fb80d302a9b3faff66880a6081f54f9763bf4c5347c2843e873513","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750232566981,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:48 [07:42:48.545] INFO: archiver Stopped. 07:42:48 [07:42:48.547] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:49 [07:42:49.092] 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":"0x0bebb4abb0e9090ed6af29f0498146cb066c8d536ae12397ff98e659dc7c771a","l1BlockNumber":0}} 07:42:49 [07:42:49.111] INFO: archiver Stopped. 07:42:49 [07:42:49.114] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 07:42:52 [07:42:52.476] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1286f49a811e01374e70806483eb2107e268a46fa7f6959fbf33db40618fa4b8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750232569125,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 07:42:52 [07:42:52.477] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0d9bb9b4541310a0149387365c1a2f3593a230d317b8951eb0dd1bf172b14535","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750232569137,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:42:53 [07:42:53.604] 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:42:54 [07:42:54.661] 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:42:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 07:42:54 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 07:42:54 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 07:42:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 07:42:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 07:42:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 07:42:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 07:42:54 newBlockNumber: 3, 07:42:54 previousBlockNumber: 1 07:42:54 } 07:42:54 [07:42:54.695] 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":"0x1286f49a811e01374e70806483eb2107e268a46fa7f6959fbf33db40618fa4b8","newBlockNumber":3,"updatedL1SyncPoint":70} 07:42:54 [07:42:54.696] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 07:42:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 07:42:54 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 07:42:54 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 07:42:54 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 07:42:54 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 07:42:54 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 07:42:54 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 07:42:54 newBlockNumber: 3, 07:42:54 previousBlockNumber: 1 07:42:54 } 07:42:55 [07:42:55.890] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0d9bb9b4541310a0149387365c1a2f3593a230d317b8951eb0dd1bf172b14535","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750232569137,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 07:42:55 [07:42:55.891] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0eef3154bec207e147454eb25ae02ebe165c2b32d550974d556d10c15770bd0b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750232569149,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 07:42:55 [07:42:55.977] INFO: archiver Stopped. 07:42:55 PASS src/archiver/archiver.test.ts (35.58 s) 07:42:55 Archiver 07:42:55 syncs l1 to l2 messages and blocks (4354 ms) 07:42:55 ignores block 3 because it has been pruned (2755 ms) 07:42:55 skip event search if no changes found (4068 ms) 07:42:55 handles L2 reorg (5980 ms) 07:42:55 handles updated messages due to L1 reorg (1882 ms) 07:42:55 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2216 ms) 07:42:55 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1297 ms) 07:42:55 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (690 ms) 07:42:55 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (488 ms) 07:42:55 reports an epoch as complete due to timestamp only once all its blocks have been synced (1577 ms) 07:42:55 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (566 ms) 07:42:55 handles a block gap due to a spurious L2 prune (6866 ms) 07:42:55 skipped handles an upcoming L2 prune 07:42:55 07:42:55 Test Suites: 1 passed, 1 total 07:42:55 Tests: 1 skipped, 12 passed, 13 total 07:42:55 Snapshots: 0 total 07:42:55 Time: 35.669 s 07:42:55 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 07:42:55 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?