Parent Log:
http://ci.aztec-labs.com/c38ea5f9f89d6d6c
Command: 02087f8fc23cff6c yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/78d87cb88633aee537d022d6fd8e57ceb74a3a95
Env: REF_NAME=gh-readonly-queue/next/pr-15024-78a5deb1c3aa24503935bbda20f9374ba35aa5c4 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Wed Jun 18 10:48:42 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15024_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:48:46 [10:48:46.330]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:49 [10:48:49.443]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:48:49 [10:48:49.458]
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":"0x01fb9b153fe3b51eeefdb276ced7d6a3d3bdc9dc1b62bb5c3c63db70c726dd46","rollingHash":"0xa6003280afe39b9d3b8fc3c3daacae7d"},"messageCount":2}
10:48:49 [10:48:49.543]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e38f81c4cefc0b39892c0c2fc8f943c8bc2e64b4f8563d93dbaf69bfce85da3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750243726311,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:48:50 [10:48:50.564]
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":"0x2ae52d2145843a638f1a8a92b727fe7617166ee98b96ae13971ac9662b6084aa","rollingHash":"0x1a418c36441dab8d394bcb362c6da3c7"},"messageCount":4}
10:48:50 [10:48:50.600]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:48:50 [10:48:50.781]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x172910681d99ad4d6591fd2280a3adc395cd7c64e4e5cd5f02ed6851bb1fa3f9","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750243726323,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:48:50 [10:48:50.782]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x03b4d31c3785284906807ee484edac3460f3e991bb704bed1c22d5b4840050ae","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750243726335,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:48:50 [10:48:50.966]
INFO:
archiver Stopped.
10:48:50 [10:48:50.971]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:53 [10:48:53.514]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:48:53 [10:48:53.527]
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":"0x08111a01ff083ec8668b85a170dd26379bde0b9416b86798695de266a513dc42","rollingHash":"0x1e3dde77729653ac54085e3cbf85d588"},"messageCount":2}
10:48:53 [10:48:53.560]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0a08f70ecec5155b16691a743da10d0ab2c5522506c6f50b7d5c889057a82439","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:48:53 [10:48:53.723]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x111c2d3f8cf3e0f40c6d81e60e909e9646da61df82a3677111f24582a53ac072","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750243730983,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:48:53 [10:48:53.724]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x03b5c659fc0f3d11ddbedf8b85f2fe8caea6b5db3bc52c42757dfb024020d070","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750243730995,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:48:53 [10:48:53.811]
INFO:
archiver Stopped.
10:48:53 [10:48:53.814]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:48:56 [10:48:56.599]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:48:57 [10:48:57.623]
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":"0x2e51ea4642cde56337f9193be8a99790250997b9f107da0be74481aec4ff18c1","rollingHash":"0x44e52ed018ea47f9ec1c86b5f50ed06c"},"messageCount":2}
10:48:57 [10:48:57.792]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x061fdc828eb0f6e3b51ebf7fec01f5c1ff42f6de5acea52324ac9f86d4394757","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750243733826,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:48:57 [10:48:57.793]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1be562dfd6321c77a21d93b4a2afcc1cf84c6efe297f74a04752a92609db87db","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750243733838,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:48:57 [10:48:57.883]
INFO:
archiver Stopped.
10:48:57 [10:48:57.885]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:00 [10:49:00.507]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:49:00 [10:49:00.568]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:49:00 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:49:00 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:49:00 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:49:00 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:49:00 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:49:00 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:49:00 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:49:01 [10:49:01.579]
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":"0x193389de098e08de89b9f8bba382a4f68a5656311cb00821a630dda83a74244e","rollingHash":"0xafddb357f3ea4d414b304e25ff7d3cf8"},"messageCount":2}
10:49:01 [10:49:01.708]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0a744c02f2be8c22c331bfef7ed45363047a44d07b6f6db572836976027bbacf","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750243737897,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:49:01 [10:49:01.709]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x07279958d8881e77da60639ab468363d2e91167dd5ccf18d8108d5f375d8c87e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750243737909,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:49:01 [10:49:01.711]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:49:01 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:49:01 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:49:01 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:49:01 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:49:01 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:49:01 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:49:01 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:49:02 [10:49:02.845]
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:49:02 [10:49:02.848]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:49:02 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:49:02 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:49:02 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
10:49:02 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
10:49:02 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
10:49:02 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:49:02 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:49:03 [10:49:03.807]
INFO:
archiver Stopped.
10:49:03 [10:49:03.811]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:04 [10:49:04.170]
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":"0x1fd609a708f61aa8e72992b29ef58c1172f104ba13e747285f9bd1aa4c60f0ec","rollingHash":"0x07afe48d78595a05ab0f70646bb2ee30"},"messageCount":6}
10:49:04 [10:49:04.171]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x1fd609a708f61aa8e72992b29ef58c1172f104ba13e747285f9bd1aa4c60f0ec","rollingHash":"0x07afe48d78595a05ab0f70646bb2ee30"},"remoteMessagesState":{"messagesRollingHash":"0x2eee0f5fac120f726bca2f35ee74af84","totalMessagesInserted":5,"treeInProgress":0}}
10:49:04 [10:49:04.267]
WARN:
archiver:test Reorging L1 to L2 messages
10:49:05 [10:49:05.183]
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":"0x1fd609a708f61aa8e72992b29ef58c1172f104ba13e747285f9bd1aa4c60f0ec","rollingHash":"0x07afe48d78595a05ab0f70646bb2ee30"}}
10:49:05 [10:49:05.188]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:49:05 [10:49:05.202]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:49:05 [10:49:05.218]
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":"0x181fd1d31da923a6dd275786e6c4e4c4fbe963e16834f0c0ab2fdcb5e8ddf2d3","rollingHash":"0x15456ae7bfcfff85abc70ec0ce1caa65"},"messageCount":5}
10:49:05 [10:49:05.313]
INFO:
archiver Stopped.
10:49:05 [10:49:05.316]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:05 [10:49:05.719]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:49:06 [10:49:06.725]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:49:06 [10:49:06.895]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x19727bc9631c0b0797c91e9ddc0d96fa81605f07d48c64c56bcf59cd81c44540","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750243745327,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:49:06 [10:49:06.969]
INFO:
archiver Stopped.
10:49:06 [10:49:06.973]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:07 [10:49:07.383]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:49:08 [10:49:08.719]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:49:09 [10:49:09.045]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x13157fa0ed1696dcbf85a6b7c0ee6cef05ae10e0dc952faad390c1b7223ba2df","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750243746984,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:49:09 [10:49:09.126]
INFO:
archiver Stopped.
10:49:09 [10:49:09.128]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:09 [10:49:09.852]
INFO:
archiver:test Syncing archiver to L1 block 6
10:49:09 [10:49:09.859]
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":"0x1413177b639515663ca7df71e11099a52b81d375b33646d893c52bfbf50981a5","l1BlockNumber":0}}
10:49:09 [10:49:09.880]
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:49:09 [10:49:09.882]
INFO:
archiver Stopped.
10:49:09 [10:49:09.884]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:10 [10:49:10.305]
INFO:
archiver:test Syncing archiver to L1 block 7
10:49:10 [10:49:10.307]
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":"0x4955708448630284d98c2a09601dc34cd8c86ab7ec09579944b5d44c1c38dc7d","l1BlockNumber":0}}
10:49:10 [10:49:10.340]
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:49:10 [10:49:10.347]
INFO:
archiver Stopped.
10:49:10 [10:49:10.355]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:10 [10:49:10.882]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:49:11 [10:49:11.910]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2e39dafe22853943b47d356d4a04cf416ca384352914f8c5ade909b9d56c678a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750243750364,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:49:11 [10:49:11.916]
INFO:
archiver Stopped.
10:49:11 [10:49:11.920]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:12 [10:49:12.305]
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":"0xbba6abd8f59468b61290e9c5fcfcb5db5056e4144568c479da76982315953e46","l1BlockNumber":0}}
10:49:12 [10:49:12.324]
INFO:
archiver Stopped.
10:49:12 [10:49:12.327]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:49:16 [10:49:16.023]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1f1dc201ba032f372393c423376e1978639cb2cd6ff7d1b8de3c4190f0b42849","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750243752338,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:49:16 [10:49:16.025]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x298357f0f88bf2be8cb89899c55005b7cc9ffab33c2cbd2442bb35ff5684b1b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750243752350,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:49:17 [10:49:17.165]
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:49:18 [10:49:18.230]
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:49:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:49:18 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:49:18 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
10:49:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:49:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:49:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:49:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:49:18 newBlockNumber: 3,
10:49:18 previousBlockNumber: 1
10:49:18 }
10:49:18 [10:49:18.257]
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":"0x1f1dc201ba032f372393c423376e1978639cb2cd6ff7d1b8de3c4190f0b42849","newBlockNumber":3,"updatedL1SyncPoint":70}
10:49:18 [10:49:18.260]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:49:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
10:49:18 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:49:18 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
10:49:18 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:49:18 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:49:18 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:49:18 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:49:18 newBlockNumber: 3,
10:49:18 previousBlockNumber: 1
10:49:18 }
10:49:19 [10:49:19.432]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x298357f0f88bf2be8cb89899c55005b7cc9ffab33c2cbd2442bb35ff5684b1b4","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750243752350,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:49:19 [10:49:19.433]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x00e9ca9bbbc6745e50a9c701dbd21f6abf2ad0c9cbcb1dc35beab12a83e9d107","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750243752362,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:49:19 [10:49:19.523]
INFO:
archiver Stopped.
10:49:19
PASS src/archiver/archiver.test.ts (
36.27 s)
10:49:19 Archiver
10:49:19
✓ syncs l1 to l2 messages and blocks (4671 ms)
10:49:19
✓ ignores block 3 because it has been pruned (2842 ms)
10:49:19
✓ skip event search if no changes found (4071 ms)
10:49:19
✓ handles L2 reorg (5924 ms)
10:49:19
✓ handles updated messages due to L1 reorg (1505 ms)
10:49:19
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1655 ms)
10:49:19
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (2156 ms)
10:49:19
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (755 ms)
10:49:19
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (465 ms)
10:49:19
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1569 ms)
10:49:19
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (407 ms)
10:49:19
✓ handles a block gap due to a spurious L2 prune (7198 ms)
10:49:19
○ skipped handles an upcoming L2 prune
10:49:19
10:49:19
Test Suites: 1 passed, 1 total
10:49:19
Tests: 1 skipped,
12 passed, 13 total
10:49:19
Snapshots: 0 total
10:49:19
Time: 36.358 s
10:49:19
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:49:19
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?