Parent Log: http://ci.aztec-labs.com/d240895a55e41983 Command: 53eb328a1446f762 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/a48851a8c6884f4b9615a154f8862a549722d25e Env: REF_NAME=gh-readonly-queue/next/pr-14680-3b5835195491b53670250790b18c14d922718574 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 11:28:03 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14680_amd64_x1-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 11:28:07 [11:28:07.882] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:10 [11:28:10.753] INFO: archiver:test Waiting for archiver to sync to block 3 11:28:10 [11:28:10.846] 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":"0x2254c95e09dc7a1648bc311bfd5df0500b2a72d852be204dc4aac6ec1c9de8a9","rollingHash":"0xbd77fa2580f7fa7045ff29c77e148681"},"messageCount":2} 11:28:11 [11:28:11.050] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0c7b952265d2a81a0f15a9f60471dcb6077d875f9b888cc9ae633daf5bcc6ea2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750159687879,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:12 [11:28:12.096] 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":"0x1b98af4cfb4fc2821b1c7f99143fb27c73eef556d432b678458fcb4e2abcf69a","rollingHash":"0x055488f572a4bb9bd4b7f1829b0a63ee"},"messageCount":4} 11:28:12 [11:28:12.181] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 11:28:12 [11:28:12.340] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x07170ee4fcf29a12f32b11ecf6c53430f02ce1b3a7a0436ed5e09e6d429e1265","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750159687891,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:28:12 [11:28:12.341] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1ff83ef17416e291e677a881d7152e19993da8a8f1cea0f147e443f1995088e9","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750159687903,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 11:28:12 [11:28:12.521] INFO: archiver Stopped. 11:28:12 [11:28:12.526] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:15 [11:28:15.009] INFO: archiver:test Waiting for archiver to sync to block 2 11:28:15 [11:28:15.075] 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":"0x00fd4209bd6f176e8282d4183f0c06c4035cafd24f2fc81de52506a66b73d8ba","rollingHash":"0x70c63c38cb004286a1bb3e5b579dc765"},"messageCount":2} 11:28:15 [11:28:15.099] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x0b1432bcfa0ddc16ae4531251faf1a8a873ffb148dc3fa00befdb0ebff319271","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 11:28:15 [11:28:15.381] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2948fd7a841da9e3b1c0723ee696d5e08c3aa9016b3cefe1b506555dfa49e144","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750159692538,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:15 [11:28:15.382] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x12037f9861764419c00f007f18bab724aadab20e971bec1e42b33eb8441b0358","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750159692550,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:28:15 [11:28:15.386] INFO: archiver Stopped. 11:28:15 [11:28:15.402] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:18 [11:28:18.504] INFO: archiver:test Waiting for archiver to sync to block 2 11:28:19 [11:28:19.534] 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":"0x2a4bdb19a5089b57ca055e91b30269f83baaed92dd3c6c619d57a80c0c075198","rollingHash":"0x5cd8427696d09326bc94c3724bd1722b"},"messageCount":2} 11:28:19 [11:28:19.755] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x22ea357d7a5e0d5ca22eefd302a8ecea2731715b13e57f83f558b1d3db52f114","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750159695399,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:19 [11:28:19.756] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x28a71986c4259a8cc1dd7450a70a6273d764ff79d4033b22c991682aa6d42a8b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750159695411,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:28:19 [11:28:19.838] INFO: archiver Stopped. 11:28:19 [11:28:19.842] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:22 [11:28:22.935] INFO: archiver:test Waiting for archiver to sync to block 2 11:28:23 [11:28:23.001] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 11:28:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 11:28:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 11:28:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 11:28:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 11:28:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 11:28:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 11:28:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 11:28:24 [11:28:24.013] 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":"0x19b4a9c281c08cde68edab16fcd455bda1b3b4d42da7c30ed90f6754a44ef3f3","rollingHash":"0x9c5d4237f0f7dce2b15cf7d1fedd8f8b"},"messageCount":2} 11:28:24 [11:28:24.146] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x126836d740a44238209590e8d7fab491cfb15e9fdc5eb37a39b99d47cce34a1d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750159699854,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:24 [11:28:24.147] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x21b9c421011472aa596f57a5ff59acbc11e6bf62a34d6d9104076d768b423dea","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750159699866,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:28:24 [11:28:24.150] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 11:28:24 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 11:28:24 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 11:28:24 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 11:28:24 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 11:28:24 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 11:28:24 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 11:28:24 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 11:28:25 [11:28:25.272] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 11:28:25 [11:28:25.274] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 11:28:25 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 11:28:25 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 11:28:25 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 11:28:25 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 11:28:25 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 11:28:25 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 11:28:25 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 11:28:26 [11:28:26.244] INFO: archiver Stopped. 11:28:26 [11:28:26.247] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:26 [11:28:26.589] 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":"0x1a3918d885b951bb2df98b142e362eb4af290385356f7aecc9bf96e13cbd2bcd","rollingHash":"0x29761e89ecba7f59c61472bfdf2087f8"},"messageCount":6} 11:28:26 [11:28:26.590] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1a3918d885b951bb2df98b142e362eb4af290385356f7aecc9bf96e13cbd2bcd","rollingHash":"0x29761e89ecba7f59c61472bfdf2087f8"},"remoteMessagesState":{"messagesRollingHash":"0x5c982c0ed537d884cd33ad7d469b8305","totalMessagesInserted":5,"treeInProgress":0}} 11:28:26 [11:28:26.684] WARN: archiver:test Reorging L1 to L2 messages 11:28:27 [11:28:27.603] 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":"0x1a3918d885b951bb2df98b142e362eb4af290385356f7aecc9bf96e13cbd2bcd","rollingHash":"0x29761e89ecba7f59c61472bfdf2087f8"}} 11:28:27 [11:28:27.606] WARN: archiver Deleting all local L1 to L2 messages after index 33 11:28:27 [11:28:27.608] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 11:28:27 [11:28:27.620] 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":"0x13af81c608b3f08cd82291e387666ed16599551b997d9881e54488f6f11daf10","rollingHash":"0xcd3f31b48206fb285a4d9e4cf97f4d3f"},"messageCount":5} 11:28:27 [11:28:27.729] INFO: archiver Stopped. 11:28:27 [11:28:27.731] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:28 [11:28:28.343] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 11:28:29 [11:28:29.423] INFO: archiver:test Waiting for archiver to sync to block 1 11:28:29 [11:28:29.533] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0e60a6e6c26d7ca6472c5eab72ca95757c6b14443c17511de34434f6a43b651e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750159707742,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:29 [11:28:29.631] INFO: archiver Stopped. 11:28:29 [11:28:29.634] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:30 [11:28:30.053] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 11:28:31 [11:28:31.092] INFO: archiver:test Waiting for archiver to sync to block 1 11:28:31 [11:28:31.188] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1136dec8ec4793948f7ca16d98cb778a0d6161d5be14b9349aec7a28724de023","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750159709645,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:31 [11:28:31.194] INFO: archiver Stopped. 11:28:31 [11:28:31.196] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:31 [11:28:31.517] INFO: archiver:test Syncing archiver to L1 block 6 11:28:31 [11:28:31.518] 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":"0x7dd6b84cb476a7b230e129e0fab0641bc6063159b09edc2b5d0a2da11df8283d","l1BlockNumber":0}} 11:28:31 [11:28:31.545] 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}} 11:28:31 [11:28:31.548] INFO: archiver Stopped. 11:28:31 [11:28:31.550] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:31 [11:28:31.951] INFO: archiver:test Syncing archiver to L1 block 7 11:28:31 [11:28:31.963] 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":"0xfff69bb93781bfe9d80cce390e4a51faea87838fdd69a8b09116c5638133a275","l1BlockNumber":0}} 11:28:31 [11:28:31.986] 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}} 11:28:31 [11:28:31.988] INFO: archiver Stopped. 11:28:31 [11:28:31.991] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:32 [11:28:32.411] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 11:28:33 [11:28:33.718] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2b8ac6ce8f702cfd75c8ba07a2ff755f927303e37aecbd8f32bdf0679f0558ae","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750159712002,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:33 [11:28:33.724] INFO: archiver Stopped. 11:28:33 [11:28:33.726] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:34 [11:28:34.098] 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":"0x5d9fbd40acc30e2b1fc39203cb21c4db632d3ea51ef1fc5fa84ec4b8fa517aaf","l1BlockNumber":0}} 11:28:34 [11:28:34.115] INFO: archiver Stopped. 11:28:34 [11:28:34.118] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:28:38 [11:28:38.183] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x033faac61c5c3f203a8e2f94158edc2d2bdd902f04f8b30f48e4c49a419da169","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750159714129,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:28:38 [11:28:38.185] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x182a5c45d36f3e4134f35d8a7fe797dcd81d455e9dd5cd03f333ab9466c84ff4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750159714141,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:28:39 [11:28:39.337] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 11:28:40 [11:28:40.401] 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 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 11:28:40 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 11:28:40 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 11:28:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 11:28:40 newBlockNumber: 3, 11:28:40 previousBlockNumber: 1 11:28:40 } 11:28:40 [11:28:40.431] 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":"0x033faac61c5c3f203a8e2f94158edc2d2bdd902f04f8b30f48e4c49a419da169","newBlockNumber":3,"updatedL1SyncPoint":70} 11:28:40 [11:28:40.433] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 11:28:40 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 11:28:40 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 11:28:40 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 11:28:40 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 11:28:40 newBlockNumber: 3, 11:28:40 previousBlockNumber: 1 11:28:40 } 11:28:41 [11:28:41.705] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x182a5c45d36f3e4134f35d8a7fe797dcd81d455e9dd5cd03f333ab9466c84ff4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750159714141,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:28:41 [11:28:41.707] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2f1ba83349dc6b2f9a4f768582f0a0e464ab83b92b08c6cc8c30f089009dccba","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750159714153,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 11:28:41 [11:28:41.748] INFO: archiver Stopped. 11:28:41 PASS src/archiver/archiver.test.ts (36.959 s) 11:28:41 Archiver 11:28:41 syncs l1 to l2 messages and blocks (4658 ms) 11:28:41 ignores block 3 because it has been pruned (2861 ms) 11:28:41 skip event search if no changes found (4452 ms) 11:28:41 handles L2 reorg (6404 ms) 11:28:41 handles updated messages due to L1 reorg (1485 ms) 11:28:41 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1901 ms) 11:28:41 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1563 ms) 11:28:41 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (354 ms) 11:28:41 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (440 ms) 11:28:41 reports an epoch as complete due to timestamp only once all its blocks have been synced (1735 ms) 11:28:41 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (391 ms) 11:28:41 handles a block gap due to a spurious L2 prune (7633 ms) 11:28:41 skipped handles an upcoming L2 prune 11:28:41 11:28:41 Test Suites: 1 passed, 1 total 11:28:41 Tests: 1 skipped, 12 passed, 13 total 11:28:41 Snapshots: 0 total 11:28:41 Time: 37.06 s 11:28:41 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 11:28:41 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?