Parent Log:
http://ci.aztec-labs.com/af1e240df4354864
Command: 7e183daba6e4e4c5 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/712835e3cfa2ed6f980f2d482aa4b0ae767046a7
Env: REF_NAME=gh-readonly-queue/next/pr-15077-4b0e4dc09fa55f0bc808fa0c7c3e95e8fa997069 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 17 21:10:28 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15077_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
21:10:32 [21:10:32.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:34 [21:10:34.816]
INFO:
archiver:test Waiting for archiver to sync to block 3
21:10:34 [21:10:34.831]
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":"0x1ca33f58496fc1fa3325db61ddc1135d3875ceb011ef8631d8e197de6fbcd71e","rollingHash":"0x90f13bc4f68db586354502280f4ce196"},"messageCount":2}
21:10:34 [21:10:34.907]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25b566980311b1991974329dcf8e018b872e55d6b832814a9efc9a126a7f60d7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194632026,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:35 [21:10:35.925]
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":"0x2a7cdf39e4a1248904167c18f5a5d9702cbaa7f666be0a8b9554c836c78cf240","rollingHash":"0x42249137136ac579f903912a6c4885e5"},"messageCount":4}
21:10:35 [21:10:35.954]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
21:10:36 [21:10:36.091]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1147a27204ced838c08aeda51f0af286719b4e86b0a2f4e344ff99ab23374fed","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194632038,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:10:36 [21:10:36.092]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1e9db9db8951a230ae39db05fd109abf963c606f7d766a954bf33122e3ad5fa3","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750194632050,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
21:10:36 [21:10:36.289]
INFO:
archiver Stopped.
21:10:36 [21:10:36.293]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:38 [21:10:38.852]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:10:38 [21:10:38.860]
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":"0x177dd1b9d41dd3d3b68493f659981ae8c01cee42631b38885a962c968c527db9","rollingHash":"0xf71008eeac3df4407de78d557030e710"},"messageCount":2}
21:10:38 [21:10:38.878]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0ed56be45b83f95f3855124520b8a1640dcc4c0e87e5be7c93372bdf7f10c9ea","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
21:10:38 [21:10:38.971]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x214b5b59fa852f93f3c0e8f71ada518527963586447ede887878ab3efd1e65a9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194636305,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:38 [21:10:38.972]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2bf6d90d90a7432cffe0e4a1b10643480736408075966350441b0a8c8ae9a3fe","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194636317,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:10:39 [21:10:39.062]
INFO:
archiver Stopped.
21:10:39 [21:10:39.064]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:41 [21:10:41.620]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:10:42 [21:10:42.635]
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":"0x245799c7f68f36703c8562003dc0c996610a3051f9c22312c8914d610faf32ce","rollingHash":"0x515c3911b9a0f66f91053ae8b911f4a7"},"messageCount":2}
21:10:42 [21:10:42.747]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x103fbf4264596b7a395bf1b3e07c26d4cf78c97bdb817aaeceb9588b2525216c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194639075,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:42 [21:10:42.747]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x17ddfd598a6b6fd42c27d0092c2c9387efa17f9a1f31c2b87676cbbc5f464aba","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194639087,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:10:42 [21:10:42.839]
INFO:
archiver Stopped.
21:10:42 [21:10:42.840]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:45 [21:10:45.406]
INFO:
archiver:test Waiting for archiver to sync to block 2
21:10:45 [21:10:45.440]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
21:10:45 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:10:45 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:10:45 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:10:45 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:10:45 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:10:45 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:10:45 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:10:46 [21:10:46.448]
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":"0x191f7986f336df90c12aa821905210b3a41b08d4dd3841c335fc84ee8a8534f5","rollingHash":"0x9dd36032692ac2e92972e1ba66394109"},"messageCount":2}
21:10:46 [21:10:46.562]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x03a248160ffa2d9640e04b47f57ae301d7d1592cd5da9cad2d4c051568b0ba5f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194642852,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:46 [21:10:46.563]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x02ae0022e28b07c9f0a7aa006f5b4e88f90ca5f16df080f8dc6c0403125a6c87","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194642864,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:10:46 [21:10:46.565]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
21:10:46 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:10:46 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:10:46 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:10:46 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:10:46 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:10:46 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:10:46 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:10:47 [21:10:47.653]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
21:10:47 [21:10:47.655]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
21:10:47 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
21:10:47 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
21:10:47 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
21:10:47 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
21:10:47 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
21:10:47 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:10:47 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:10:48 [21:10:48.665]
ERROR:
archiver Error in running promise: TypeError: (intermediate value) is not iterable
21:10:48 at Archiver.handleL2blocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:591:7)
21:10:48 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:326:28)
21:10:48 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
21:10:48 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
21:10:48 at RunningPromise.stop (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:82:9)
21:10:48 at Archiver.stop (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:883:5)
21:10:48 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.test.ts:248:5)
21:10:48 [21:10:48.666]
INFO:
archiver Stopped.
21:10:48 [21:10:48.667]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:48 [21:10:48.979]
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":"0x0860c979003d2b221794781b149da6067c44c01df46a201a479b5de5bf226d2b","rollingHash":"0xb95d8d3726fbb93aa79f3c61b1ad04eb"},"messageCount":6}
21:10:48 [21:10:48.980]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0860c979003d2b221794781b149da6067c44c01df46a201a479b5de5bf226d2b","rollingHash":"0xb95d8d3726fbb93aa79f3c61b1ad04eb"},"remoteMessagesState":{"messagesRollingHash":"0x18247d3634e66eb86bca6af2d9599125","totalMessagesInserted":5,"treeInProgress":0}}
21:10:49 [21:10:49.079]
WARN:
archiver:test Reorging L1 to L2 messages
21:10:49 [21:10:49.986]
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":"0x0860c979003d2b221794781b149da6067c44c01df46a201a479b5de5bf226d2b","rollingHash":"0xb95d8d3726fbb93aa79f3c61b1ad04eb"}}
21:10:49 [21:10:49.988]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
21:10:49 [21:10:49.989]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
21:10:50 [21:10:50.001]
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":"0x1dd3cd62938ba0feb8fdff335db74f18ec928a7452499c50eb184ca282344d4b","rollingHash":"0x47326ebe216763d32da702186357460a"},"messageCount":5}
21:10:50 [21:10:50.089]
INFO:
archiver Stopped.
21:10:50 [21:10:50.091]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:50 [21:10:50.400]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
21:10:51 [21:10:51.152]
INFO:
archiver:test Waiting for archiver to sync to block 1
21:10:51 [21:10:51.209]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x15b4de1be2674906b80bb1316264660726a64fb72d225d6c580f4c66bdb6c205","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194650102,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:51 [21:10:51.254]
INFO:
archiver Stopped.
21:10:51 [21:10:51.255]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:51 [21:10:51.574]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
21:10:52 [21:10:52.328]
INFO:
archiver:test Waiting for archiver to sync to block 1
21:10:52 [21:10:52.389]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x097c48df2bd1c9b31b52b1c96fcbc85b1900aa1f7fef509791c4aad798e6c763","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750194651267,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:52 [21:10:52.431]
INFO:
archiver Stopped.
21:10:52 [21:10:52.433]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:52 [21:10:52.741]
INFO:
archiver:test Syncing archiver to L1 block 6
21:10:52 [21:10:52.742]
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":"0x97cf05c86fcb6c9fdc5a65ead021bcd73c1e5a3114c7e6f18585e3262ea7fd52","l1BlockNumber":0}}
21:10:52 [21:10:52.751]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
21:10:52 [21:10:52.752]
INFO:
archiver Stopped.
21:10:52 [21:10:52.754]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:53 [21:10:53.073]
INFO:
archiver:test Syncing archiver to L1 block 7
21:10:53 [21:10:53.074]
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":"0x07f4bd46e0e9ec2bce08bdd284cc61a936a6d0a54e0d7cdbcd480af8d5390593","l1BlockNumber":0}}
21:10:53 [21:10:53.081]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
21:10:53 [21:10:53.083]
INFO:
archiver Stopped.
21:10:53 [21:10:53.085]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:53 [21:10:53.405]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
21:10:54 [21:10:54.221]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e25ad3c458fe3808cb09405db79b6d2934578037d671b3313c7f385c22e63d5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194653097,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:54 [21:10:54.224]
INFO:
archiver Stopped.
21:10:54 [21:10:54.225]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:54 [21:10:54.539]
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":"0xf2e57c39afda7f8e6c5b659436b375d9aebc0952af5539f76a89665f200a5024","l1BlockNumber":0}}
21:10:54 [21:10:54.541]
INFO:
archiver Stopped.
21:10:54 [21:10:54.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
21:10:57 [21:10:57.274]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a2f860add6b15a1c8219d660f70a6d7be6268a917f87e9f209e467bb99d706e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750194654554,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
21:10:57 [21:10:57.274]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1df0557726525d1d72dec3c4dbc97fe1e1956d6c9ae2e3f050ad37225edfec13","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194654566,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:10:58 [21:10:58.376]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
21:10:59 [21:10:59.413]
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
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:10:59 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
21:10:59 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:10:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:10:59 newBlockNumber: 3,
21:10:59 previousBlockNumber: 1
21:10:59 }
21:10:59 [21:10:59.433]
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":"0x0a2f860add6b15a1c8219d660f70a6d7be6268a917f87e9f209e467bb99d706e","newBlockNumber":3,"updatedL1SyncPoint":70}
21:10:59 [21:10:59.434]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
21:10:59 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
21:10:59 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
21:10:59 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
21:10:59 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
21:10:59 newBlockNumber: 3,
21:10:59 previousBlockNumber: 1
21:10:59 }
21:11:00 [21:11:00.560]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1df0557726525d1d72dec3c4dbc97fe1e1956d6c9ae2e3f050ad37225edfec13","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750194654566,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
21:11:00 [21:11:00.561]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0152d5b8f5c35dc56a9301ab2285abb06929dd7e019d6c286d9f42fcc4845bfc","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750194654578,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
21:11:00 [21:11:00.652]
INFO:
archiver Stopped.
21:11:00
PASS src/archiver/archiver.test.ts (
31.121 s)
21:11:00 Archiver
21:11:00
✓ syncs l1 to l2 messages and blocks (4279 ms)
21:11:00
✓ ignores block 3 because it has been pruned (2770 ms)
21:11:00
✓ skip event search if no changes found (3776 ms)
21:11:00
✓ handles L2 reorg (5826 ms)
21:11:00
✓ handles updated messages due to L1 reorg (1423 ms)
21:11:00
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1164 ms)
21:11:00
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1177 ms)
21:11:00
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (321 ms)
21:11:00
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (331 ms)
21:11:00
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1140 ms)
21:11:00
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (317 ms)
21:11:00
✓ handles a block gap due to a spurious L2 prune (6111 ms)
21:11:00
○ skipped handles an upcoming L2 prune
21:11:00
21:11:00
Test Suites: 1 passed, 1 total
21:11:00
Tests: 1 skipped,
12 passed, 13 total
21:11:00
Snapshots: 0 total
21:11:00
Time: 31.209 s
21:11:00
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
21:11:00
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?