Parent Log: http://ci.aztec-labs.com/850ec52829003e23 Command: fb52012d377692f9 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/1e338a3fb2e2077f1feaee8b86c42644ff8a5352 Env: REF_NAME=gh-readonly-queue/next/pr-15075-fa4d5ef48c8de52059b5658bbd42e4514386f7db CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Mon Jun 16 16:41:39 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15075_amd64_x4-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 16:41:43 [16:41:43.242] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:46 [16:41:46.015] INFO: archiver:test Waiting for archiver to sync to block 3 16:41:46 [16:41:46.081] 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":"0x3042d191a888df6dc89bafbab5f4dbbfbfec3d873f13bf1af13a32c039ac1869","rollingHash":"0x14dcfebf39e0d767d8ec5d10f625c93a"},"messageCount":2} 16:41:46 [16:41:46.169] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x02f6602ea2ae5285a2b6f7fe867e3a2201c376aa5089e545009bdd05e3f0f22b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092103242,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:47 [16:41:47.195] 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":"0x0861b6ce2a4c89a47744dbe7fe98aeb09f8977d02569d7522b4259a88bc56069","rollingHash":"0x6c2548cd68dcacf532aa8230e7a14195"},"messageCount":4} 16:41:47 [16:41:47.240] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 16:41:47 [16:41:47.485] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1229e034094f376d21705002c8d8788629181ee0242164e4a92401d40d8b7e15","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092103254,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:47 [16:41:47.486] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x1e575489652badf2fa345b02e694cdbcef2efa32ac11e1ad697558b7cef55675","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750092103266,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 16:41:47 [16:41:47.699] INFO: archiver Stopped. 16:41:47 [16:41:47.704] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:50 [16:41:50.729] INFO: archiver:test Waiting for archiver to sync to block 2 16:41:50 [16:41:50.742] 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":"0x091b0c57cd1b6de210c3c05a9d185bab0d96c67674b086c23c5f20c5cb63fb72","rollingHash":"0x261e8d94cabe4fe2d87ae5477fd13c00"},"messageCount":2} 16:41:50 [16:41:50.781] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x2b0e362b6125becc9b9ae1dcc2b76f2fbae3654219a06c1eceba72667e84e4b3","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 16:41:50 [16:41:50.883] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0149117b4648e0b080ab7d4413ef0ac89c4eb07c57843c6efcfa2f646c83e8e2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092107715,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:50 [16:41:50.884] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0c31769599bc32aa1140b01d56fb18d5f9fd9459870db71c0341f9347a0325e8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092107727,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:50 [16:41:50.973] INFO: archiver Stopped. 16:41:50 [16:41:50.975] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:53 [16:41:53.811] INFO: archiver:test Waiting for archiver to sync to block 2 16:41:54 [16:41:54.832] 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":"0x2c562d3676e9c71b37f1b2e7aa87cf512bdcb9b9e523412b68c4de777536fc02","rollingHash":"0xba4e61a2a9b5a488506e1a0931e3f367"},"messageCount":2} 16:41:55 [16:41:55.012] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1ea949948ca816ea1bdc18607c59ab5b9ca613f3a332177ed84e0930df248e98","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092110986,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:55 [16:41:55.014] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x2f7363700c3c7ce7129730addf6556d75b22b67d815a6026003c12cd0d655b9f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092110998,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:55 [16:41:55.102] INFO: archiver Stopped. 16:41:55 [16:41:55.104] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:41:58 [16:41:58.041] INFO: archiver:test Waiting for archiver to sync to block 2 16:41:58 [16:41:58.099] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 16:41:58 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 16:41:58 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 16:41:58 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 16:41:58 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 16:41:58 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 16:41:58 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 16:41:58 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 16:41:59 [16:41:59.111] 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":"0x2decc207b209537c45c9e692c6186e2f7f878fb8d922242a8ae8f36d72f83ec2","rollingHash":"0xc2f46eac7a79ea7df00613429de227c8"},"messageCount":2} 16:41:59 [16:41:59.293] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1cf19477ca4693361b22b8ec4dc88a6dd951f43ae0d86cf47c5318bf1e7fab30","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092115116,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:41:59 [16:41:59.294] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x211e186cb4f3325971b973f450ab9dd9e1fae64522566d43472779cce49d6a65","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092115128,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:41:59 [16:41:59.297] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 16:41:59 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 16:41:59 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 16:41:59 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 16:41:59 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 16:41:59 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 16:41:59 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 16:41:59 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 16:42:00 [16:42:00.481] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 16:42:00 [16:42:00.486] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 16:42:00 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 16:42:00 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 16:42:00 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20) 16:42:00 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28) 16:42:00 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34) 16:42:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 16:42:00 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 16:42:01 [16:42:01.345] INFO: archiver Stopped. 16:42:01 [16:42:01.366] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:02 [16:42:02.276] 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":"0x03cc532549e76b899316888916795e7a8a4b1633e91d82d8dbfecbfb7b5f7e36","rollingHash":"0x77242ca3689a7323cbc45d499a871539"},"messageCount":6} 16:42:02 [16:42:02.278] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x03cc532549e76b899316888916795e7a8a4b1633e91d82d8dbfecbfb7b5f7e36","rollingHash":"0x77242ca3689a7323cbc45d499a871539"},"remoteMessagesState":{"messagesRollingHash":"0x96912ea8f53a7e03b57376ef27e3de54","totalMessagesInserted":5,"treeInProgress":0}} 16:42:02 [16:42:02.366] WARN: archiver:test Reorging L1 to L2 messages 16:42:03 [16:42:03.298] 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":"0x03cc532549e76b899316888916795e7a8a4b1633e91d82d8dbfecbfb7b5f7e36","rollingHash":"0x77242ca3689a7323cbc45d499a871539"}} 16:42:03 [16:42:03.305] WARN: archiver Deleting all local L1 to L2 messages after index 33 16:42:03 [16:42:03.307] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 16:42:03 [16:42:03.325] 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":"0x21c624fb291426e3592dcb75d3a3d09fca69510e6172e6bc77538e46fcf135a4","rollingHash":"0x8d5463063b95dabdca1bc412adcac769"},"messageCount":5} 16:42:03 [16:42:03.413] INFO: archiver Stopped. 16:42:03 [16:42:03.415] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:03 [16:42:03.871] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 16:42:04 [16:42:04.778] INFO: archiver:test Waiting for archiver to sync to block 1 16:42:05 [16:42:05.012] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x12c5c411584dfe0538b85dc3a735734067b058e9519dd0bd4d2aff070f2532a9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092123426,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:42:05 [16:42:05.051] INFO: archiver Stopped. 16:42:05 [16:42:05.054] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:05 [16:42:05.632] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 16:42:06 [16:42:06.549] INFO: archiver:test Waiting for archiver to sync to block 1 16:42:06 [16:42:06.644] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0bae1e8182108abed27e7be6bebd0ad1da8ada4bfbb35e5e4b3d70b4a69477d1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750092125066,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:42:06 [16:42:06.654] INFO: archiver Stopped. 16:42:06 [16:42:06.656] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:07 [16:42:07.110] INFO: archiver:test Syncing archiver to L1 block 6 16:42:07 [16:42:07.121] 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":"0x289411182149fbd4e43ea8fc635377aba4987993f3c803832e71e549ccf581a8","l1BlockNumber":0}} 16:42:07 [16:42:07.169] 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}} 16:42:07 [16:42:07.172] INFO: archiver Stopped. 16:42:07 [16:42:07.182] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:07 [16:42:07.813] INFO: archiver:test Syncing archiver to L1 block 7 16:42:07 [16:42:07.824] 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":"0x11c9fb98edcee113d959b856532632a40e3cdc1606dab8e669729bd8f3468703","l1BlockNumber":0}} 16:42:07 [16:42:07.840] 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}} 16:42:07 [16:42:07.844] INFO: archiver Stopped. 16:42:07 [16:42:07.848] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:08 [16:42:08.388] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 16:42:09 [16:42:09.382] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x28410121361c97e250fbc48e546562bf7a35ec47152c1e241c0a16f96dbc8d29","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092127859,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:42:09 [16:42:09.392] INFO: archiver Stopped. 16:42:09 [16:42:09.395] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:09 [16:42:09.737] 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":"0x374dd5301477fcfa400031fbd688252c132210d3cc920821a4a20fde92e4cf6a","l1BlockNumber":0}} 16:42:09 [16:42:09.752] INFO: archiver Stopped. 16:42:09 [16:42:09.754] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 16:42:13 [16:42:13.541] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x2097e5142fc17f65c6fecb0824515223a78fea70b50eab511b1bbf7227a55d1c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750092129765,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 16:42:13 [16:42:13.542] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1d701a3bf9046da40ba0202903d51c48b0217cf71a3d876a2caf811ee45a3390","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092129777,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:42:14 [16:42:14.750] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 16:42:15 [16:42:15.830] 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 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 16:42:15 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 16:42:15 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:42:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:42:15 newBlockNumber: 3, 16:42:15 previousBlockNumber: 1 16:42:15 } 16:42:15 [16:42:15.853] 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":"0x2097e5142fc17f65c6fecb0824515223a78fea70b50eab511b1bbf7227a55d1c","newBlockNumber":3,"updatedL1SyncPoint":70} 16:42:15 [16:42:15.854] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15 16:42:15 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 16:42:15 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12) 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1416:7 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 16:42:15 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 16:42:15 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 16:42:15 newBlockNumber: 3, 16:42:15 previousBlockNumber: 1 16:42:15 } 16:42:17 [16:42:17.084] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x1d701a3bf9046da40ba0202903d51c48b0217cf71a3d876a2caf811ee45a3390","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750092129777,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 16:42:17 [16:42:17.085] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x179282f51ba90a343c68b0fd0a66d13565b061277156e7f4833da51e02ab84ec","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750092129789,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 16:42:17 [16:42:17.122] INFO: archiver Stopped. 16:42:17 PASS src/archiver/archiver.test.ts (36.827 s) 16:42:17 Archiver 16:42:17 syncs l1 to l2 messages and blocks (4473 ms) 16:42:17 ignores block 3 because it has been pruned (3270 ms) 16:42:17 skip event search if no changes found (4128 ms) 16:42:17 handles L2 reorg (6246 ms) 16:42:17 handles updated messages due to L1 reorg (2064 ms) 16:42:17 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1638 ms) 16:42:17 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1602 ms) 16:42:17 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (523 ms) 16:42:17 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (666 ms) 16:42:17 reports an epoch as complete due to timestamp only once all its blocks have been synced (1546 ms) 16:42:17 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (359 ms) 16:42:17 handles a block gap due to a spurious L2 prune (7369 ms) 16:42:17 skipped handles an upcoming L2 prune 16:42:17 16:42:17 Test Suites: 1 passed, 1 total 16:42:17 Tests: 1 skipped, 12 passed, 13 total 16:42:17 Snapshots: 0 total 16:42:17 Time: 36.928 s 16:42:17 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 16:42:17 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?