Parent Log:
http://ci.aztec-labs.com/63b03b0d2f097aa8
Command: 68e9475192d7aeac yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/301dce04331dcfb583b7508b91491de618d4acf4
Env: REF_NAME=gh-readonly-queue/next/pr-15208-9b8ea5acda76687342ddb62595e293281661f029 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Mon Jun 23 10:23:33 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15208_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:23:36 [10:23:36.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:39 [10:23:39.405]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:23:39 [10:23:39.540]
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":"0x06509d7468cf8c6f78929d56190630954555fa2e633ef1d3ba5366e3fc80c0bf","rollingHash":"0x9b625216619bf2efa101e004d5440f1e"},"messageCount":2}
10:23:39 [10:23:39.627]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x094590b85146d8d2b75825030f4ba6f272faf24f6d736c590e4c0406158cb3bf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750674216731,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:23:40 [10:23:40.717]
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":"0x238e3f3478c2b5c2c4b827f7f4ad65a1181ad8707e40b0ac52ddb9c597a46f18","rollingHash":"0x776506f10c8b2a057419ce9a76073cae"},"messageCount":4}
10:23:40 [10:23:40.847]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:23:41 [10:23:41.115]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x13900c732c6b2509eb3a2832a03cda42f044ac2304430e83c3b90bc91a13b4e2","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750674216743,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:23:41 [10:23:41.115]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x002f3e1718688592585910f2caf186d71253b2e31e34e4e46274ca5d424e2f61","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750674216755,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:23:41 [10:23:41.272]
INFO:
archiver Stopped.
10:23:41 [10:23:41.276]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:44 [10:23:44.194]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:23:44 [10:23:44.207]
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":"0x091b275290fd27ccd693463e31aa0876e07f15e66d932ff658e04843e503c36e","rollingHash":"0x9682cd1b80706d78b73c31c8a163857c"},"messageCount":2}
10:23:44 [10:23:44.233]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x299b94fbecfad96a6f19c334f8611534d0469ef1f6ad44cf38393ab4b200885f","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:23:44 [10:23:44.337]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x197d0392cf30b9c36c326b31e90d60327eba268b2638dbf65752bcd02d4f9c62","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750674221286,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:23:44 [10:23:44.338]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x20629c226f0c1bddbacd24201b88d664b09d92c07c3e62ebddff8f8b34135c23","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750674221298,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:23:44 [10:23:44.427]
INFO:
archiver Stopped.
10:23:44 [10:23:44.429]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:47 [10:23:47.009]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:23:48 [10:23:48.031]
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":"0x111f6ef58e32e95162748b4899d2022508d18a9d51513192985977d13fa3ed77","rollingHash":"0x46b525fe19ecf673ea93a4aad304a4f6"},"messageCount":2}
10:23:48 [10:23:48.170]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x20026e740d83bab86473a94c01155d2ef9769734921b5b581aed829f05d3ff28","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750674224441,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:23:48 [10:23:48.170]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x12df190ce2e7d1950a974be2857104fb618494dcabd8e05f22c14b2986a9aebd","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750674224453,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:23:48 [10:23:48.257]
INFO:
archiver Stopped.
10:23:48 [10:23:48.259]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:50 [10:23:50.806]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:23:50 [10:23:50.853]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:23:50 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:23:50 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:23:50 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:23:50 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:23:50 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:23:50 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:23:50 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:23:51 [10:23:51.861]
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":"0x1cc536b0cacd82df9fd23c08b4b98e3d06e4fabf8b399e112d0b22d5d2478466","rollingHash":"0x53399d3bea3a3573114f2702e5297229"},"messageCount":2}
10:23:52 [10:23:52.005]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1d3f737f4cdf4adc8572b7feb898db530f69b1e3c11f41cc97a9005b9f0932bf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750674228271,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:23:52 [10:23:52.006]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x10cb53adbf23125344db8367156f594fdd20330d5d374aec155e8fa1895c1f69","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750674228283,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:23:52 [10:23:52.009]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:23:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:23:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:23:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:23:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:23:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:23:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:23:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:23:53 [10:23:53.107]
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:23:53 [10:23:53.109]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:23:53 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:23:53 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:23:53 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:23:53 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:23:53 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:23:53 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:23:53 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:23:54 [10:23:54.096]
INFO:
archiver Stopped.
10:23:54 [10:23:54.098]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:54 [10:23:54.407]
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":"0x0eb225195d42a5ec655792fe5deb305f85b4219f250ba185b2209ca79a56216f","rollingHash":"0x6a5b4af1e4d81a75e5f49d60646a8db3"},"messageCount":6}
10:23:54 [10:23:54.408]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0eb225195d42a5ec655792fe5deb305f85b4219f250ba185b2209ca79a56216f","rollingHash":"0x6a5b4af1e4d81a75e5f49d60646a8db3"},"remoteMessagesState":{"messagesRollingHash":"0xc0f87a2f093e0ae09fe2264da8f39f7c","totalMessagesInserted":5,"treeInProgress":0}}
10:23:54 [10:23:54.503]
WARN:
archiver:test Reorging L1 to L2 messages
10:23:55 [10:23:55.416]
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":"0x0eb225195d42a5ec655792fe5deb305f85b4219f250ba185b2209ca79a56216f","rollingHash":"0x6a5b4af1e4d81a75e5f49d60646a8db3"}}
10:23:55 [10:23:55.418]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:23:55 [10:23:55.419]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:23:55 [10:23:55.433]
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":"0x02df92766968859d8ef69858d6e80eb1afae17ffdc2f4fda6f5939956aff0713","rollingHash":"0xb62587bae8268a68b0e556a9011f269c"},"messageCount":5}
10:23:55 [10:23:55.520]
INFO:
archiver Stopped.
10:23:55 [10:23:55.524]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:55 [10:23:55.862]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:23:56 [10:23:56.687]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:23:56 [10:23:56.770]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2b8439c07f674217d8cd0b825daaa5c5a3b2cc9eec91834e2a8149c6274872a7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750674235535,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:23:56 [10:23:56.793]
INFO:
archiver Stopped.
10:23:56 [10:23:56.799]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:57 [10:23:57.131]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:23:58 [10:23:58.010]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:23:58 [10:23:58.083]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x19bb4345cf0e3ff0336d24007ddde86a47793ef90c2d6c52f2e1051c9963612d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750674236808,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:23:58 [10:23:58.113]
INFO:
archiver Stopped.
10:23:58 [10:23:58.115]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:58 [10:23:58.454]
INFO:
archiver:test Syncing archiver to L1 block 6
10:23:58 [10:23:58.456]
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":"0x5e34aaf869de3afb51731cf834cd3dfd64bf74a716e9d8f86d523f3404a0ed79","l1BlockNumber":0}}
10:23:58 [10:23:58.475]
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:23:58 [10:23:58.481]
INFO:
archiver Stopped.
10:23:58 [10:23:58.483]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:58 [10:23:58.914]
INFO:
archiver:test Syncing archiver to L1 block 7
10:23:58 [10:23:58.915]
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":"0x3e78b8a950a780d44c30dfbf7a34da73be0dea1bd29c8105d547c8bc99d2196a","l1BlockNumber":0}}
10:23:58 [10:23:58.926]
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:23:58 [10:23:58.931]
INFO:
archiver Stopped.
10:23:58 [10:23:58.951]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:23:59 [10:23:59.350]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:24:00 [10:24:00.324]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x24fab12d1749aea1b28cbc98827de83e24a958be6af0b094c0c8cd88797ce9d5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750674238944,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:24:00 [10:24:00.329]
INFO:
archiver Stopped.
10:24:00 [10:24:00.331]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:00 [10:24:00.743]
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":"0x79c53400ac0e1e4922303d7a41e5eccd50a4b45e817df4232195fcc52fde216f","l1BlockNumber":0}}
10:24:00 [10:24:00.762]
INFO:
archiver Stopped.
10:24:00 [10:24:00.764]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:24:05 [10:24:05.580]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2cc5b8cb3498d69cfae945bb020df1a18e927fda90aaa667d5a75ef26a7574c4","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750674240775,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:24:05 [10:24:05.581]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x225cec0b6503f5f4b7c5bf66cde75df08a0fe82df229cc1a2f09f24e64912113","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750674240787,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:24:06 [10:24:06.762]
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:24:07 [10:24:07.821]
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:24:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:24:07 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:24:07 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:24:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:24:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:24:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:24:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:24:07 newBlockNumber: 3,
10:24:07 previousBlockNumber: 1
10:24:07 }
10:24:07 [10:24:07.852]
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":"0x2cc5b8cb3498d69cfae945bb020df1a18e927fda90aaa667d5a75ef26a7574c4","newBlockNumber":3,"updatedL1SyncPoint":70}
10:24:07 [10:24:07.853]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:24:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:24:07 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:24:07 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:24:07 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:24:07 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:24:07 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:24:07 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:24:07 newBlockNumber: 3,
10:24:07 previousBlockNumber: 1
10:24:07 }
10:24:09 [10:24:09.314]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x225cec0b6503f5f4b7c5bf66cde75df08a0fe82df229cc1a2f09f24e64912113","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750674240787,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:24:09 [10:24:09.315]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x112fb223e281fe903583bb77189683a575430ebc01612043d55cb01b59967ef7","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750674240799,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:24:09 [10:24:09.345]
INFO:
archiver Stopped.
10:24:09
PASS src/archiver/archiver.test.ts (
35.436 s)
10:24:09 Archiver
10:24:09
✓ syncs l1 to l2 messages and blocks (4555 ms)
10:24:09
✓ ignores block 3 because it has been pruned (3154 ms)
10:24:09
✓ skip event search if no changes found (3830 ms)
10:24:09
✓ handles L2 reorg (5839 ms)
10:24:09
✓ handles updated messages due to L1 reorg (1424 ms)
10:24:09
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1272 ms)
10:24:09
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1319 ms)
10:24:09
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (367 ms)
10:24:09
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (450 ms)
10:24:09
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1398 ms)
10:24:09
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (433 ms)
10:24:09
✓ handles a block gap due to a spurious L2 prune (8583 ms)
10:24:09
○ skipped handles an upcoming L2 prune
10:24:09
10:24:09
Test Suites: 1 passed, 1 total
10:24:09
Tests: 1 skipped,
12 passed, 13 total
10:24:09
Snapshots: 0 total
10:24:09
Time: 35.521 s
10:24:09
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:24:09
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?