Parent Log: http://ci.aztec-labs.com/5d55b1615f5ec373 Command: 29957fbe93665d48 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b43963b96401afabcaa75e0728adbb551b94d20f Env: REF_NAME=gh-readonly-queue/next/pr-15216-4608046e462faf9ff3fbee265ba34dbecb5d0b31 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 15:40:55 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15216_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 15:40:59 [15:40:59.899] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:02 [15:41:02.633] INFO: archiver:test Waiting for archiver to sync to block 3 15:41:02 [15:41:02.653] 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":"0x0d081a177bae34acb35f62e41e968a8eed714ec595cc97f2732d686d3d382d01","rollingHash":"0xb9b4a7648cc256cee1f42b7b3cd37d18"},"messageCount":2} 15:41:02 [15:41:02.741] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x07d46983d38b8e5b81f8d38beaddc248c89cf860d077d5f88f59ec2e84b18412","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750693259888,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:03 [15:41:03.764] 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":"0x1188ec0931aa350118eb13983a1ae9e6bff12e22a8078d94d696c15c36f31c41","rollingHash":"0x5fa970ba15fe0e1e3cb953a4f4cc034e"},"messageCount":4} 15:41:03 [15:41:03.807] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 15:41:04 [15:41:04.009] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0107987f3bd4fe0f928141a65c93a8b2f341588e101b86c9823c3d73a94dbf15","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750693259900,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:41:04 [15:41:04.011] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x14fcca4c43f9371278c1741cf0f60f3a37d0980144a58de64ea52e379faaf856","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750693259912,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:41:04 [15:41:04.261] INFO: archiver Stopped. 15:41:04 [15:41:04.265] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:06 [15:41:06.995] INFO: archiver:test Waiting for archiver to sync to block 2 15:41:07 [15:41:07.008] 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":"0x2fdb83b84761c709b124a882d65bd5118e1c85a555f97eb64243405d3afa896d","rollingHash":"0x6cf48bf3a5cd8affeffa4d78e55c006e"},"messageCount":2} 15:41:07 [15:41:07.044] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x0fb1a4300bb42356ac7636d74a0e7caa65b6703ef44972e10d5ad71f1a64451f","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 15:41:07 [15:41:07.206] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0a94007ec61e1ed07e3a472f6e94b1bb80954aabf87c396893c355464d942006","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750693264276,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:07 [15:41:07.207] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2eb73051ae3c3cc47b3cd0189db778c0483b8aba84f6c6eab4516a91e052eee8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750693264288,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:41:07 [15:41:07.293] INFO: archiver Stopped. 15:41:07 [15:41:07.296] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:09 [15:41:09.925] INFO: archiver:test Waiting for archiver to sync to block 2 15:41:10 [15:41:10.947] 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":"0x05e2ad287a37c6e09b406b14164a46b1d701e22e71b4132aee1222683a985533","rollingHash":"0x5d37c0a3de6d767efe293514dc34ca39"},"messageCount":2} 15:41:11 [15:41:11.108] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0d4aeabc5c92d5e79501192f8c4631b6051a8021e155e95c0c48ff4717de1858","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750693267308,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:11 [15:41:11.109] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bc1145ab7d54c075aae7808fd304b2a250736dc40c631f22c0dadb594a87ee4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750693267320,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:41:11 [15:41:11.197] INFO: archiver Stopped. 15:41:11 [15:41:11.201] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:14 [15:41:14.114] INFO: archiver:test Waiting for archiver to sync to block 2 15:41:14 [15:41:14.174] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 15:41:14 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:41:14 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:41:14 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 15:41:14 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 15:41:14 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 15:41:14 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:41:14 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:41:15 [15:41:15.183] 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":"0x1aaf4dc5efd37b9ac4f0f3498e54f5c3dea71ca417bd31b283306d6a6e4a5aa9","rollingHash":"0x8b4fdf49c3ae53d0b69fabeeb0aef4a7"},"messageCount":2} 15:41:15 [15:41:15.343] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x20fcf47b0c40dceacb66ba966e3782787a09ecf5fde48249724130125209337f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750693271212,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:15 [15:41:15.345] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1915bd113000b15d52c842c35e8d783d1a9c0ff773a29eb3875041c55bbc33c2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750693271224,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:41:15 [15:41:15.348] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 15:41:15 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:41:15 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:41:15 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 15:41:15 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 15:41:15 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 15:41:15 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:41:15 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:41:16 [15:41:16.470] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 15:41:16 [15:41:16.474] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 15:41:16 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 15:41:16 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 15:41:16 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 15:41:16 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 15:41:16 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 15:41:16 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 15:41:16 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 15:41:17 [15:41:17.393] INFO: archiver Stopped. 15:41:17 [15:41:17.395] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:17 [15:41:17.823] 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":"0x24706c0feb6b8eee39623ce361385591957ee70926333eeaf8c45acb6e349c81","rollingHash":"0x7e5b5681f630bb3d27036e6808e38ac3"},"messageCount":6} 15:41:17 [15:41:17.824] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x24706c0feb6b8eee39623ce361385591957ee70926333eeaf8c45acb6e349c81","rollingHash":"0x7e5b5681f630bb3d27036e6808e38ac3"},"remoteMessagesState":{"messagesRollingHash":"0x87b14f9dd249288f5b053e781e701e1d","totalMessagesInserted":5,"treeInProgress":0}} 15:41:17 [15:41:17.918] WARN: archiver:test Reorging L1 to L2 messages 15:41:18 [15:41:18.835] 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":"0x24706c0feb6b8eee39623ce361385591957ee70926333eeaf8c45acb6e349c81","rollingHash":"0x7e5b5681f630bb3d27036e6808e38ac3"}} 15:41:18 [15:41:18.844] WARN: archiver Deleting all local L1 to L2 messages after index 33 15:41:18 [15:41:18.857] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 15:41:18 [15:41:18.920] 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":"0x26abc4f39c99123396a188f847e05f3bf47fd98264fa62b759262458d3ef762c","rollingHash":"0x0ac27a75ae71154b7b96c01e9d14f347"},"messageCount":5} 15:41:18 [15:41:18.969] INFO: archiver Stopped. 15:41:18 [15:41:18.975] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:19 [15:41:19.515] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 15:41:20 [15:41:20.577] INFO: archiver:test Waiting for archiver to sync to block 1 15:41:20 [15:41:20.668] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2b5e197feb3c52d62c2e5b8872659230620d566a4465fa025c502e13341fd0ae","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750693278983,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:20 [15:41:20.681] INFO: archiver Stopped. 15:41:20 [15:41:20.683] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:21 [15:41:21.656] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 15:41:23 [15:41:23.383] INFO: archiver:test Waiting for archiver to sync to block 1 15:41:23 [15:41:23.537] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x21b5551a9b007ec945efdf23f9e31af088af5d4282f9fae693eef0f1ff3783c2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750693280694,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:23 [15:41:23.628] INFO: archiver Stopped. 15:41:23 [15:41:23.631] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:24 [15:41:24.143] INFO: archiver:test Syncing archiver to L1 block 6 15:41:24 [15:41:24.144] 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":"0x19223e903fc97b4038a9820373402be4d35dacf16a167add34a6d702ef5eda1c","l1BlockNumber":0}} 15:41:24 [15:41:24.168] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 15:41:24 [15:41:24.171] INFO: archiver Stopped. 15:41:24 [15:41:24.173] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:24 [15:41:24.625] INFO: archiver:test Syncing archiver to L1 block 7 15:41:24 [15:41:24.627] 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":"0x95985af67b99bfed4f1c000a6ec5579bb2d7b7c730283d74810a60aaaaa1d89f","l1BlockNumber":0}} 15:41:24 [15:41:24.638] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 15:41:24 [15:41:24.640] INFO: archiver Stopped. 15:41:24 [15:41:24.642] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:25 [15:41:25.028] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 15:41:27 [15:41:27.058] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2cebaf2ae5bad5c83ff5941ccf14a4063cbe0335888e24f7fea301e7fc8dbb4c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750693284654,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:27 [15:41:27.065] INFO: archiver Stopped. 15:41:27 [15:41:27.067] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:27 [15:41:27.496] 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":"0x65c7e1a636202ecc42089a5d6a312a861ec1fe6fd51fd77e8f86b83badbd6107","l1BlockNumber":0}} 15:41:27 [15:41:27.516] INFO: archiver Stopped. 15:41:27 [15:41:27.518] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 15:41:32 [15:41:32.465] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2977acd886c304d91e187a61a309de838cbfc756d50f93348f3472d8f6112dc0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750693287529,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 15:41:32 [15:41:32.467] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1e3f81bd756ca4a56892dfc6479eac6e34505bcb9ae5b280aa3b89c0011cdb9a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750693287541,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:41:33 [15:41:33.634] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 15:41:34 [15:41:34.852] 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 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 15:41:34 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:41:34 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:41:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:41:34 newBlockNumber: 3, 15:41:34 previousBlockNumber: 1 15:41:34 } 15:41:34 [15:41:34.899] 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":"0x2977acd886c304d91e187a61a309de838cbfc756d50f93348f3472d8f6112dc0","newBlockNumber":3,"updatedL1SyncPoint":70} 15:41:34 [15:41:34.901] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 15:41:34 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 15:41:34 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 15:41:34 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 15:41:34 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 15:41:34 newBlockNumber: 3, 15:41:34 previousBlockNumber: 1 15:41:34 } 15:41:36 [15:41:36.177] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1e3f81bd756ca4a56892dfc6479eac6e34505bcb9ae5b280aa3b89c0011cdb9a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750693287541,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 15:41:36 [15:41:36.178] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x08f28c1c7c3b6ba64b9bb6d0bf6445772dc7e46c93c6cd53c6ec2ff9cee1d45e","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750693287553,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 15:41:36 [15:41:36.191] INFO: archiver Stopped. 15:41:36 PASS src/archiver/archiver.test.ts (39.592 s) 15:41:36 Archiver 15:41:36 syncs l1 to l2 messages and blocks (4388 ms) 15:41:36 ignores block 3 because it has been pruned (3031 ms) 15:41:36 skip event search if no changes found (3903 ms) 15:41:36 handles L2 reorg (6194 ms) 15:41:36 handles updated messages due to L1 reorg (1576 ms) 15:41:36 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1711 ms) 15:41:36 reports an epoch as complete if the current L2 block is in the last slot of the epoch (2947 ms) 15:41:36 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) 15:41:36 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (469 ms) 15:41:36 reports an epoch as complete due to timestamp only once all its blocks have been synced (2424 ms) 15:41:36 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (451 ms) 15:41:36 handles a block gap due to a spurious L2 prune (8675 ms) 15:41:36 skipped handles an upcoming L2 prune 15:41:36 15:41:36 Test Suites: 1 passed, 1 total 15:41:36 Tests: 1 skipped, 12 passed, 13 total 15:41:36 Snapshots: 0 total 15:41:36 Time: 39.669 s 15:41:36 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 15:41:36 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?