Parent Log:
http://ci.aztec-labs.com/43b01264fa252894
Command: f1d5df06d37e0c0f yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/5c77169d7f01a9e15bc19b05fa231fd96111d7dd
Env: REF_NAME=gh-readonly-queue/next/pr-15042-d5c48d855d83e19712c6b72281801c6fce176ec1 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 15:01:02 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15042_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
15:01:06 [15:01:06.673]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:09 [15:01:09.503]
INFO:
archiver:test Waiting for archiver to sync to block 3
15:01:09 [15:01:09.525]
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":"0x20925adf35e5023bd300d32733bbe0fc903902a6d298170ddb35ea1404f495fd","rollingHash":"0x70f97923a10e5e5ccb7c5ce181fad774"},"messageCount":2}
15:01:09 [15:01:09.631]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1dcca8716800b38ebdae0378cded067cdf6eb176c601cbb3fe455d4fa1b4dd98","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258866668,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:10 [15:01:10.654]
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":"0x29fcbf43bd1a314b77421886b14da778d70a86607136cc8b4ecabe18d728df78","rollingHash":"0x4e257149c352ca75d7ac6bdc5f226000"},"messageCount":4}
15:01:10 [15:01:10.690]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
15:01:10 [15:01:10.898]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2982da4d5aa7193281c614653f5853033ea74138196b58252697679811d05ad2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258866680,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:01:10 [15:01:10.900]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x30102d9735095c7d4c8f6b79c04a32f96da6551f606c12eb36852ae3764ba7c0","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750258866692,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:01:11 [15:01:11.082]
INFO:
archiver Stopped.
15:01:11 [15:01:11.087]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:14 [15:01:14.267]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:01:14 [15:01:14.280]
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":"0x1c1a228ac107277bfcb9557c719bff188ae5e5dd797cc5cea57d5813e79ca5a4","rollingHash":"0x2f6943d0b736c317948af823ecdb3ad3"},"messageCount":2}
15:01:14 [15:01:14.302]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1819b040e8f5fbcbee12aaf8aae471c91bcfb0f10445ca2ef8939ce9d07b6177","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
15:01:14 [15:01:14.408]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1870ecf53b7bf6d620638e79f77cab4cb465e3f8139efa0624c24e0dcb9cff98","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258871098,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:14 [15:01:14.409]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x058c521f0034c90b9bfbafed983328712de55d26c9b07cf191240b22194045e7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258871110,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:01:14 [15:01:14.496]
INFO:
archiver Stopped.
15:01:14 [15:01:14.499]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:17 [15:01:17.502]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:01:18 [15:01:18.528]
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":"0x22bfd2d7256e280f24b081c74d66af6f3fb9e870abc77fdca26326056c519520","rollingHash":"0x6f2fe97187dd4d4b76cf3cdeb2c9ab23"},"messageCount":2}
15:01:18 [15:01:18.687]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2a623eb6a67bb02c91cdbce2446ab941071c44ed089d3e1ef8f53e311c87b84c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258874510,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:18 [15:01:18.688]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1d79780d685e94d9ac9fcd2e827a426dc9eb9867ea93708d6e81da6643a9b3b7","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258874522,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:01:18 [15:01:18.773]
INFO:
archiver Stopped.
15:01:18 [15:01:18.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:21 [15:01:21.821]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:01:21 [15:01:21.881]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
15:01:21 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:01:21 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:01:21 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:01:21 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:01:21 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:01:21 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:01:21 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:01:22 [15:01:22.893]
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":"0x29146f7453d7cd955df66698d7aae8fc0e91965aca158e4196d976ada408a397","rollingHash":"0xe1f91be4b325bd4bb79d85dad9f8bcb0"},"messageCount":2}
15:01:23 [15:01:23.074]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0219be3addbbd55f52f8ca0c60f09ded6bb31773091fe5b821afe893932387d7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258878787,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:23 [15:01:23.075]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c3b0c841794deb98b2ad469df838e384c1b3e64ccf30aafa6f5219b86787522","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258878799,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:01:23 [15:01:23.079]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
15:01:23 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:01:23 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:01:23 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:01:23 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:01:23 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:01:23 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:01:23 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:01:24 [15:01:24.509]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
15:01:24 [15:01:24.521]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
15:01:24 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:01:24 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:01:24 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
15:01:24 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
15:01:24 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
15:01:24 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:01:24 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:01:25 [15:01:25.173]
INFO:
archiver Stopped.
15:01:25 [15:01:25.180]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:25 [15:01:25.638]
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":"0x2bee25c4f1ec10be2644125236ab75bac1e3046e86328383a4ed321c1347db40","rollingHash":"0x95d8c0627ab6343cae4d2be30582e6dd"},"messageCount":6}
15:01:25 [15:01:25.639]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x2bee25c4f1ec10be2644125236ab75bac1e3046e86328383a4ed321c1347db40","rollingHash":"0x95d8c0627ab6343cae4d2be30582e6dd"},"remoteMessagesState":{"messagesRollingHash":"0x66a74f93d53f69ad10397334275241c2","totalMessagesInserted":5,"treeInProgress":0}}
15:01:25 [15:01:25.716]
WARN:
archiver:test Reorging L1 to L2 messages
15:01:26 [15:01:26.658]
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":"0x2bee25c4f1ec10be2644125236ab75bac1e3046e86328383a4ed321c1347db40","rollingHash":"0x95d8c0627ab6343cae4d2be30582e6dd"}}
15:01:26 [15:01:26.672]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
15:01:26 [15:01:26.680]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
15:01:26 [15:01:26.706]
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":"0x1e39892aa2f623d3a6b1102b0cd5c840e2996e6cce52f048d7888f50d9759189","rollingHash":"0xf938e4db55569cfb98f3f83d625073ca"},"messageCount":5}
15:01:26 [15:01:26.764]
INFO:
archiver Stopped.
15:01:26 [15:01:26.776]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:27 [15:01:27.128]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
15:01:27 [15:01:27.963]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:01:28 [15:01:28.059]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c92cf559ff4eef17d7cb03d677aeda336ee327c8642cc7253b29246db89f622","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258886778,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:28 [15:01:28.068]
INFO:
archiver Stopped.
15:01:28 [15:01:28.071]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:28 [15:01:28.443]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
15:01:29 [15:01:29.484]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:01:29 [15:01:29.568]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x14e806cd80086af2ea3f1155878d02904cba4b39603f0fedd9112d8ab229d6b3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750258888082,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:29 [15:01:29.595]
INFO:
archiver Stopped.
15:01:29 [15:01:29.602]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:30 [15:01:30.435]
INFO:
archiver:test Syncing archiver to L1 block 6
15:01:30 [15:01:30.437]
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":"0xb4cffc6702100607aed0da98383f3c4b44ec0cb77ac99f0b01a08832848d31d1","l1BlockNumber":0}}
15:01:30 [15:01:30.486]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
15:01:30 [15:01:30.513]
INFO:
archiver Stopped.
15:01:30 [15:01:30.519]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:31 [15:01:31.072]
INFO:
archiver:test Syncing archiver to L1 block 7
15:01:31 [15:01:31.078]
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":"0xdff7396c35ab052eb382da0cfa45c7195faba3dcc4f673611aa98723bfe467d2","l1BlockNumber":0}}
15:01:31 [15:01:31.095]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
15:01:31 [15:01:31.099]
INFO:
archiver Stopped.
15:01:31 [15:01:31.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:31 [15:01:31.623]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
15:01:32 [15:01:32.608]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x219563466e3d13988061e047ec01ea5dc184cff25cf68e7231b48d328289794e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258891113,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:32 [15:01:32.614]
INFO:
archiver Stopped.
15:01:32 [15:01:32.615]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:33 [15:01:33.006]
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":"0x84d95f893403eddaee38581e66399a91e92e3c4aaed1d2dbfc6af664aeedc343","l1BlockNumber":0}}
15:01:33 [15:01:33.024]
INFO:
archiver Stopped.
15:01:33 [15:01:33.026]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:01:36 [15:01:36.725]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c915f1e854835d09cd496bf9ec4fe2731c8de4d11ae4cea997cd7e6cc22887b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750258893037,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:01:36 [15:01:36.727]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1f773566ffac244f104bb2db457fec1e94f2374aac7e0ef9db28e03d37408eed","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258893049,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:01:37 [15:01:37.890]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
15:01:38 [15:01:38.936]
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
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:01:38 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:01:38 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:01:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:01:38 newBlockNumber: 3,
15:01:38 previousBlockNumber: 1
15:01:38 }
15:01:38 [15:01:38.955]
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":"0x0c915f1e854835d09cd496bf9ec4fe2731c8de4d11ae4cea997cd7e6cc22887b","newBlockNumber":3,"updatedL1SyncPoint":70}
15:01:38 [15:01:38.956]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
15:01:38 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:01:38 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:01:38 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:01:38 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:01:38 newBlockNumber: 3,
15:01:38 previousBlockNumber: 1
15:01:38 }
15:01:40 [15:01:40.107]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1f773566ffac244f104bb2db457fec1e94f2374aac7e0ef9db28e03d37408eed","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750258893049,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:01:40 [15:01:40.108]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0f38a6fe0369a3e6b0d98cd3edc91d13116b76d92f0d809c9d21c4d6c6bbae9c","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750258893061,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:01:40 [15:01:40.204]
INFO:
archiver Stopped.
15:01:40
PASS src/archiver/archiver.test.ts (
36.504 s)
15:01:40 Archiver
15:01:40
✓ syncs l1 to l2 messages and blocks (4430 ms)
15:01:40
✓ ignores block 3 because it has been pruned (3412 ms)
15:01:40
✓ skip event search if no changes found (4275 ms)
15:01:40
✓ handles L2 reorg (6401 ms)
15:01:40
✓ handles updated messages due to L1 reorg (1588 ms)
15:01:40
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1303 ms)
15:01:40
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1526 ms)
15:01:40
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (916 ms)
15:01:40
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (586 ms)
15:01:40
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1513 ms)
15:01:40
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (410 ms)
15:01:40
✓ handles a block gap due to a spurious L2 prune (7179 ms)
15:01:40
○ skipped handles an upcoming L2 prune
15:01:40
15:01:40
Test Suites: 1 passed, 1 total
15:01:40
Tests: 1 skipped,
12 passed, 13 total
15:01:40
Snapshots: 0 total
15:01:40
Time: 36.604 s
15:01:40
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
15:01:40
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?