Parent Log: http://ci.aztec-labs.com/11ec82c6eec08093 Command: d2b17a71056754a7 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/b70544b6d50e3ecb6598361f1990bd51745c7b55 Env: REF_NAME=gh-readonly-queue/next/pr-15046-96a426245731b3f48fcb6dd5e2a683c858706602 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 22:38:00 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15046_amd64_x3-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 22:38:04 [22:38:04.811] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:07 [22:38:07.792] INFO: archiver:test Waiting for archiver to sync to block 3 22:38:07 [22:38:07.817] 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":"0x2453baad1c9a607996fad94734a468e4a42476573fc59d6dffe2b35f12b9a209","rollingHash":"0x35024d254f3525d4ade37e15378bdc25"},"messageCount":2} 22:38:07 [22:38:07.921] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x27672fd9ef268f2b4fec5ec8a88b9326a5001ec7c276f06242f315997c677053","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113484798,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:08 [22:38:08.939] 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":"0x23881032d52d220a090ec5bcdcc51f9b75e621bb16bc538ea17baf37991f5464","rollingHash":"0x7700eb65a619e92b4223cc9f5ef332e9"},"messageCount":4} 22:38:08 [22:38:08.973] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 22:38:09 [22:38:09.172] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x07cdfa2ac88a22a7623c2f9b689393072c95ea3113cdfcc3c1158be241e338f4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113484810,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:09 [22:38:09.174] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x2667c5013656d8717fde9594ca72cc1392a56dfdcadda3074a59f17b17190453","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750113484822,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 22:38:09 [22:38:09.339] INFO: archiver Stopped. 22:38:09 [22:38:09.342] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:11 [22:38:11.893] INFO: archiver:test Waiting for archiver to sync to block 2 22:38:12 [22:38:12.038] 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":"0x0d75d7f3808f3d803cb27fb85d5e8936f31c32c2e6c95415738d8c8afa0f2db9","rollingHash":"0xbbb6b4fe9f93147e24d1aa21a3f2953f"},"messageCount":2} 22:38:12 [22:38:12.055] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x1a7eef844057a52626c4ad04f9aebd224366a6f7619dfb47be128c26be1185ae","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 22:38:12 [22:38:12.203] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2c50162508ec60bd74b579a1c576de65679432c9fe7a5d9368f9993b6902d79f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113489354,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:12 [22:38:12.204] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1b1b1f8ad9c4780552b73720bd0be9dd9c1170a393c46e797d0b62d3e751a9ce","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113489366,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:12 [22:38:12.228] INFO: archiver Stopped. 22:38:12 [22:38:12.230] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:15 [22:38:15.340] INFO: archiver:test Waiting for archiver to sync to block 2 22:38:16 [22:38:16.367] 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":"0x0e86f05b25e243e2c5891b6dc4670fa18bc514138cc5544fe8a2baae9ece4b10","rollingHash":"0xa3fd326c6e2edb6456f838b895db0358"},"messageCount":2} 22:38:16 [22:38:16.502] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x013dc157202e13123c32fdee9c34b0735942ec339a5367772c16512860951fc4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113492241,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:16 [22:38:16.503] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x21f925b92d16782f0cadfa410cee24ee2ebd5a0767bba2467c3265d0b2336983","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113492253,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:16 [22:38:16.589] INFO: archiver Stopped. 22:38:16 [22:38:16.594] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:19 [22:38:19.469] INFO: archiver:test Waiting for archiver to sync to block 2 22:38:19 [22:38:19.516] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 22:38:19 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:38:19 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:38:19 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 22:38:19 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 22:38:19 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 22:38:19 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:38:19 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:38:20 [22:38:20.526] 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":"0x1059bd88cae2c2406b1881b198bb2550631963cdd75bbaade012c5829207190d","rollingHash":"0xbfa34c413d0a3b79a50ada2d5e9d13ff"},"messageCount":2} 22:38:20 [22:38:20.675] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1f40703a48a1982c79e81fce7bfedfd3a403435adb69ec3e16cb6dd9fd2d112e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113496603,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:20 [22:38:20.676] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x200aa92f915a34647bc5c33c6d9dd402869226292cb719ead2113f39fd473386","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113496615,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:20 [22:38:20.678] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 22:38:20 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:38:20 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:38:20 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 22:38:20 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 22:38:20 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 22:38:20 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:38:20 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:38:21 [22:38:21.821] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 22:38:21 [22:38:21.825] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 22:38:21 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 22:38:21 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 22:38:21 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 22:38:21 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 22:38:21 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 22:38:21 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 22:38:21 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 22:38:22 [22:38:22.766] INFO: archiver Stopped. 22:38:22 [22:38:22.769] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:23 [22:38:23.175] 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":"0x03337b7330d00ecb699beafaa285013c16c6d2bc4e5b2ab3fd4f2e2c6fa946b0","rollingHash":"0x19fca228d936c744fd787f7f6a2839b6"},"messageCount":6} 22:38:23 [22:38:23.177] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x03337b7330d00ecb699beafaa285013c16c6d2bc4e5b2ab3fd4f2e2c6fa946b0","rollingHash":"0x19fca228d936c744fd787f7f6a2839b6"},"remoteMessagesState":{"messagesRollingHash":"0x4b8d41b9af13feab9744d1132ee41609","totalMessagesInserted":5,"treeInProgress":0}} 22:38:23 [22:38:23.272] WARN: archiver:test Reorging L1 to L2 messages 22:38:24 [22:38:24.189] 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":"0x03337b7330d00ecb699beafaa285013c16c6d2bc4e5b2ab3fd4f2e2c6fa946b0","rollingHash":"0x19fca228d936c744fd787f7f6a2839b6"}} 22:38:24 [22:38:24.191] WARN: archiver Deleting all local L1 to L2 messages after index 33 22:38:24 [22:38:24.192] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 22:38:24 [22:38:24.207] 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":"0x07cc345c90c9a1f1f9b4e899db5e9a0cea277b707e8b0829b8087ebc6c593e49","rollingHash":"0xf3f14dfdc8dd0f96388f96b3e94a3be0"},"messageCount":5} 22:38:24 [22:38:24.291] INFO: archiver Stopped. 22:38:24 [22:38:24.293] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:24 [22:38:24.628] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 22:38:25 [22:38:25.560] INFO: archiver:test Waiting for archiver to sync to block 1 22:38:25 [22:38:25.659] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2976bde6aade7bef763ac0370be554bb518095411c110b612d841e41d1cea815","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113504304,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:25 [22:38:25.665] INFO: archiver Stopped. 22:38:25 [22:38:25.668] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:26 [22:38:26.027] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 22:38:26 [22:38:26.948] INFO: archiver:test Waiting for archiver to sync to block 1 22:38:27 [22:38:27.129] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0dfa89979eca371e0b8d7c492c3b9e58d20f6e45c20eb1e0072d263009a7e76a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750113505680,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:27 [22:38:27.214] INFO: archiver Stopped. 22:38:27 [22:38:27.219] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:27 [22:38:27.673] INFO: archiver:test Syncing archiver to L1 block 6 22:38:27 [22:38:27.676] 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":"0x36428a3878a78c5903c7dda9df6eef5f8b5db33d545fb66e212f411bb4e6a054","l1BlockNumber":0}} 22:38:27 [22:38:27.702] 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}} 22:38:27 [22:38:27.706] INFO: archiver Stopped. 22:38:27 [22:38:27.709] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:28 [22:38:28.175] INFO: archiver:test Syncing archiver to L1 block 7 22:38:28 [22:38:28.179] 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":"0x493d1a6fa04b572626c54f899aa04b410807ad8c0eb7d981565bcd69fea22c3d","l1BlockNumber":0}} 22:38:28 [22:38:28.197] 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}} 22:38:28 [22:38:28.202] INFO: archiver Stopped. 22:38:28 [22:38:28.206] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:28 [22:38:28.852] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 22:38:30 [22:38:30.226] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0f70dfe5b678e751e76e1998d42942a918e3c0c4438ee8c3bfcf409b6888559e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113508215,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:30 [22:38:30.273] INFO: archiver Stopped. 22:38:30 [22:38:30.275] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:30 [22:38:30.724] 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":"0xb45a46c1dfc0240262c258b541cebd79202c16b3e525be88caddb6ed50415b54","l1BlockNumber":0}} 22:38:30 [22:38:30.746] INFO: archiver Stopped. 22:38:30 [22:38:30.748] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 22:38:34 [22:38:34.120] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x29d3f89d32d72705ab9fa31adb0dbff711dddd24f287f5abf24aa5d51fb750e0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750113510760,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 22:38:34 [22:38:34.121] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1841564897f4ff7286ac8cdec5c39162d80fa7ef4472bbd021788d32bddcc7f9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113510772,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:35 [22:38:35.307] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 22:38:36 [22:38:36.375] 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 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 22:38:36 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 22:38:36 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:38:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:38:36 newBlockNumber: 3, 22:38:36 previousBlockNumber: 1 22:38:36 } 22:38:36 [22:38:36.407] 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":"0x29d3f89d32d72705ab9fa31adb0dbff711dddd24f287f5abf24aa5d51fb750e0","newBlockNumber":3,"updatedL1SyncPoint":70} 22:38:36 [22:38:36.408] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 22:38:36 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 22:38:36 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 22:38:36 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 22:38:36 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 22:38:36 newBlockNumber: 3, 22:38:36 previousBlockNumber: 1 22:38:36 } 22:38:37 [22:38:37.577] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1841564897f4ff7286ac8cdec5c39162d80fa7ef4472bbd021788d32bddcc7f9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750113510772,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 22:38:37 [22:38:37.578] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x16e1e956ce6dca22a22a4db55aeb5b3de2b613f567cc2f05eba5a6cdfd193717","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750113510784,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 22:38:37 [22:38:37.584] INFO: archiver Stopped. 22:38:37 PASS src/archiver/archiver.test.ts (35.677 s) 22:38:37 Archiver 22:38:37 syncs l1 to l2 messages and blocks (4556 ms) 22:38:37 ignores block 3 because it has been pruned (2887 ms) 22:38:37 skip event search if no changes found (4361 ms) 22:38:37 handles L2 reorg (6176 ms) 22:38:37 handles updated messages due to L1 reorg (1523 ms) 22:38:37 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1374 ms) 22:38:37 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1547 ms) 22:38:37 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (492 ms) 22:38:37 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (494 ms) 22:38:37 reports an epoch as complete due to timestamp only once all its blocks have been synced (2071 ms) 22:38:37 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (473 ms) 22:38:37 handles a block gap due to a spurious L2 prune (6837 ms) 22:38:37 skipped handles an upcoming L2 prune 22:38:37 22:38:37 Test Suites: 1 passed, 1 total 22:38:37 Tests: 1 skipped, 12 passed, 13 total 22:38:37 Snapshots: 0 total 22:38:37 Time: 35.777 s 22:38:37 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 22:38:37 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?