Parent Log: http://ci.aztec-labs.com/2eb51e87340ddb13 Command: 024e96465ffd3e9a yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/a0a8617413ca6f4fba2ad190ce73dab59bd75a45 Env: REF_NAME=gh-readonly-queue/next/pr-15101-056e5230c330d6ad19900135ecf2a4787181496a CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Tue Jun 17 14:06:41 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15101_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 14:06:45 [14:06:45.501] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:06:48 [14:06:48.197] INFO: archiver:test Waiting for archiver to sync to block 3 14:06:48 [14:06:48.263] 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":"0x185e9649ea5f6020577054b8dab92e55da929af14046fcbb8f147f5d369fbeca","rollingHash":"0x42d40c4c82481cc25cf40d01f8eca8f6"},"messageCount":2} 14:06:48 [14:06:48.438] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x09eba411c73dd3750931f4f24c094461445317af306ee19e4e2a68415df931d4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169205495,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:06:49 [14:06:49.471] 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":"0x28f043f1c0c871dcd4a6d7c030697b5fc81a08d8e39619969408a2debf99666b","rollingHash":"0x3c90c7b5db437639312f2103dfa84a6d"},"messageCount":4} 14:06:49 [14:06:49.505] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 14:06:49 [14:06:49.682] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x16771ea542cd6b8bab95f370af44c3eee2016be20a5de9285660515dbfae4919","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169205507,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 14:06:49 [14:06:49.683] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x13559902ab3d060091b1c7b45596f5e3d1a3edd5cc5dafd3a091266c3e3d610f","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169205519,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 14:06:49 [14:06:49.940] INFO: archiver Stopped. 14:06:49 [14:06:49.947] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:06:52 [14:06:52.455] INFO: archiver:test Waiting for archiver to sync to block 2 14:06:52 [14:06:52.466] 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":"0x0390251035218354389a6177f6354d2467e3b0d13deadcf98dce772c990da52a","rollingHash":"0xae4773c7978f20097438e99f9b298fd5"},"messageCount":2} 14:06:52 [14:06:52.488] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1732ada41802af21d87d371252c709a1ad58e0d13eb51119b7cc8d63e4372fcd","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 14:06:52 [14:06:52.584] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x248d23c93618369193a957d39c88ded7404c260c627144ff948e85447879e394","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169209957,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:06:52 [14:06:52.586] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0b1114be757851633b488bd88c807864c0fb6acf5393c0e94c9d9865071db133","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169209969,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 14:06:52 [14:06:52.677] INFO: archiver Stopped. 14:06:52 [14:06:52.679] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:06:55 [14:06:55.685] INFO: archiver:test Waiting for archiver to sync to block 2 14:06:56 [14:06:56.721] 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":"0x29302d425d1b226560cb64d6870cba3d8da81914a18145540ceaefec19bc7b11","rollingHash":"0x9f09a89fa4981d9cb0f027aac012a1fc"},"messageCount":2} 14:06:56 [14:06:56.867] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x16df8d509cbead7be01c5aa368f598ab06ed972e721f17567939287816c0fbf4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169212690,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:06:56 [14:06:56.868] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1dc312602ebfb81459b6f07c4aaf74906c053c771fb50c96f944cc60a43babb3","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169212702,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 14:06:56 [14:06:56.951] INFO: archiver Stopped. 14:06:56 [14:06:56.954] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:06:59 [14:06:59.922] INFO: archiver:test Waiting for archiver to sync to block 2 14:06:59 [14:06:59.984] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 14:06:59 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 14:06:59 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 14:06:59 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 14:06:59 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 14:06:59 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 14:06:59 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 14:06:59 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 14:07:01 [14:07:01.014] 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":"0x20d11e80bfcc95ebed2827219c9fcaf80e507791d9be5b0316085328afc63864","rollingHash":"0x2cb0b6de1ed0d391f01ce918bdc3e304"},"messageCount":2} 14:07:01 [14:07:01.183] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1d8f789f9f2b86061501a0c3d5192b42e6677824886fad4acf2185a87329aa11","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169216965,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:07:01 [14:07:01.184] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x085f08e0627e825d72a7f0060ea8ae2a57407e9146d634cc9f66c0a6f2e5d449","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169216977,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 14:07:01 [14:07:01.186] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 14:07:01 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 14:07:01 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 14:07:01 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 14:07:01 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 14:07:01 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 14:07:01 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 14:07:01 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 14:07:02 [14:07:02.291] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 14:07:02 [14:07:02.294] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 14:07:02 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 14:07:02 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 14:07:02 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 14:07:02 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 14:07:02 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 14:07:02 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 14:07:02 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 14:07:03 [14:07:03.236] INFO: archiver Stopped. 14:07:03 [14:07:03.241] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:03 [14:07:03.643] 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":"0x2f5afd3fa36866d371a9791c97e0ac746bcc1b06628ae76ba5a26dd403938590","rollingHash":"0xa86b60ff4b764e7275893484411f334d"},"messageCount":6} 14:07:03 [14:07:03.644] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2f5afd3fa36866d371a9791c97e0ac746bcc1b06628ae76ba5a26dd403938590","rollingHash":"0xa86b60ff4b764e7275893484411f334d"},"remoteMessagesState":{"messagesRollingHash":"0xbcdc6bbeed4e9ddbb074d34b344ff3c7","totalMessagesInserted":5,"treeInProgress":0}} 14:07:03 [14:07:03.738] WARN: archiver:test Reorging L1 to L2 messages 14:07:04 [14:07:04.655] 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":"0x2f5afd3fa36866d371a9791c97e0ac746bcc1b06628ae76ba5a26dd403938590","rollingHash":"0xa86b60ff4b764e7275893484411f334d"}} 14:07:04 [14:07:04.658] WARN: archiver Deleting all local L1 to L2 messages after index 33 14:07:04 [14:07:04.661] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 14:07:04 [14:07:04.679] 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":"0x2e8c8aebecc74105f9c05ff729133b27c2d64368a0625d3999b99c8e704ee13a","rollingHash":"0xa2d9c83e70e57ddc11cc1b98c1900fbf"},"messageCount":5} 14:07:04 [14:07:04.783] INFO: archiver Stopped. 14:07:04 [14:07:04.785] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:05 [14:07:05.318] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 14:07:06 [14:07:06.737] INFO: archiver:test Waiting for archiver to sync to block 1 14:07:06 [14:07:06.844] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0ceee73883d2794fa1460d5bb2ef95da0075783fb03cf7b0a8bea6253cbd8268","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169224796,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:07:06 [14:07:06.948] INFO: archiver Stopped. 14:07:06 [14:07:06.951] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:07 [14:07:07.333] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 14:07:08 [14:07:08.342] INFO: archiver:test Waiting for archiver to sync to block 1 14:07:08 [14:07:08.488] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1936ffc695b97ef80cc22cadf5907826ce3a5b1ef54e3efc7c865ff7a4c98480","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169226962,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:07:08 [14:07:08.595] INFO: archiver Stopped. 14:07:08 [14:07:08.605] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:09 [14:07:09.287] INFO: archiver:test Syncing archiver to L1 block 6 14:07:09 [14:07:09.289] 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":"0xc71b1da73eb90cb13f10c5fa16a68b1ed83be87e300bc8ce87e7be360ec12d64","l1BlockNumber":0}} 14:07:09 [14:07:09.334] 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}} 14:07:09 [14:07:09.338] INFO: archiver Stopped. 14:07:09 [14:07:09.340] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:09 [14:07:09.748] INFO: archiver:test Syncing archiver to L1 block 7 14:07:09 [14:07:09.750] 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":"0x375eb7084b26a4f8bbf77aecea1896946e77b9ea947b975b1c3d8f05d4f404e1","l1BlockNumber":0}} 14:07:09 [14:07:09.768] 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}} 14:07:09 [14:07:09.771] INFO: archiver Stopped. 14:07:09 [14:07:09.773] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:10 [14:07:10.101] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 14:07:11 [14:07:11.233] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0abec16bcbc51c57de6e671454ee765ef1e5101309197d9ea13d98cbad00ad77","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169229784,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:07:11 [14:07:11.238] INFO: archiver Stopped. 14:07:11 [14:07:11.240] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:11 [14:07:11.645] 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":"0x0ade0f1ba7a94aef7bab658e5229ee2d7453a3dd55418338ee17bfc383de6ad9","l1BlockNumber":0}} 14:07:11 [14:07:11.670] INFO: archiver Stopped. 14:07:11 [14:07:11.672] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 14:07:15 [14:07:15.511] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x17ac97f564caef604636b0d8a076861180f7de6c2f330f6289779cc5aeabbc2d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750169231684,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 14:07:15 [14:07:15.511] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x136dbb5a6ab90a010157097fc2184926af4539a073a962f821c40d99c53883cb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169231696,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 14:07:16 [14:07:16.674] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 14:07:17 [14:07:17.780] 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 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 14:07:17 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 14:07:17 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:07:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:07:17 newBlockNumber: 3, 14:07:17 previousBlockNumber: 1 14:07:17 } 14:07:17 [14:07:17.821] 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":"0x17ac97f564caef604636b0d8a076861180f7de6c2f330f6289779cc5aeabbc2d","newBlockNumber":3,"updatedL1SyncPoint":70} 14:07:17 [14:07:17.822] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 14:07:17 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 14:07:17 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 14:07:17 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 14:07:17 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 14:07:17 newBlockNumber: 3, 14:07:17 previousBlockNumber: 1 14:07:17 } 14:07:19 [14:07:19.022] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x136dbb5a6ab90a010157097fc2184926af4539a073a962f821c40d99c53883cb","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750169231696,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 14:07:19 [14:07:19.023] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x04c998e61c4a684e040387c86c0040de81364eb927a5c77945440feefb75b9cb","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750169231708,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 14:07:19 [14:07:19.110] INFO: archiver Stopped. 14:07:19 PASS src/archiver/archiver.test.ts (36.439 s) 14:07:19 Archiver 14:07:19 syncs l1 to l2 messages and blocks (4461 ms) 14:07:19 ignores block 3 because it has been pruned (2733 ms) 14:07:19 skip event search if no changes found (4274 ms) 14:07:19 handles L2 reorg (6283 ms) 14:07:19 handles updated messages due to L1 reorg (1547 ms) 14:07:19 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2165 ms) 14:07:19 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1646 ms) 14:07:19 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (734 ms) 14:07:19 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (432 ms) 14:07:19 reports an epoch as complete due to timestamp only once all its blocks have been synced (1466 ms) 14:07:19 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (432 ms) 14:07:19 handles a block gap due to a spurious L2 prune (7439 ms) 14:07:19 skipped handles an upcoming L2 prune 14:07:19 14:07:19 Test Suites: 1 passed, 1 total 14:07:19 Tests: 1 skipped, 12 passed, 13 total 14:07:19 Snapshots: 0 total 14:07:19 Time: 36.534 s 14:07:19 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 14:07:19 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?