Parent Log: http://ci.aztec-labs.com/844afe2f59201208 Command: 7d3a4ee7e143e35a yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/3b5835195491b53670250790b18c14d922718574 Env: REF_NAME=gh-readonly-queue/next/pr-15094-1542a83b8e029762e119474de1725d84a1aee3d2 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 10:23:09 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15094_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 10:23:14 [10:23:14.200] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:17 [10:23:17.083] INFO: archiver:test Waiting for archiver to sync to block 3 10:23:17 [10:23:17.102] 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":"0x2da40a8f26bc2f9817f0b2c8819d896390aa8113309c485f0c92eee76bac507f","rollingHash":"0x99fe2df6399405969cc85b9e62216ed1"},"messageCount":2} 10:23:17 [10:23:17.186] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x17b51c7e9a4db4f61ff1ec6f0e6d28e837052adfaccc3061ff1aaef83be0a738","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750155794186,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:18 [10:23:18.208] 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":"0x0e5d48372f43d76cbad1c6aba87b950380c2bf9c2324d0df487cfea176b75f86","rollingHash":"0x359688e42c7fc2a3b230c9e7695bb609"},"messageCount":4} 10:23:18 [10:23:18.239] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 10:23:18 [10:23:18.405] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0b9d1646553bf37f1d98aca3eb418a0f40f429446e2c8d6c9c1ea566fc47c87e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750155794198,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:23:18 [10:23:18.407] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2ff89def51bf911fe37c5c53ddf7bce87efa06a2a2692daf104354223df9fa3f","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750155794210,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 10:23:18 [10:23:18.620] INFO: archiver Stopped. 10:23:18 [10:23:18.625] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:21 [10:23:21.169] INFO: archiver:test Waiting for archiver to sync to block 2 10:23:21 [10:23:21.182] 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":"0x09801bf9fe6b2312239935e0edbffefecabe844e3b3a7975f191a2e98e4d25b2","rollingHash":"0x3bcc8d4fd16f5a8b4c5f8c78ab1641d1"},"messageCount":2} 10:23:21 [10:23:21.204] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x2dd73c7286b4677cf01ae343287ae8bccddde4abd88a00c9aa8e8e322d5bbc6d","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 10:23:21 [10:23:21.302] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2af13177068d01fe9b3be97347bf7b1c426012778a9a9f502995398c4ef51f99","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750155798636,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:21 [10:23:21.303] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bdbe0f9afee50d51fc3459acece8861e1d06efb43d6964684187f54a8871e0b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750155798648,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:23:21 [10:23:21.391] INFO: archiver Stopped. 10:23:21 [10:23:21.392] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:23 [10:23:23.867] INFO: archiver:test Waiting for archiver to sync to block 2 10:23:24 [10:23:24.898] 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":"0x2cb481c9cb19099fddff4db2e3ec50ac6a43cc656ce03e553dbce7caf28e7b61","rollingHash":"0xc5bbf7f1d6f97ad3cb72dda72abdf98a"},"messageCount":2} 10:23:25 [10:23:25.058] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2e04dda60e385ca6cbb4802a4deb1497ccf7675fe0c2380c57117753c61b294f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750155801404,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:25 [10:23:25.059] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2914214a4c13cf3590be8faac466491e75dd49c9ff8d629b880df40e2a3bdf8c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750155801416,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:23:25 [10:23:25.142] INFO: archiver Stopped. 10:23:25 [10:23:25.146] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:28 [10:23:28.078] INFO: archiver:test Waiting for archiver to sync to block 2 10:23:28 [10:23:28.146] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 10:23:28 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:23:28 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 10:23:28 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 10:23:28 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 10:23:28 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 10:23:28 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:23:28 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:23:29 [10:23:29.157] 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":"0x18ce209880f4dd9ee1a76f667a51ccf9605d7886f41800969e9c420a89b983a9","rollingHash":"0xe0c7fe02e42e9c63748e168c71cb7b29"},"messageCount":2} 10:23:29 [10:23:29.293] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2ffb94a515fece3b8c9c68742eeccd5a1ee4357ed97a6404e958ebca2738c838","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750155805157,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:29 [10:23:29.294] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x13f9cbb0cdd7547961ed8c2eb30dbdd38ddc387e55bf45b4d19c34578ca9bf9e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750155805169,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:23:29 [10:23:29.297] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 10:23:29 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:23:29 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 10:23:29 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 10:23:29 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 10:23:29 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 10:23:29 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:23:29 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:23:30 [10:23:30.426] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 10:23:30 [10:23:30.428] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 10:23:30 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:23:30 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 10:23:30 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 10:23:30 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 10:23:30 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 10:23:30 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:23:30 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:23:31 [10:23:31.352] INFO: archiver Stopped. 10:23:31 [10:23:31.357] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:31 [10:23:31.749] 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":"0x1a328fded547e339676b49bab02b425779895b5bed0c000fb6cea511ffd9d389","rollingHash":"0xf1c9a7ab2e9729919d5fd69431c69cb7"},"messageCount":6} 10:23:31 [10:23:31.750] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1a328fded547e339676b49bab02b425779895b5bed0c000fb6cea511ffd9d389","rollingHash":"0xf1c9a7ab2e9729919d5fd69431c69cb7"},"remoteMessagesState":{"messagesRollingHash":"0x20e60a112e4b5fae0548695fbd20c3ec","totalMessagesInserted":5,"treeInProgress":0}} 10:23:31 [10:23:31.845] WARN: archiver:test Reorging L1 to L2 messages 10:23:32 [10:23:32.766] 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":"0x1a328fded547e339676b49bab02b425779895b5bed0c000fb6cea511ffd9d389","rollingHash":"0xf1c9a7ab2e9729919d5fd69431c69cb7"}} 10:23:32 [10:23:32.769] WARN: archiver Deleting all local L1 to L2 messages after index 33 10:23:32 [10:23:32.771] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 10:23:32 [10:23:32.793] 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":"0x1675a75e76051c510d22971200e17a0dbc95aca3de8dac0280e54dfdabb02300","rollingHash":"0xe7d27d51ef7e8e0645abcd018cb26c74"},"messageCount":5} 10:23:32 [10:23:32.872] INFO: archiver Stopped. 10:23:32 [10:23:32.874] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:33 [10:23:33.281] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 10:23:34 [10:23:34.351] INFO: archiver:test Waiting for archiver to sync to block 1 10:23:34 [10:23:34.468] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x096c88627aa5fc12a58f31ea4bd73b940d91bad56707da6e3e4a2b028cd03398","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750155812885,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:34 [10:23:34.560] INFO: archiver Stopped. 10:23:34 [10:23:34.564] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:35 [10:23:35.118] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 10:23:36 [10:23:36.285] INFO: archiver:test Waiting for archiver to sync to block 1 10:23:36 [10:23:36.399] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2fc7da34c0e36f3f6f47129866f80021669a204d8939fff9b033d42781dd9b38","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750155814575,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:36 [10:23:36.490] INFO: archiver Stopped. 10:23:36 [10:23:36.493] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:37 [10:23:37.041] INFO: archiver:test Syncing archiver to L1 block 6 10:23:37 [10:23:37.068] 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":"0xcc8312d04123a5f7c4c9ce5ff41e64dd0895c7bb98df3b56a320379edecc152b","l1BlockNumber":0}} 10:23:37 [10:23:37.128] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 10:23:37 [10:23:37.174] INFO: archiver Stopped. 10:23:37 [10:23:37.182] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:38 [10:23:38.161] INFO: archiver:test Syncing archiver to L1 block 7 10:23:38 [10:23:38.163] 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":"0x54886ab367e68bbadaeb22fd7bf6bebfb6d6bf4385867de8b2cc329c0554fb32","l1BlockNumber":0}} 10:23:38 [10:23:38.178] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 10:23:38 [10:23:38.181] INFO: archiver Stopped. 10:23:38 [10:23:38.185] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:38 [10:23:38.534] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 10:23:39 [10:23:39.430] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2f5c39858f5f8896aea937a6558863cf8c7e96ac7624bfd3c99bb123f889e918","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750155818195,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:39 [10:23:39.435] INFO: archiver Stopped. 10:23:39 [10:23:39.438] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:39 [10:23:39.878] 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":"0x4094f5e7946e3cd379c90a421d00a2d32998a613a29b34e46038a1cfe9bfce3b","l1BlockNumber":0}} 10:23:39 [10:23:39.897] INFO: archiver Stopped. 10:23:39 [10:23:39.899] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:23:44 [10:23:44.130] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x30387ed6673b7466088507f56dd18693cc5c012556d16c000a61ed51e406ca5f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750155819910,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:23:44 [10:23:44.131] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2617795be014f5e75682436876d9a461db8bbdd798d180335f5ee500a3bccf5f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750155819922,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:23:45 [10:23:45.297] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 10:23:46 [10:23:46.389] 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 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 10:23:46 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 10:23:46 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:23:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:23:46 newBlockNumber: 3, 10:23:46 previousBlockNumber: 1 10:23:46 } 10:23:46 [10:23:46.427] 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":"0x30387ed6673b7466088507f56dd18693cc5c012556d16c000a61ed51e406ca5f","newBlockNumber":3,"updatedL1SyncPoint":70} 10:23:46 [10:23:46.428] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 10:23:46 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 10:23:46 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:23:46 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:23:46 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:23:46 newBlockNumber: 3, 10:23:46 previousBlockNumber: 1 10:23:46 } 10:23:47 [10:23:47.623] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2617795be014f5e75682436876d9a461db8bbdd798d180335f5ee500a3bccf5f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750155819922,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:23:47 [10:23:47.625] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x26c069c12aa8d811002754780d65269a6904d83276fd0d10a6837434ae690396","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750155819934,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 10:23:47 [10:23:47.719] INFO: archiver Stopped. 10:23:47 PASS src/archiver/archiver.test.ts (36.77 s) 10:23:47 Archiver 10:23:47 syncs l1 to l2 messages and blocks (4450 ms) 10:23:47 ignores block 3 because it has been pruned (2768 ms) 10:23:47 skip event search if no changes found (3751 ms) 10:23:47 handles L2 reorg (6208 ms) 10:23:47 handles updated messages due to L1 reorg (1519 ms) 10:23:47 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1688 ms) 10:23:47 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1929 ms) 10:23:47 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (683 ms) 10:23:47 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (1002 ms) 10:23:47 reports an epoch as complete due to timestamp only once all its blocks have been synced (1254 ms) 10:23:47 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (460 ms) 10:23:47 handles a block gap due to a spurious L2 prune (7821 ms) 10:23:47 skipped handles an upcoming L2 prune 10:23:47 10:23:47 Test Suites: 1 passed, 1 total 10:23:47 Tests: 1 skipped, 12 passed, 13 total 10:23:47 Snapshots: 0 total 10:23:47 Time: 36.908 s 10:23:47 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 10:23:47 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?