Parent Log: http://ci.aztec-labs.com/0ae946c59c7c6bf0 Command: d634b34c6dd762bb yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/9b801754ba98479ee645488c29d2fda1eecbfd85 Env: REF_NAME=gh-readonly-queue/next/pr-14963-ee3655e025191bc85c5b3d3122eeedb44e38ffb2 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 20:56:37 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14963_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 20:56:42 [20:56:42.454] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:56:45 [20:56:45.475] INFO: archiver:test Waiting for archiver to sync to block 3 20:56:45 [20:56:45.489] 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":"0x25bcfc0aa9649420eb990d1f4e0a9079c5bbfc631d2883b6254855c9f68decce","rollingHash":"0x0dfd6ca1a5da297ba6b785611ccf6937"},"messageCount":2} 20:56:45 [20:56:45.568] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x153b16c40bb112bca6081592fd99b522739b554dbcdea191e283b1d638a6774a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107402434,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:56:46 [20:56:46.588] 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":"0x150dfad6e9f6a8cfda5db98167b903ec1395774bd9294fab22f4f9c26277990b","rollingHash":"0xb71229e6a9449b52975a5244f19338d3"},"messageCount":4} 20:56:46 [20:56:46.615] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 20:56:46 [20:56:46.811] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1094bd760b8611dcfa3bd3fe2aeaab54676ebea23bcca49ee635320957547366","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107402446,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:56:46 [20:56:46.812] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2eba952bca1921b095600dc9253bab17b9e0fc3236a598e4678e5670810e0481","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107402458,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 20:56:47 [20:56:47.000] INFO: archiver Stopped. 20:56:47 [20:56:47.005] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:56:49 [20:56:49.722] INFO: archiver:test Waiting for archiver to sync to block 2 20:56:49 [20:56:49.735] 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":"0x23b79380d7829c5a73c43be2290e8dfcebe4787e34dc7662515a6445d5c2e25c","rollingHash":"0xa3540af6fe40be27cbd927fb85526610"},"messageCount":2} 20:56:49 [20:56:49.767] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1160e5c83d57d059be4cc63b3c00c120bb5e50160bfd6d02e242b9c0ac4c0c97","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 20:56:49 [20:56:49.886] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2e77ed9332c73e307b817c3efbcc811fb9470804602a3a2b9b72117abf1f9e29","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107407016,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:56:49 [20:56:49.887] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x052f5b1de8b2c3fc5bb8d62d6c27966fe9279e0042eeffe79e4db7fd520e21e4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107407028,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:56:49 [20:56:49.978] INFO: archiver Stopped. 20:56:49 [20:56:49.982] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:56:52 [20:56:52.541] INFO: archiver:test Waiting for archiver to sync to block 2 20:56:53 [20:56:53.577] 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":"0x07eb2ff2c42a2f903e48f5dd4c4c59369bc78da9bd5fd5a79e673679a3c4c1d6","rollingHash":"0xb083f31d1e8ab3adc42e1ebd25a2f904"},"messageCount":2} 20:56:53 [20:56:53.740] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2b8d6ede751d46d9e915197be13d073cbab31d5e56c0299192ff729dd51b30e1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107409993,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:56:53 [20:56:53.741] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2dc68d813e8bc8b1f31f4a15a2085b8cfd3832eb9d6481862b1269127e5ade4f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107410005,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:56:53 [20:56:53.829] INFO: archiver Stopped. 20:56:53 [20:56:53.833] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:56:56 [20:56:56.832] INFO: archiver:test Waiting for archiver to sync to block 2 20:56:56 [20:56:56.882] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 20:56:56 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 20:56:56 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 20:56:56 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 20:56:56 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 20:56:56 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 20:56:56 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 20:56:56 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 20:56:57 [20:56:57.891] 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":"0x13d8e7a0c153c4f84f0c4ea6999755fd45d50e5a0dd1b305e1b47b7529b7f55e","rollingHash":"0x6dc3f35252ec80957b97f94afad3b214"},"messageCount":2} 20:56:58 [20:56:58.026] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x12f5bb998422288fd788892d7457fadc99d155a6b006654c53c31cb60298ee2a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107413844,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:56:58 [20:56:58.027] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1bec7c4725330129ccc3b8f57103d87c74b04a022849756dcac23e218da2b8e1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107413856,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:56:58 [20:56:58.030] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 20:56:58 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 20:56:58 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 20:56:58 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 20:56:58 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 20:56:58 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 20:56:58 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 20:56:58 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 20:56:59 [20:56:59.172] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 20:56:59 [20:56:59.176] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 20:56:59 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 20:56:59 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 20:56:59 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 20:56:59 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 20:56:59 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 20:56:59 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 20:56:59 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 20:57:00 [20:57:00.125] INFO: archiver Stopped. 20:57:00 [20:57:00.129] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:00 [20:57:00.524] 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":"0x223f8d9f01ef82f6a23861fc6aa2c9758dcedfde81f927231454a1b581b7e9d2","rollingHash":"0x27dcefcbd8a6035396a322c70ca8fc0a"},"messageCount":6} 20:57:00 [20:57:00.524] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x223f8d9f01ef82f6a23861fc6aa2c9758dcedfde81f927231454a1b581b7e9d2","rollingHash":"0x27dcefcbd8a6035396a322c70ca8fc0a"},"remoteMessagesState":{"messagesRollingHash":"0xd4c824d2e254a1d4c4753f47d3e832df","totalMessagesInserted":5,"treeInProgress":0}} 20:57:00 [20:57:00.616] WARN: archiver:test Reorging L1 to L2 messages 20:57:01 [20:57:01.537] 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":"0x223f8d9f01ef82f6a23861fc6aa2c9758dcedfde81f927231454a1b581b7e9d2","rollingHash":"0x27dcefcbd8a6035396a322c70ca8fc0a"}} 20:57:01 [20:57:01.540] WARN: archiver Deleting all local L1 to L2 messages after index 33 20:57:01 [20:57:01.541] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 20:57:01 [20:57:01.556] 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":"0x1f055b598e1075b16a8ac5b70d466ec0209a562b33c3eb35bd69a19341d77962","rollingHash":"0x71e23bdddf7d468171d33d2216525719"},"messageCount":5} 20:57:01 [20:57:01.638] INFO: archiver Stopped. 20:57:01 [20:57:01.640] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:01 [20:57:01.914] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 20:57:02 [20:57:02.792] INFO: archiver:test Waiting for archiver to sync to block 1 20:57:02 [20:57:02.887] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x026fde4abd63f7d5fc104c0c0522b688254b4741e2f6bc724376475ffeb1a918","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107421651,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:57:02 [20:57:02.898] INFO: archiver Stopped. 20:57:02 [20:57:02.903] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:03 [20:57:03.365] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 20:57:04 [20:57:04.447] INFO: archiver:test Waiting for archiver to sync to block 1 20:57:04 [20:57:04.569] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2013e6948f5bf21793c4b1adc2e175b006bf0c36d874bfe0fce899e7225144b9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107422914,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:57:04 [20:57:04.662] INFO: archiver Stopped. 20:57:04 [20:57:04.668] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:05 [20:57:05.499] INFO: archiver:test Syncing archiver to L1 block 6 20:57:05 [20:57:05.502] 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":"0xd7fd9196803f2d50e5ac5e5aa4d69b99d7bb9912dfb157b95bedecc9229c98d6","l1BlockNumber":0}} 20:57:05 [20:57:05.537] 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}} 20:57:05 [20:57:05.540] INFO: archiver Stopped. 20:57:05 [20:57:05.544] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:05 [20:57:05.937] INFO: archiver:test Syncing archiver to L1 block 7 20:57:05 [20:57:05.939] 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":"0xc4c86d8081c9b46faa66d679e87a3998118d8d36dec00bb1a2f828f160d94377","l1BlockNumber":0}} 20:57:05 [20:57:05.960] 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}} 20:57:05 [20:57:05.963] INFO: archiver Stopped. 20:57:05 [20:57:05.966] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:06 [20:57:06.377] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 20:57:07 [20:57:07.521] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x211b74494ec70c574d21e050d0cd5678a69fe00d974c7957c48ea0cf50832837","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107425977,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:57:07 [20:57:07.532] INFO: archiver Stopped. 20:57:07 [20:57:07.537] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:07 [20:57:07.973] 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":"0x0e344346a3d046b0dd08618cdeacded7611519d5597cfc9f9c3579fe4bfb0916","l1BlockNumber":0}} 20:57:07 [20:57:07.991] INFO: archiver Stopped. 20:57:07 [20:57:07.994] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 20:57:11 [20:57:11.940] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1d2c91ed26dfbc74feef850752984053880e87ccbe6731ec30bf722b7d770849","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750107428005,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 20:57:11 [20:57:11.942] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x06e57edb7c27e527b23b99120d2f6bfcbc2637cc85fc4ee4564247650ddbefbf","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107428017,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:57:13 [20:57:13.109] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 20:57:14 [20:57:14.256] 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 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 20:57:14 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 20:57:14 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 20:57:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 20:57:14 newBlockNumber: 3, 20:57:14 previousBlockNumber: 1 20:57:14 } 20:57:14 [20:57:14.293] 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":"0x1d2c91ed26dfbc74feef850752984053880e87ccbe6731ec30bf722b7d770849","newBlockNumber":3,"updatedL1SyncPoint":70} 20:57:14 [20:57:14.295] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 20:57:14 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 20:57:14 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 20:57:14 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 20:57:14 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 20:57:14 newBlockNumber: 3, 20:57:14 previousBlockNumber: 1 20:57:14 } 20:57:15 [20:57:15.611] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x06e57edb7c27e527b23b99120d2f6bfcbc2637cc85fc4ee4564247650ddbefbf","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750107428017,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 20:57:15 [20:57:15.612] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x28577cef0cd3549c9eb8c332614a48f57badf56e5c79a2264f1203cf1325062a","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750107428029,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 20:57:15 [20:57:15.699] INFO: archiver Stopped. 20:57:15 PASS src/archiver/archiver.test.ts (36.759 s) 20:57:15 Archiver 20:57:15 syncs l1 to l2 messages and blocks (4583 ms) 20:57:15 ignores block 3 because it has been pruned (2976 ms) 20:57:15 skip event search if no changes found (3850 ms) 20:57:15 handles L2 reorg (6294 ms) 20:57:15 handles updated messages due to L1 reorg (1513 ms) 20:57:15 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1261 ms) 20:57:15 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1762 ms) 20:57:15 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (877 ms) 20:57:15 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (423 ms) 20:57:15 reports an epoch as complete due to timestamp only once all its blocks have been synced (1568 ms) 20:57:15 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (458 ms) 20:57:15 handles a block gap due to a spurious L2 prune (7707 ms) 20:57:15 skipped handles an upcoming L2 prune 20:57:15 20:57:15 Test Suites: 1 passed, 1 total 20:57:15 Tests: 1 skipped, 12 passed, 13 total 20:57:15 Snapshots: 0 total 20:57:15 Time: 36.883 s 20:57:15 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 20:57:15 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?