Parent Log: http://ci.aztec-labs.com/fd827c6a3ab9b3f6 Command: f44e1b4f382283e1 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts Commit: https://github.com/AztecProtocol/aztec-packages/commit/df137f9440a970af2eb6e2ee94c48bf3bf47e207 Env: REF_NAME=gh-readonly-queue/next/pr-15157-08d3f55874836a573c4756b0cc7279160b0813a3 CURRENT_VERSION=0.87.6 CI_FULL=1 Date: Fri Jun 20 10:04:23 UTC 2025 System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15157_amd64_x2-full Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s History: http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next 10:04:27 [10:04:27.237] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:30 [10:04:30.027] INFO: archiver:test Waiting for archiver to sync to block 3 10:04:30 [10:04:30.040] 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":"0x00df4485477aa93149dc7a1a7923bc7bd0215af9c15a603a6d23df8440762553","rollingHash":"0x81f69dbaa88149888b0a2ec59005786e"},"messageCount":2} 10:04:30 [10:04:30.115] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x033baa9f23fef68a5198d98cd1c4d039b71cc643a6ae7c5cbd8d6f8fb3a9b938","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413867238,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:31 [10:04:31.132] 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":"0x1803fa61f9c035cd76954079c9e78f783535b14b6d29fc3be03c73a188cb8f41","rollingHash":"0x1f85094e3beb66d0ce84e83bd89e3194"},"messageCount":4} 10:04:31 [10:04:31.166] INFO: archiver Updated proven chain to block 1 {"provenBlockNumber":1} 10:04:31 [10:04:31.335] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x0358466e29a1157ddeadc046443c7630baa9ef81cd6accf22cac079501285bbf","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413867250,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:04:31 [10:04:31.336] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x0d353847e07a3d52eb3f9421c4bf420ba6d711a24b41b4a131412458dbd25e51","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413867262,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 10:04:31 [10:04:31.581] INFO: archiver Stopped. 10:04:31 [10:04:31.587] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:34 [10:04:34.199] INFO: archiver:test Waiting for archiver to sync to block 2 10:04:34 [10:04:34.209] 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":"0x0a57e3c9a346231476b775aba5f4e2e06ec33afdf0316b3ea48833f030357f07","rollingHash":"0xb4d871400186fe1bfb0f570db41a8c09"},"messageCount":2} 10:04:34 [10:04:34.234] WARN: archiver Ignoring L2 block 3 due to archive root mismatch {"actual":"0x2c1120220dd204e2f8e80f4b1cb3b0eda92322ff3a93fdba1171c5c3a2ef9d09","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"} 10:04:34 [10:04:34.353] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x23e76d0d21649e0874537dc6c7cf493de476102ba0d7088036736d533daa33c7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413871596,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:34 [10:04:34.355] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x235e4723b7262c31904d21b849fc1c63655f9629bec21d1789a8aadf9d5c4872","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413871608,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:04:34 [10:04:34.445] INFO: archiver Stopped. 10:04:34 [10:04:34.447] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:37 [10:04:37.319] INFO: archiver:test Waiting for archiver to sync to block 2 10:04:38 [10:04:38.338] 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":"0x1f9f24b9bb669e32ba169b7958c73ae6646fb50a3566fdaa0980065f997f8c9f","rollingHash":"0x548fe544025e6c73142b2c1927db2086"},"messageCount":2} 10:04:38 [10:04:38.450] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x05d16ff2da7714a0fe359f4aa2f74d30469429efc56c063cc183aa59e7153b14","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413874458,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:38 [10:04:38.450] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x124caa3958ae0f0cf669a5f5bf1fb6c74827c0a83bc9e5f083125c3a41b1cfa2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413874470,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:04:38 [10:04:38.537] INFO: archiver Stopped. 10:04:38 [10:04:38.539] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:41 [10:04:41.213] INFO: archiver:test Waiting for archiver to sync to block 2 10:04:41 [10:04:41.261] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200 10:04:41 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:04:41 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 10:04:41 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 10:04:41 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 10:04:41 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 10:04:41 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:04:41 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:04:42 [10:04:42.272] 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":"0x0a37e6f58118593e2861abb95384b3bb372380915823b88362136b624369d695","rollingHash":"0x2fd626a6fafa5bca17b7cc735ae75550"},"messageCount":2} 10:04:42 [10:04:42.443] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x21df31f452b552b8cee7d5dd7d8c976c7ab4a4445b76d1166f9b39986878c65f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413878551,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:42 [10:04:42.444] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x13974d1389152d5da29b18a47906c1ec24703a8964b420bea015221867930e4f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413878563,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:04:42 [10:04:42.447] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400 10:04:42 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:04:42 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 10:04:42 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 10:04:42 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 10:04:42 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 10:04:42 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:04:42 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:04:43 [10:04:43.628] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1. 10:04:43 [10:04:43.631] ERROR: archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600 10:04:43 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15) 10:04:43 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9) 10:04:43 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20) 10:04:43 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28) 10:04:43 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34) 10:04:43 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33 10:04:43 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21) 10:04:44 [10:04:44.544] INFO: archiver Stopped. 10:04:44 [10:04:44.547] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:44 [10:04:44.891] 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":"0x2ac4c9ecf9ab2bb39d60c1ca8336e1a644e24d59c046f98ea30126c011bc7558","rollingHash":"0xf570feed31f04340ceb41a0426c63e67"},"messageCount":6} 10:04:44 [10:04:44.892] WARN: archiver Last message retrieved rolling hash does not match remote state. {"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2ac4c9ecf9ab2bb39d60c1ca8336e1a644e24d59c046f98ea30126c011bc7558","rollingHash":"0xf570feed31f04340ceb41a0426c63e67"},"remoteMessagesState":{"messagesRollingHash":"0xe367a0db8b8545fff858eb85dd52ec88","totalMessagesInserted":5,"treeInProgress":0}} 10:04:44 [10:04:44.983] WARN: archiver:test Reorging L1 to L2 messages 10:04:45 [10:04:45.905] 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":"0x2ac4c9ecf9ab2bb39d60c1ca8336e1a644e24d59c046f98ea30126c011bc7558","rollingHash":"0xf570feed31f04340ceb41a0426c63e67"}} 10:04:45 [10:04:45.911] WARN: archiver Deleting all local L1 to L2 messages after index 33 10:04:45 [10:04:45.913] WARN: archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store 10:04:45 [10:04:45.954] 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":"0x25581f1d2827183b4a09148654886e30042e05f72ba6c8c13ff7fa9cd3e9fb11","rollingHash":"0x6e36f88464baaf078a74f1c3c5cd284c"},"messageCount":5} 10:04:46 [10:04:46.019] INFO: archiver Stopped. 10:04:46 [10:04:46.029] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:46 [10:04:46.541] INFO: archiver:test Syncing L2 block on slot 2 mined in L1 block 4 10:04:47 [10:04:47.336] INFO: archiver:test Waiting for archiver to sync to block 1 10:04:47 [10:04:47.430] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x07a2947b4b4e8e12922330ab64554b71b4d9b412a7e56cd374e3e7b6dca4e892","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413886032,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:47 [10:04:47.449] INFO: archiver Stopped. 10:04:47 [10:04:47.473] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:48 [10:04:48.034] INFO: archiver:test Syncing L2 block on slot 3 mined in L1 block 6 10:04:49 [10:04:49.012] INFO: archiver:test Waiting for archiver to sync to block 1 10:04:49 [10:04:49.080] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x278deff5e171b690fbd8e7ec40ded5a9e49480a3ae064d4991759b0ffc8e5d84","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413887482,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:49 [10:04:49.116] INFO: archiver Stopped. 10:04:49 [10:04:49.118] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:49 [10:04:49.457] INFO: archiver:test Syncing archiver to L1 block 6 10:04:49 [10:04:49.458] 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":"0x29c476305f6e74469771232f6f32c5d78bc0db8bbe07f160ed95c8575602c506","l1BlockNumber":0}} 10:04:49 [10:04:49.484] INFO: archiver Initial archiver sync to L1 block 6 complete. {"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 10:04:49 [10:04:49.487] INFO: archiver Stopped. 10:04:49 [10:04:49.488] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:49 [10:04:49.837] INFO: archiver:test Syncing archiver to L1 block 7 10:04:49 [10:04:49.838] 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":"0xe65f24a53792191508b7cc90070d9fd432dca0e78c2e971edd3d10ccdcc7a370","l1BlockNumber":0}} 10:04:49 [10:04:49.851] INFO: archiver Initial archiver sync to L1 block 7 complete. {"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}} 10:04:49 [10:04:49.853] INFO: archiver Stopped. 10:04:49 [10:04:49.855] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:50 [10:04:50.261] INFO: archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2 10:04:51 [10:04:51.310] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x0d91cdf4d23622b996463af458edc0d65df12fad27381d893270666428244685","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413889867,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:51 [10:04:51.315] INFO: archiver Stopped. 10:04:51 [10:04:51.317] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:51 [10:04:51.711] 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":"0xdbe9114daf665bd5d99413599b0701515b917215d07bb55bb15b83e9167c2f3f","l1BlockNumber":0}} 10:04:51 [10:04:51.723] INFO: archiver Stopped. 10:04:51 [10:04:51.725] INFO: kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16 10:04:54 [10:04:54.914] INFO: archiver Downloaded L2 block 1 {"blockHash":"0x1c87fd63e88bf3a9e4224b0f81a9d6d52b140902f7087dda7a2884aea7040b79","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750413891736,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2} 10:04:54 [10:04:54.916] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x105d0014a9f564827e4d1cde8fae8154df04f9b368f3b64609e5a0f6058c4e11","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413891748,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:04:56 [10:04:56.047] WARN: archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1. 10:04:57 [10:04:57.117] 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 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 10:04:57 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 10:04:57 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:04:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:04:57 newBlockNumber: 3, 10:04:57 previousBlockNumber: 1 10:04:57 } 10:04:57 [10:04:57.142] 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":"0x1c87fd63e88bf3a9e4224b0f81a9d6d52b140902f7087dda7a2884aea7040b79","newBlockNumber":3,"updatedL1SyncPoint":70} 10:04:57 [10:04:57.143] ERROR: archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15 10:04:57 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20) 10:04:57 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12) 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29 10:04:57 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33 10:04:57 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) { 10:04:57 newBlockNumber: 3, 10:04:57 previousBlockNumber: 1 10:04:57 } 10:04:58 [10:04:58.266] INFO: archiver Downloaded L2 block 2 {"blockHash":"0x105d0014a9f564827e4d1cde8fae8154df04f9b368f3b64609e5a0f6058c4e11","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750413891748,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3} 10:04:58 [10:04:58.266] INFO: archiver Downloaded L2 block 3 {"blockHash":"0x298e583a2a3b6a44e6b8c2d88eb49ec9627d4e91639cde5f8fabd5492cec898f","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750413891760,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4} 10:04:58 [10:04:58.322] INFO: archiver Stopped. 10:04:58 PASS src/archiver/archiver.test.ts (34.011 s) 10:04:58 Archiver 10:04:58 syncs l1 to l2 messages and blocks (4359 ms) 10:04:58 ignores block 3 because it has been pruned (2861 ms) 10:04:58 skip event search if no changes found (4092 ms) 10:04:58 handles L2 reorg (6007 ms) 10:04:58 handles updated messages due to L1 reorg (1473 ms) 10:04:58 reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1435 ms) 10:04:58 reports an epoch as complete if the current L2 block is in the last slot of the epoch (1660 ms) 10:04:58 reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (370 ms) 10:04:58 reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (367 ms) 10:04:58 reports an epoch as complete due to timestamp only once all its blocks have been synced (1462 ms) 10:04:58 starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (408 ms) 10:04:58 handles a block gap due to a spurious L2 prune (6599 ms) 10:04:58 skipped handles an upcoming L2 prune 10:04:58 10:04:58 Test Suites: 1 passed, 1 total 10:04:58 Tests: 1 skipped, 12 passed, 13 total 10:04:58 Snapshots: 0 total 10:04:58 Time: 34.09 s 10:04:58 Ran all test suites matching archiver/src/archiver/archiver.test.ts. 10:04:58 Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?