Parent Log: http://ci.aztec-labs.com/ee44175121670d05 Command: 5484f2347094f66b yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/5ca43853c40a2b8bfbc2148d5fdd46c6f82a74eb Env: REF_NAME=gh-readonly-queue/next/pr-14178-3cbe7945c84145b8646cf5cf8fb730b915c0dc93 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 13:32:00 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-14178_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 13:32:05 [13:32:05.099] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:07 [13:32:07.941] INFO: archiver:test Waiting for archiver to sync to block 3 13:32:07 [13:32:07.954] 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":"0x0c14dd303a671262b703fdf8404a2902bd5ed0a1e5b94e70174061d83f8875c8","rollingHash":"0xf486ac83362b8297b2615504641f80ac"},"messageCount":2} 13:32:08 [13:32:08.058] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x140d04b386eae422361b83b3557e60c0681ebbd8e09c4abef65e2948e0ea71ff","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750080725090,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:09 [13:32:09.080] 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":"0x18e67e1cbb06ba9b04097feb30b9a0420cf1fc4db5b79c9467381cfcc14cd2a9","rollingHash":"0x687885383bf2156fe3c5e023eb039023"},"messageCount":4} 13:32:09 [13:32:09.115] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 13:32:09 [13:32:09.296] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0bcdb5198b25feb3eaf59291687c8fec8e830cf3664357c17add08e1c2d059f5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750080725102,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:32:09 [13:32:09.298] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x17d41c76f295a215d6e211dfc685932a9f1377741b3db6c68b574bbb0ba90212","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750080725114,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 13:32:09 [13:32:09.492] INFO: archiver Stopped. 13:32:09 [13:32:09.497] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:12 [13:32:12.031] INFO: archiver:test Waiting for archiver to sync to block 2 13:32:12 [13:32:12.084] 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":"0x13f0a786fe26581598569d77d34269a0782333a6320558db4e9e5f4d9627251a","rollingHash":"0x3dc23b6b53494eb993c9504242c5f557"},"messageCount":2} 13:32:12 [13:32:12.107] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1c5bd701c0003836f3c92f6467e32a0f17cd0048856483a25fad7907152a8e3a","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 13:32:12 [13:32:12.252] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x12533b4260ef06e93529911736ac5ae5f558b4f76ebdf1c55eb9fe8cd09be4a6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750080729508,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:12 [13:32:12.253] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0d0bdd2a8890b04e928a8c08137ecf74eb89c71a6350c0e52ec4061447030431","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750080729520,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:32:12 [13:32:12.296] INFO: archiver Stopped. 13:32:12 [13:32:12.299] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:15 [13:32:15.096] INFO: archiver:test Waiting for archiver to sync to block 2 13:32:16 [13:32:16.192] 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":"0x06bb8ae95c861f36b83e9b52cd164100000974b8887d349971afd67fa092b69c","rollingHash":"0xed872b86d363bc0f7a009bfcf0a2d39c"},"messageCount":2} 13:32:16 [13:32:16.347] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x031bcaf742a0cf452b4ac4c6110baf08e0fdb0e4332946c510c0a4a30fa49c99","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750080732310,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:16 [13:32:16.348] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x128396d19b6da7dfc27171b9cde25624ef56feae374da4e2f4e49650b89f8483","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750080732322,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:32:16 [13:32:16.376] INFO: archiver Stopped. 13:32:16 [13:32:16.378] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:19 [13:32:19.376] INFO: archiver:test Waiting for archiver to sync to block 2 13:32:19 [13:32:19.425] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 13:32:19 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:32:19 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:32:19 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 13:32:19 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 13:32:19 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 13:32:19 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:32:19 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:32:20 [13:32:20.437] 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":"0x2474a1b37bed9aecc7ae3a37999effe19a282086a40f5ac02f54d267a00932d5","rollingHash":"0x0694ba848477ecca0ce3fa86c1aeb1ba"},"messageCount":2} 13:32:20 [13:32:20.578] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x15d19d0cb4fec03a01e699c237de1b67271cc4a8eacd96b5f24bc1b6b1c997e0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750080736389,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:20 [13:32:20.579] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2d0aae11a22925aadaac409c7d070310a51beced45c04ed419b442989233a8d5","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750080736401,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:32:20 [13:32:20.582] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 13:32:20 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:32:20 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:32:20 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 13:32:20 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 13:32:20 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 13:32:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:32:20 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:32:21 [13:32:21.724] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 13:32:21 [13:32:21.726] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 13:32:21 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 13:32:21 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 13:32:21 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 13:32:21 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 13:32:21 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 13:32:21 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 13:32:21 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 13:32:22 [13:32:22.669] INFO: archiver Stopped. 13:32:22 [13:32:22.671] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:23 [13:32:23.070] 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":"0x2daf2db9fddec625b273f918a4bf12dcf185e58e87b8ab43b6b17497db0693e8","rollingHash":"0x89f44be25353c7e5a2f2f0aac858eb9f"},"messageCount":6} 13:32:23 [13:32:23.071] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2daf2db9fddec625b273f918a4bf12dcf185e58e87b8ab43b6b17497db0693e8","rollingHash":"0x89f44be25353c7e5a2f2f0aac858eb9f"},"remoteMessagesState":{"messagesRollingHash":"0x196aaecde96fdfb80effc89247a44681","totalMessagesInserted":5,"treeInProgress":0}} 13:32:23 [13:32:23.164] WARN: archiver:test Reorging L1 to L2 messages 13:32:24 [13:32:24.082] 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":"0x2daf2db9fddec625b273f918a4bf12dcf185e58e87b8ab43b6b17497db0693e8","rollingHash":"0x89f44be25353c7e5a2f2f0aac858eb9f"}} 13:32:24 [13:32:24.084] WARN: archiver Deleting all local L1 to L2 messages after index 33 13:32:24 [13:32:24.086] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 13:32:24 [13:32:24.104] 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":"0x2ff588c7b8edac1c3941272d7f862ba5d1a064fae778a9c2e34458ea4daa6b94","rollingHash":"0x2c678be891f3356b19f661834d26e871"},"messageCount":5} 13:32:24 [13:32:24.198] INFO: archiver Stopped. 13:32:24 [13:32:24.200] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:24 [13:32:24.598] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 13:32:25 [13:32:25.565] INFO: archiver:test Waiting for archiver to sync to block 1 13:32:25 [13:32:25.678] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1f397d3d1c5d75f2d2e23945bdba063a39ab17c0798119ad03b285ba3285c131","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750080744212,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:25 [13:32:25.772] INFO: archiver Stopped. 13:32:25 [13:32:25.777] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:26 [13:32:26.303] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 13:32:27 [13:32:27.482] INFO: archiver:test Waiting for archiver to sync to block 1 13:32:27 [13:32:27.570] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x16caaa2534df5a64e69055529baa0f7c71b1e80cf8b7a33e5d6b3e44ac1acf56","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750080745786,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:27 [13:32:27.587] INFO: archiver Stopped. 13:32:27 [13:32:27.591] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:28 [13:32:28.058] INFO: archiver:test Syncing archiver to L1 block 6 13:32:28 [13:32:28.060] 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":"0xd099c0fe06545dc863f269b0acad52378b1f9a42e9022d2c12330040eabd9d31","l1BlockNumber":0}} 13:32:28 [13:32:28.086] 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}} 13:32:28 [13:32:28.089] INFO: archiver Stopped. 13:32:28 [13:32:28.094] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:28 [13:32:28.638] INFO: archiver:test Syncing archiver to L1 block 7 13:32:28 [13:32:28.679] 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":"0x573a6df3d54fd95bc6c725d9401c93d94776185b42b4b313fd8ea64653c683c8","l1BlockNumber":0}} 13:32:28 [13:32:28.715] 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}} 13:32:28 [13:32:28.720] INFO: archiver Stopped. 13:32:28 [13:32:28.723] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:29 [13:32:29.236] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 13:32:30 [13:32:30.620] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2a73f9ea6feb562f4b2a3504a411979fcf6cee05ed2e4704bae61ef8e0a9b7fe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750080748734,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:30 [13:32:30.627] INFO: archiver Stopped. 13:32:30 [13:32:30.632] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:31 [13:32:31.016] 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":"0xfa6b301d5e0f1eeef15eee15a91e3a8fbaa4edc1ba2e7ffc80c79b888eafd3be","l1BlockNumber":0}} 13:32:31 [13:32:31.032] INFO: archiver Stopped. 13:32:31 [13:32:31.034] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 13:32:34 [13:32:34.865] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x046d0c481f1106488eca3d391e942f75a4183097a3d1aba7d563b7b083ccb17f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750080751045,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 13:32:34 [13:32:34.865] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x17122077eeb4959e375b477f66111e5d3e2df3f6b3d90ec6b696c7ae0f546400","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750080751057,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:32:36 [13:32:36.082] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 13:32:37 [13:32:37.155] 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 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 13:32:37 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 13:32:37 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 13:32:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 13:32:37 newBlockNumber: 3, 13:32:37 previousBlockNumber: 1 13:32:37 } 13:32:37 [13:32:37.184] 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":"0x046d0c481f1106488eca3d391e942f75a4183097a3d1aba7d563b7b083ccb17f","newBlockNumber":3,"updatedL1SyncPoint":70} 13:32:37 [13:32:37.186] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 13:32:37 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 13:32:37 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 13:32:37 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 13:32:37 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 13:32:37 newBlockNumber: 3, 13:32:37 previousBlockNumber: 1 13:32:37 } 13:32:38 [13:32:38.372] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x17122077eeb4959e375b477f66111e5d3e2df3f6b3d90ec6b696c7ae0f546400","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750080751057,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 13:32:38 [13:32:38.373] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x144d9c855cc033b52351d1882befe5270cfa4a16c4e67d438f1054318a879caa","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750080751069,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 13:32:38 [13:32:38.493] INFO: archiver Stopped. 13:32:38 PASS src/archiver/archiver.test.ts (36.994 s) 13:32:38 Archiver 13:32:38 syncs l1 to l2 messages and blocks (4416 ms) 13:32:38 ignores block 3 because it has been pruned (2801 ms) 13:32:38 skip event search if no changes found (4078 ms) 13:32:38 handles L2 reorg (6293 ms) 13:32:38 handles updated messages due to L1 reorg (1529 ms) 13:32:38 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1574 ms) 13:32:38 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1814 ms) 13:32:38 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (502 ms) 13:32:38 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (630 ms) 13:32:38 reports an epoch as complete due to timestamp only once all its blocks have been synced (1906 ms) 13:32:38 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (403 ms) 13:32:38 handles a block gap due to a spurious L2 prune (7460 ms) 13:32:38 skipped handles an upcoming L2 prune 13:32:38 13:32:38 Test Suites: 1 passed, 1 total 13:32:38 Tests: 1 skipped, 12 passed, 13 total 13:32:38 Snapshots: 0 total 13:32:38 Time: 37.105 s 13:32:38 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 13:32:38 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?