Parent Log:
http://ci.aztec-labs.com/f3d2a68fd552895c
Command: 22a91bf956a4cb93 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/47bd93499e6606131b6ececa3536632cf5e84409
Env: REF_NAME=gh-readonly-queue/next/pr-15080-215be54ba7d05741f58f591612a9e5454104b24d CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 09:35:12 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15080_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
09:35:16 [09:35:16.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:19 [09:35:19.108]
INFO:
archiver:test Waiting for archiver to sync to block 3
09:35:19 [09:35:19.127]
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":"0x228e69f304c1a96773b00430466e7140962abc596c41393e5c6a2beb925202b8","rollingHash":"0xa110cc697a54cc3d71d2e1357e35d9e4"},"messageCount":2}
09:35:19 [09:35:19.206]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x02321d58db2f50d4699b6ccd0f9c996b54afc4843ec8f946b29a59172cd334a9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750239316145,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:20 [09:35:20.227]
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":"0x15b7f1f80b77b51cca072f9f6fb343124c3365fe999a8f6847859fc6a43dd46d","rollingHash":"0x1d2264424f68d247d83fe65348c9e0c8"},"messageCount":4}
09:35:20 [09:35:20.250]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
09:35:20 [09:35:20.379]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x061815edd2edeba99cb1788f4453ef4dcb40a7d616fd1eea6d3b1617e3d7acd1","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750239316157,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:35:20 [09:35:20.380]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x27dc8fffc59f32b8f462a80fb00fb5d5317ab6438e97e2c670a5f9e687e60164","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750239316169,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
09:35:20 [09:35:20.575]
INFO:
archiver Stopped.
09:35:20 [09:35:20.579]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:23 [09:35:23.164]
INFO:
archiver:test Waiting for archiver to sync to block 2
09:35:23 [09:35:23.176]
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":"0x01fcb88bf7196524a6582b4d357983bc229f3b5c4988458a9d034ebdc3ce04a9","rollingHash":"0x22b96adc559ebb94e55b53862800b346"},"messageCount":2}
09:35:23 [09:35:23.210]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0070f828b408a2cc25cdd1de26ad34fba48c23faae736c8eac05a00e1b3c56fa","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
09:35:23 [09:35:23.309]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x290b114551dd6d917cc0e15c7ae98151bfd7825016f5cceecb1ea5126ff8f1a9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750239320590,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:23 [09:35:23.310]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0392bf755c3a8fa0651973c2ffef8dcb566c5e87e2d330acafe578f418c54362","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750239320602,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:35:23 [09:35:23.402]
INFO:
archiver Stopped.
09:35:23 [09:35:23.404]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:25 [09:35:25.878]
INFO:
archiver:test Waiting for archiver to sync to block 2
09:35:27 [09:35:27.141]
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":"0x2b27c06e2fc42f55a823360e7fce73e4b3140e95cb4ea086c836880ae4b6451b","rollingHash":"0x0ac9993606475f38503d6b128357dede"},"messageCount":2}
09:35:27 [09:35:27.290]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1fc61a283dc32b3b722a8cb4584b69c8a2b691ba88ca2fbd839cd0ba7b59c67a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750239323416,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:27 [09:35:27.291]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x04cebe0ad11ee4b05443ff998f700cabc26b632092918f9fd77be7c24ff3c61b","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750239323428,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:35:27 [09:35:27.352]
INFO:
archiver Stopped.
09:35:27 [09:35:27.354]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:30 [09:35:30.061]
INFO:
archiver:test Waiting for archiver to sync to block 2
09:35:30 [09:35:30.132]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
09:35:30 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
09:35:30 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
09:35:30 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
09:35:30 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
09:35:30 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
09:35:30 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
09:35:30 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
09:35:31 [09:35:31.144]
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":"0x1f2bf6437f5ecc4251f596b2328f59c8f7ddd615c86069f7e76bc01e94848c55","rollingHash":"0x68216930d1ec07cf9d4b48cff06455b3"},"messageCount":2}
09:35:31 [09:35:31.311]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b50626b725434752aedfba39f195c60547bddbbdd858c85ae31cc30b362e1d9","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750239327365,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:31 [09:35:31.312]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2022a33799fa1bd1da59624ecdfaf2f94a43749d16fc02871797d5849ccb4cd9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750239327377,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:35:31 [09:35:31.315]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
09:35:31 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
09:35:31 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
09:35:31 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
09:35:31 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
09:35:31 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
09:35:31 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
09:35:31 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
09:35:32 [09:35:32.447]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
09:35:32 [09:35:32.451]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
09:35:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
09:35:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
09:35:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
09:35:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
09:35:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
09:35:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
09:35:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
09:35:33 [09:35:33.405]
INFO:
archiver Stopped.
09:35:33 [09:35:33.407]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:33 [09:35:33.712]
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":"0x017c594ff583391214c7cc0a27d41f17faaf77e95def41879d498b71cdefd4cb","rollingHash":"0x7ab374fd0bba163a468c9d6ad3ec326b"},"messageCount":6}
09:35:33 [09:35:33.713]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x017c594ff583391214c7cc0a27d41f17faaf77e95def41879d498b71cdefd4cb","rollingHash":"0x7ab374fd0bba163a468c9d6ad3ec326b"},"remoteMessagesState":{"messagesRollingHash":"0x6b1dae667095b19f3b0da7e409f90158","totalMessagesInserted":5,"treeInProgress":0}}
09:35:33 [09:35:33.810]
WARN:
archiver:test Reorging L1 to L2 messages
09:35:34 [09:35:34.729]
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":"0x017c594ff583391214c7cc0a27d41f17faaf77e95def41879d498b71cdefd4cb","rollingHash":"0x7ab374fd0bba163a468c9d6ad3ec326b"}}
09:35:34 [09:35:34.732]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
09:35:34 [09:35:34.735]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
09:35:34 [09:35:34.750]
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":"0x0f6f9dbab91cdfb20f4a75293534a926454f1da6316ae9485b7bfc6153d6fbbb","rollingHash":"0x34f25466df50361f7d932436303bf779"},"messageCount":5}
09:35:34 [09:35:34.843]
INFO:
archiver Stopped.
09:35:34 [09:35:34.845]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:35 [09:35:35.233]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
09:35:36 [09:35:36.108]
INFO:
archiver:test Waiting for archiver to sync to block 1
09:35:36 [09:35:36.210]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1a417c990458ed33045e8341edff7bcfb597cdb4f70734129e5231ecac51068c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750239334856,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:36 [09:35:36.238]
INFO:
archiver Stopped.
09:35:36 [09:35:36.243]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:36 [09:35:36.669]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
09:35:37 [09:35:37.675]
INFO:
archiver:test Waiting for archiver to sync to block 1
09:35:37 [09:35:37.768]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1aa22e505154e35d0d65823fd3ac3162481537ef6fb2c5c47138f5a9e73cc4a1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750239336252,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:37 [09:35:37.779]
INFO:
archiver Stopped.
09:35:37 [09:35:37.782]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:38 [09:35:38.463]
INFO:
archiver:test Syncing archiver to L1 block 6
09:35:38 [09:35:38.477]
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":"0x3fa59e91031a6bf90274f030740f29146a19a30ff21cbe5c2fcc975076ca6b9f","l1BlockNumber":0}}
09:35:38 [09:35:38.492]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
09:35:38 [09:35:38.495]
INFO:
archiver Stopped.
09:35:38 [09:35:38.496]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:38 [09:35:38.892]
INFO:
archiver:test Syncing archiver to L1 block 7
09:35:38 [09:35:38.894]
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":"0xcf19e9943c0231ec251d8585741314039bd3d6b7f3929bd5182630d1a1617f60","l1BlockNumber":0}}
09:35:38 [09:35:38.903]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
09:35:38 [09:35:38.906]
INFO:
archiver Stopped.
09:35:38 [09:35:38.908]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:40 [09:35:40.148]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
09:35:41 [09:35:41.302]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2ecaa1c2f2705f32fdcbbe6eedc13ea53f9c5898bc2e945affef8c2cb3bc7576","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750239338919,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:41 [09:35:41.308]
INFO:
archiver Stopped.
09:35:41 [09:35:41.310]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:41 [09:35:41.712]
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":"0xa60b7f744831bae41a51c7966e45c2f68d19db983e68e0b3deffde44ea22158c","l1BlockNumber":0}}
09:35:41 [09:35:41.735]
INFO:
archiver Stopped.
09:35:41 [09:35:41.737]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
09:35:45 [09:35:45.256]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x01478076f48288ef8325d0dfe0d8d62b7b4e73d982cf42b25a36d5ac5f79387e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750239341749,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
09:35:45 [09:35:45.258]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2e43220f52a8e19c3a81b9c169df7521a5d2b5fbe9e57e66be1e290f779601b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750239341761,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:35:46 [09:35:46.463]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
09:35:47 [09:35:47.517]
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
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
09:35:47 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
09:35:47 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:35:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:35:47 newBlockNumber: 3,
09:35:47 previousBlockNumber: 1
09:35:47 }
09:35:47 [09:35:47.540]
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":"0x01478076f48288ef8325d0dfe0d8d62b7b4e73d982cf42b25a36d5ac5f79387e","newBlockNumber":3,"updatedL1SyncPoint":70}
09:35:47 [09:35:47.541]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
09:35:47 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
09:35:47 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
09:35:47 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
09:35:47 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
09:35:47 newBlockNumber: 3,
09:35:47 previousBlockNumber: 1
09:35:47 }
09:35:48 [09:35:48.729]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2e43220f52a8e19c3a81b9c169df7521a5d2b5fbe9e57e66be1e290f779601b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750239341761,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
09:35:48 [09:35:48.730]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x03756180c6634b1166beb0454b1d0b9c925510887fe53017983c1590f671767d","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750239341773,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
09:35:48 [09:35:48.822]
INFO:
archiver Stopped.
09:35:48
PASS src/archiver/archiver.test.ts (
35.631 s)
09:35:48 Archiver
09:35:48
✓ syncs l1 to l2 messages and blocks (4445 ms)
09:35:48
✓ ignores block 3 because it has been pruned (2825 ms)
09:35:48
✓ skip event search if no changes found (3949 ms)
09:35:48
✓ handles L2 reorg (6053 ms)
09:35:48
✓ handles updated messages due to L1 reorg (1437 ms)
09:35:48
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1395 ms)
09:35:48
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1540 ms)
09:35:48
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (714 ms)
09:35:48
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (411 ms)
09:35:48
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2402 ms)
09:35:48
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (427 ms)
09:35:48
✓ handles a block gap due to a spurious L2 prune (7087 ms)
09:35:48
○ skipped handles an upcoming L2 prune
09:35:48
09:35:48
Test Suites: 1 passed, 1 total
09:35:48
Tests: 1 skipped,
12 passed, 13 total
09:35:48
Snapshots: 0 total
09:35:48
Time: 35.719 s
09:35:48
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
09:35:48
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?