Parent Log:
http://ci.aztec-labs.com/2828c71ec164b0c8
Command: bcc565b00bd8bb22 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/bcb41f0bbab679d1b5d50e6b59b4af0faeeb9b48
Env: REF_NAME=gh-readonly-queue/next/pr-15138-3c671e0822075208f705135771771f5a47e9652e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 16:17:43 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15138_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
16:17:47 [16:17:47.176]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:17:50 [16:17:50.138]
INFO:
archiver:test Waiting for archiver to sync to block 3
16:17:50 [16:17:50.201]
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":"0x2a48deaf491c220bd34bac86bc803faa9c3f82979750e9ee8f5a3b66d89365e8","rollingHash":"0x5b097b6f6ab30a59ff2fadf37f73967c"},"messageCount":2}
16:17:50 [16:17:50.321]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x020708aff0a4a05ed0f06cbfeba91c406a35915f98cbe55147ee1f64dc7d4515","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750263467142,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:17:51 [16:17:51.406]
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":"0x2ac9ab3bd2409ddb98181486784a98a64b3e2e2e7c1810c0e4ebfd4d1cc9afb8","rollingHash":"0x1a95c4fde4dab1c683cea81a62b565f2"},"messageCount":4}
16:17:51 [16:17:51.471]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
16:17:51 [16:17:51.681]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2a08c3b310f9d3440086e3b9251a6ea6632e78f238358d5ace0a59feb58efa8c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750263467154,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:17:51 [16:17:51.682]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2305c0210684f134e02cf1e2734700874303f70faa397a2e91b0093a28292956","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750263467166,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:17:51 [16:17:51.929]
INFO:
archiver Stopped.
16:17:51 [16:17:51.949]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:17:55 [16:17:55.079]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:17:55 [16:17:55.089]
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":"0x04a23434ce5ab8de1c2bfeb91365cd54d411889d865e527b2040cc1d5f822ff4","rollingHash":"0x8bca9d606fa75d80c1d4202bb56676df"},"messageCount":2}
16:17:55 [16:17:55.120]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1e9ac7d5177094a9bb3d21c82063905727c81f7f09009106747d2b352544ab6e","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
16:17:55 [16:17:55.244]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d7eac8ba77b6e3e36f02134d29d5a8fc4289df8965ede0021dbe6461255040a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750263471945,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:17:55 [16:17:55.245]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0b0481e78fb17b04aba470d1490678efd44ee442e3b2eadf1ea1668ba3a7b79b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750263471957,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:17:55 [16:17:55.341]
INFO:
archiver Stopped.
16:17:55 [16:17:55.343]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:17:58 [16:17:58.039]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:17:59 [16:17:59.058]
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":"0x2db6633dba2166344d18d2c7a7e40eb4d6af7b040a5f63110dcccc2c786411b4","rollingHash":"0x5562e19095e30319da5833ac373bf274"},"messageCount":2}
16:17:59 [16:17:59.211]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2b00b5af1433ce34091f8a0b2be4e709f17cdf9ee3c985b967ae6f2c6d9c6ca3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750263475355,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:17:59 [16:17:59.212]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0d6a633b6799784a70f860edf3b1ac510c3faf0eef97beb3ace10e7081c8ff53","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750263475367,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:17:59 [16:17:59.298]
INFO:
archiver Stopped.
16:17:59 [16:17:59.301]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:01 [16:18:01.956]
INFO:
archiver:test Waiting for archiver to sync to block 2
16:18:02 [16:18:02.022]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
16:18:02 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:18:02 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:18:02 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
16:18:02 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
16:18:02 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
16:18:02 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:18:02 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:18:03 [16:18:03.033]
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":"0x1b0f3197762cb6912513907d3bc5c4353801520cbc0937365127ed764dd608f4","rollingHash":"0xfdb282b2857c87078e070916b29f1add"},"messageCount":2}
16:18:03 [16:18:03.202]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0162102b8657347eebed213f5c29113afb49616b836136036bdcfcc9fdd45c5d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750263479312,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:18:03 [16:18:03.203]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cc2a51fdf7b5273374286814f7f87fe38f4f46ae4b34f5049a1abef2180b310","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750263479324,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:18:03 [16:18:03.206]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
16:18:03 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:18:03 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:18:03 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
16:18:03 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
16:18:03 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
16:18:03 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:18:03 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:18:04 [16:18:04.345]
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:18:04 [16:18:04.348]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
16:18:04 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
16:18:04 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
16:18:04 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
16:18:04 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
16:18:04 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
16:18:04 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
16:18:04 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
16:18:05 [16:18:05.243]
INFO:
archiver Stopped.
16:18:05 [16:18:05.248]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:05 [16:18:05.597]
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":"0x1cd9965f570e16aa4cd6f3b01f7bc3def49628ca8b771c03fe275f64c7b3bcc5","rollingHash":"0xfe5dcf74d71a9639835a3faa868c2d0b"},"messageCount":6}
16:18:05 [16:18:05.598]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1cd9965f570e16aa4cd6f3b01f7bc3def49628ca8b771c03fe275f64c7b3bcc5","rollingHash":"0xfe5dcf74d71a9639835a3faa868c2d0b"},"remoteMessagesState":{"messagesRollingHash":"0x6e061ead76c9977b828c0b9eed122d83","totalMessagesInserted":5,"treeInProgress":0}}
16:18:05 [16:18:05.697]
WARN:
archiver:test Reorging L1 to L2 messages
16:18:06 [16:18:06.609]
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":"0x1cd9965f570e16aa4cd6f3b01f7bc3def49628ca8b771c03fe275f64c7b3bcc5","rollingHash":"0xfe5dcf74d71a9639835a3faa868c2d0b"}}
16:18:06 [16:18:06.612]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
16:18:06 [16:18:06.617]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
16:18:06 [16:18:06.653]
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":"0x1fb883c788fd069060a4ec187ff4025a17ff1eba833452e1b100ba1c2dd2dd0a","rollingHash":"0xd281e40de51040d4a870cbef97a47af5"},"messageCount":5}
16:18:06 [16:18:06.760]
INFO:
archiver Stopped.
16:18:06 [16:18:06.767]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:07 [16:18:07.163]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
16:18:08 [16:18:08.455]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:18:08 [16:18:08.543]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x04a86f8cb541d2625f948aa13f23cc0111607ea39377c418c971e984e353002f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750263486778,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:18:08 [16:18:08.564]
INFO:
archiver Stopped.
16:18:08 [16:18:08.569]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:09 [16:18:09.396]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
16:18:10 [16:18:10.334]
INFO:
archiver:test Waiting for archiver to sync to block 1
16:18:10 [16:18:10.409]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e2e5d543905e33188dc5d4049bfe3404f26ca5c0d0e6800d9d34c2e403d0005","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750263488579,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:18:10 [16:18:10.438]
INFO:
archiver Stopped.
16:18:10 [16:18:10.440]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:10 [16:18:10.795]
INFO:
archiver:test Syncing archiver to L1 block 6
16:18:10 [16:18:10.806]
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":"0x9a7cf25685f7432bd76e14a683134531494c01aa28ca6060fb6828077a6ffe11","l1BlockNumber":0}}
16:18:10 [16:18:10.816]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
16:18:10 [16:18:10.827]
INFO:
archiver Stopped.
16:18:10 [16:18:10.832]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:11 [16:18:11.230]
INFO:
archiver:test Syncing archiver to L1 block 7
16:18:11 [16:18:11.231]
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":"0x0ea7a8cedc1461ecc227fd71be664b997c142a5acd8605ca4bd3105db12d5dcd","l1BlockNumber":0}}
16:18:11 [16:18:11.240]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
16:18:11 [16:18:11.243]
INFO:
archiver Stopped.
16:18:11 [16:18:11.245]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:11 [16:18:11.576]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
16:18:12 [16:18:12.627]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1986395e3fc510fde2bf88e9c83368b01fdfce2fee7b889317f2d8e6f8062cef","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750263491257,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:18:12 [16:18:12.643]
INFO:
archiver Stopped.
16:18:12 [16:18:12.645]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:13 [16:18:13.321]
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":"0xf56cd409305e0e10320ce6b86b45af6df0eb2c18b9bb87ee1f02db5bd5f2de06","l1BlockNumber":0}}
16:18:13 [16:18:13.354]
INFO:
archiver Stopped.
16:18:13 [16:18:13.356]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
16:18:17 [16:18:17.063]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2ca8c27ec6b494b907e0113424f153ebf383ecc2629535dc245b5c1f45e0fd7f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750263493367,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
16:18:17 [16:18:17.065]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cd8f5e56c561b97cf13b81adbb2d76733b9a712eface761e0c4faafc28b06e0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750263493379,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:18:18 [16:18:18.220]
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:18:19 [16:18:19.338]
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:18:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:18:19 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:18:19 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
16:18:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
16:18:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:18:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:18:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:18:19 newBlockNumber: 3,
16:18:19 previousBlockNumber: 1
16:18:19 }
16:18:19 [16:18:19.409]
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":"0x2ca8c27ec6b494b907e0113424f153ebf383ecc2629535dc245b5c1f45e0fd7f","newBlockNumber":3,"updatedL1SyncPoint":70}
16:18:19 [16:18:19.412]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
16:18:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
16:18:19 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
16:18:19 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
16:18:19 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
16:18:19 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
16:18:19 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
16:18:19 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
16:18:19 newBlockNumber: 3,
16:18:19 previousBlockNumber: 1
16:18:19 }
16:18:20 [16:18:20.579]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cd8f5e56c561b97cf13b81adbb2d76733b9a712eface761e0c4faafc28b06e0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750263493379,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
16:18:20 [16:18:20.580]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x01d7c53c6f13f928698ec5124da2b465ee58ecaf3b999e52b61fe3c3072d5292","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750263493391,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
16:18:20 [16:18:20.674]
INFO:
archiver Stopped.
16:18:20
PASS src/archiver/archiver.test.ts (
36.647 s)
16:18:20 Archiver
16:18:20
✓ syncs l1 to l2 messages and blocks (4803 ms)
16:18:20
✓ ignores block 3 because it has been pruned (3408 ms)
16:18:20
✓ skip event search if no changes found (3957 ms)
16:18:20
✓ handles L2 reorg (5945 ms)
16:18:20
✓ handles updated messages due to L1 reorg (1521 ms)
16:18:20
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1801 ms)
16:18:20
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1871 ms)
16:18:20
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (389 ms)
16:18:20
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (413 ms)
16:18:20
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1400 ms)
16:18:20
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (711 ms)
16:18:20
✓ handles a block gap due to a spurious L2 prune (7319 ms)
16:18:20
○ skipped handles an upcoming L2 prune
16:18:20
16:18:20
Test Suites: 1 passed, 1 total
16:18:20
Tests: 1 skipped,
12 passed, 13 total
16:18:20
Snapshots: 0 total
16:18:20
Time: 36.724 s
16:18:20
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
16:18:20
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?