Parent Log: http://ci.aztec-labs.com/d5d17dd399bede03 Command: fab700985fdda05e yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9164f0ea2d1bd891bbde066fe27f2239188ddec9 Env: REF_NAME=gh-readonly-queue/next/pr-15169-301dce04331dcfb583b7508b91491de618d4acf4 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 23 11:25:34 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15169_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 11:25:37 [11:25:37.779] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:25:40 [11:25:40.905] INFO: archiver:test Waiting for archiver to sync to block 3 11:25:40 [11:25:40.921] 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":"0x1499f312cfd7d04ebf335171bbdfe984c0b4a9eb31d6d73d99dd9a2ce3ebfe8a","rollingHash":"0xc9da85aa0c5e283df11240d1ac43b479"},"messageCount":2} 11:25:41 [11:25:41.000] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x14cf8dcc244baff27c3cf78a75a8b06de74c3bd848490a95aba2e437dd1daa53","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750677937767,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:25:42 [11:25:42.020] 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":"0x0daf2ed67cc6e1f577e4e967cbfb72b66ec4d2468285e66942f2f4b0ab362f9f","rollingHash":"0x0fc738a9db666a19c5526a7c014fdfff"},"messageCount":4} 11:25:42 [11:25:42.057] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 11:25:42 [11:25:42.209] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2f2be70c7f4f86658c54c34db4d635ee22d231a5700107e1ac9e315ebf4880ac","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750677937779,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:25:42 [11:25:42.210] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1f2a8474994ebe0f8ab98583c769a1b415abb7ce13518dd4cf02e11d173f574b","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750677937791,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 11:25:42 [11:25:42.420] INFO: archiver Stopped. 11:25:42 [11:25:42.425] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:25:44 [11:25:44.848] INFO: archiver:test Waiting for archiver to sync to block 2 11:25:44 [11:25:44.857] 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":"0x195eb1b03fd001f03c877fdacf42645f9fffb93eeb260e553a011daf6fb1da7e","rollingHash":"0x2912c6a55348001392db5cdf1c86d273"},"messageCount":2} 11:25:44 [11:25:44.876] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x181fc730acde376ed97d44475ee9efeac43bd04eabe2b4c6c46110e443724e3a","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 11:25:44 [11:25:44.997] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x18b5964d69332b794d680ed335e26c36b32c181f1db9ec91f08f5686b363ec56","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750677942436,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:25:44 [11:25:44.999] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x007d9c9f5a27c2aba361c8c2d49106233e120e3bccebf46c3bf8a00d393d48d2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750677942448,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:25:45 [11:25:45.084] INFO: archiver Stopped. 11:25:45 [11:25:45.087] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:25:47 [11:25:47.591] INFO: archiver:test Waiting for archiver to sync to block 2 11:25:48 [11:25:48.611] 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":"0x2064eab76460fcee6fc19cd9e82166f7e932f6a7020f0b6811e0a037900191dc","rollingHash":"0x512513f51a9c73a00b067da65cf00367"},"messageCount":2} 11:25:48 [11:25:48.734] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2385e678d51ba313467f0e600144931c6a916a58803c2b0fb4f711c28dabd003","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750677945098,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:25:48 [11:25:48.735] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x077fbd9491812b582988eda7d34113709921e69d71be6fdb2b074178102a543a","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750677945110,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:25:48 [11:25:48.821] INFO: archiver Stopped. 11:25:48 [11:25:48.824] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:25:51 [11:25:51.326] INFO: archiver:test Waiting for archiver to sync to block 2 11:25:51 [11:25:51.370] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 11:25:51 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 11:25:51 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 11:25:51 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 11:25:51 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 11:25:51 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 11:25:51 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 11:25:51 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 11:25:52 [11:25:52.380] 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":"0x2df08987842c99d1ed5cdbdff6f7b01b5ae287f594d294a4d88580b4b41b200c","rollingHash":"0xb808fc885a56caab068240da3c8eb181"},"messageCount":2} 11:25:52 [11:25:52.551] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x246d8d34be0f4d149cc975583f5c11fc4ed4f2f35e4fb7d1ec29f470058b2d8b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750677948835,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:25:52 [11:25:52.552] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x20d64b20a08b49ccfa83216d9b3503e8cc218e6535ab9ad0606fefbb3d836447","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750677948847,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:25:52 [11:25:52.555] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 11:25:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 11:25:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 11:25:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 11:25:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 11:25:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 11:25:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 11:25:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 11:25:53 [11:25:53.702] 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:25:53 [11:25:53.705] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 11:25:53 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 11:25:53 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 11:25:53 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 11:25:53 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 11:25:53 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 11:25:53 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 11:25:53 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 11:25:54 [11:25:54.650] INFO: archiver Stopped. 11:25:54 [11:25:54.654] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:25:55 [11:25:55.056] 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":"0x2d648e9395f3d5d9dfd74fae72ff856b5e428ca64f0c583ea3e9eab38d50d926","rollingHash":"0x7832b0c1bdef1418101cc3a18a232edc"},"messageCount":6} 11:25:55 [11:25:55.057] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2d648e9395f3d5d9dfd74fae72ff856b5e428ca64f0c583ea3e9eab38d50d926","rollingHash":"0x7832b0c1bdef1418101cc3a18a232edc"},"remoteMessagesState":{"messagesRollingHash":"0x015a1d2a5ba7f454e044d23f121377e8","totalMessagesInserted":5,"treeInProgress":0}} 11:25:55 [11:25:55.149] WARN: archiver:test Reorging L1 to L2 messages 11:25:56 [11:25:56.073] 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":"0x2d648e9395f3d5d9dfd74fae72ff856b5e428ca64f0c583ea3e9eab38d50d926","rollingHash":"0x7832b0c1bdef1418101cc3a18a232edc"}} 11:25:56 [11:25:56.090] WARN: archiver Deleting all local L1 to L2 messages after index 33 11:25:56 [11:25:56.093] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 11:25:56 [11:25:56.124] 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":"0x2577a3ed4d0e1e6c70a164c3c5dee2d780431de03055bb12a4c038309633f612","rollingHash":"0x3371e3c192b6aeb4e0945f90732bc59b"},"messageCount":5} 11:25:56 [11:25:56.208] INFO: archiver Stopped. 11:25:56 [11:25:56.215] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:25:56 [11:25:56.635] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 11:25:57 [11:25:57.524] INFO: archiver:test Waiting for archiver to sync to block 1 11:25:57 [11:25:57.658] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x13dc409125f5d10d0a7b27b823cc92fa3e9252cc537008e3e2cb5aafe6b2c3e5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750677956221,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:25:57 [11:25:57.755] INFO: archiver Stopped. 11:25:57 [11:25:57.765] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:25:58 [11:25:58.397] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 11:25:59 [11:25:59.767] INFO: archiver:test Waiting for archiver to sync to block 1 11:25:59 [11:25:59.848] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x01a9ab0827b0afe0cd4cd32ec39b36fbdc323364da97ac3f6d5117c66b759f45","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750677957773,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:25:59 [11:25:59.875] INFO: archiver Stopped. 11:25:59 [11:25:59.878] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:26:00 [11:26:00.298] INFO: archiver:test Syncing archiver to L1 block 6 11:26:00 [11:26:00.299] 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":"0x6e11447c36eaf99ece057a2cf8f5d070529e3578a20a108efb73f20fd829fc90","l1BlockNumber":0}} 11:26:00 [11:26:00.311] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 11:26:00 [11:26:00.328] INFO: archiver Stopped. 11:26:00 [11:26:00.332] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:26:00 [11:26:00.701] INFO: archiver:test Syncing archiver to L1 block 7 11:26:00 [11:26:00.703] 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":"0x325863eb89abe2cdda9f5106bae3925c91c65ba15274931c78b82f0aa36be072","l1BlockNumber":0}} 11:26:00 [11:26:00.715] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 11:26:00 [11:26:00.720] INFO: archiver Stopped. 11:26:00 [11:26:00.723] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:26:01 [11:26:01.143] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 11:26:02 [11:26:02.781] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x054914ada990ce21bfb6c989e4714d28983946b14f83d01492c5b9379832b594","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750677960733,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:26:02 [11:26:02.785] INFO: archiver Stopped. 11:26:02 [11:26:02.787] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:26:03 [11:26:03.157] 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":"0xea783603ff02bdd696e77e7f8ab319a761496b8265bac38714b7fb0cb33a4746","l1BlockNumber":0}} 11:26:03 [11:26:03.171] INFO: archiver Stopped. 11:26:03 [11:26:03.177] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 11:26:06 [11:26:06.957] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1f6ba9e56635aef8468f5d15adc5919d557bfdb9a7168e6c2078afe32a5ae68a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750677963184,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 11:26:06 [11:26:06.959] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0c6f423cf46bf51c7e7f8ba9162b7f280e62228165ef8170d0809f1e694847a7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750677963196,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:26:08 [11:26:08.130] 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:26:09 [11:26:09.263] 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:26:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 11:26:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 11:26:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 11:26:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 11:26:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 11:26:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 11:26:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 11:26:09 newBlockNumber: 3, 11:26:09 previousBlockNumber: 1 11:26:09 } 11:26:09 [11:26:09.312] 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":"0x1f6ba9e56635aef8468f5d15adc5919d557bfdb9a7168e6c2078afe32a5ae68a","newBlockNumber":3,"updatedL1SyncPoint":70} 11:26:09 [11:26:09.313] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 11:26:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 11:26:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 11:26:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 11:26:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7 11:26:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 11:26:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 11:26:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 11:26:09 newBlockNumber: 3, 11:26:09 previousBlockNumber: 1 11:26:09 } 11:26:10 [11:26:10.587] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0c6f423cf46bf51c7e7f8ba9162b7f280e62228165ef8170d0809f1e694847a7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750677963196,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 11:26:10 [11:26:10.588] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2721fbda22936083bb87e0bce0e45f64a467fa4a7ffcadd7270938966c8d97e0","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750677963208,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 11:26:10 [11:26:10.681] INFO: archiver Stopped. 11:26:10 PASS src/archiver/archiver.test.ts (35.727 s) 11:26:10 Archiver 11:26:10 syncs l1 to l2 messages and blocks (4669 ms) 11:26:10 ignores block 3 because it has been pruned (2662 ms) 11:26:10 skip event search if no changes found (3736 ms) 11:26:10 handles L2 reorg (5828 ms) 11:26:10 handles updated messages due to L1 reorg (1556 ms) 11:26:10 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1547 ms) 11:26:10 reports an epoch as complete if the current L2 block is in the last slot of the epoch (2119 ms) 11:26:10 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (453 ms) 11:26:10 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (390 ms) 11:26:10 reports an epoch as complete due to timestamp only once all its blocks have been synced (2064 ms) 11:26:10 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (386 ms) 11:26:10 handles a block gap due to a spurious L2 prune (7514 ms) 11:26:10 skipped handles an upcoming L2 prune 11:26:10 11:26:10 Test Suites: 1 passed, 1 total 11:26:10 Tests: 1 skipped, 12 passed, 13 total 11:26:10 Snapshots: 0 total 11:26:10 Time: 35.811 s 11:26:10 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 11:26:10 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?