Parent Log:
http://ci.aztec-labs.com/7bcd1e743e29abf2
Command: b71f9d6a9e3f68ca yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/ee24aac96469b4f1cb8d70e614b2dd27bf0eb134
Env: REF_NAME=gh-readonly-queue/next/pr-15242-1c2c2ee2949dbe31742cc9501a31bf3bce8083cf CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 14:07:07 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15242_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
14:07:11 [14:07:11.783]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:14 [14:07:14.454]
INFO:
archiver:test Waiting for archiver to sync to block 3
14:07:14 [14:07:14.473]
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":"0x257816ae6205a5787ce13f93acd4f498f0db4abdf7cf2c73f6ba20f28dc25fdf","rollingHash":"0x4edfc291f07e2097b9d8ffd868b037e5"},"messageCount":2}
14:07:14 [14:07:14.579]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0b5fe0a7b6d26c0902dcf97723427aa4e82c8c42df0c5ff98d29db23e874a7bc","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774031780,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:15 [14:07:15.602]
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":"0x20892ef40f6b86c626e555cb7c0a992b3d876e17b54c962c207e26a0b62b3885","rollingHash":"0x9aad5b6296199306278002984f790685"},"messageCount":4}
14:07:15 [14:07:15.640]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
14:07:15 [14:07:15.870]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22b23fd71804094f7a652323dbe72d52a715077a264d5496ae23db85f4de290c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774031792,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:15 [14:07:15.871]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0bffe9d2071336a1c3a6633d1511a5f6149e7bd729cced53bdff3c1b4a5bfe29","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750774031804,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:07:16 [14:07:16.071]
INFO:
archiver Stopped.
14:07:16 [14:07:16.074]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:18 [14:07:18.639]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:07:18 [14:07:18.653]
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":"0x13b05ed0364bbbf5e09bd7ddd5d91cbc4d87a77c85c8e5fe89196b1cc77edd71","rollingHash":"0xf0b1687a004574298e29c96e0f18304d"},"messageCount":2}
14:07:18 [14:07:18.684]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x2e739cf7a3a0b6bf103e0b7ff99feafe1920131c50627685ab4f746c165b87e5","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
14:07:18 [14:07:18.800]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e966fe601b513dd512327707d7601dcb370d6d5d99714bb0af3153109913ba5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774036086,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:18 [14:07:18.801]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1432c7bbf1c5692cef73b1004a8b7c8ea951ec5257d17b5535cae773c2605709","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774036098,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:18 [14:07:18.887]
INFO:
archiver Stopped.
14:07:18 [14:07:18.889]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:21 [14:07:21.357]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:07:22 [14:07:22.381]
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":"0x16b702c9480d3aaad4353281e1a23da29aac0fd44a634b3a82669cf52a20f0cd","rollingHash":"0x1e92cef20ba1afda2a6c54a69e7f77e1"},"messageCount":2}
14:07:22 [14:07:22.521]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1b2e99df2c1baffdaf84117a89aca809b115ba2deb50c93a098466919687b1de","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774038901,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:22 [14:07:22.522]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x260fffe7b10a7ea5382bc5aa643ba0c196a98987aa3cb852011f2b3638f3187f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774038913,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:22 [14:07:22.609]
INFO:
archiver Stopped.
14:07:22 [14:07:22.612]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:25 [14:07:25.143]
INFO:
archiver:test Waiting for archiver to sync to block 2
14:07:25 [14:07:25.194]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
14:07:25 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:07:25 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:07:25 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:07:25 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:07:25 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:07:25 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:07:25 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:07:26 [14:07:26.202]
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":"0x069d012353ca16d58fca6acc25ad6ce812972f7cc4e4983d4473dc1aad26f001","rollingHash":"0x2190edd4c37125371339e00b7c963413"},"messageCount":2}
14:07:26 [14:07:26.311]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2399707ed0ab9e96ac933342d1b46366ab9e4f586d00a930f5447995cdcadd93","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774042623,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:26 [14:07:26.312]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22659f415186f38dedfb3945791104e7954ec40e1a4056ebccd4b91f66990a1f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774042635,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:26 [14:07:26.314]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
14:07:26 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:07:26 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:07:26 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:07:26 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:07:26 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:07:26 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:07:26 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:07:27 [14:07:27.456]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
14:07:27 [14:07:27.458]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
14:07:27 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
14:07:27 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
14:07:27 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
14:07:27 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
14:07:27 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
14:07:27 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
14:07:27 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
14:07:28 [14:07:28.405]
INFO:
archiver Stopped.
14:07:28 [14:07:28.408]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:28 [14:07:28.737]
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":"0x088e19889530246ef9f2097b4ad50ef73bb7191d90f134bb0f27eae0ff85c26d","rollingHash":"0x4b22a2606c948c747e51933acba8dc09"},"messageCount":6}
14:07:28 [14:07:28.738]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x088e19889530246ef9f2097b4ad50ef73bb7191d90f134bb0f27eae0ff85c26d","rollingHash":"0x4b22a2606c948c747e51933acba8dc09"},"remoteMessagesState":{"messagesRollingHash":"0x61128457e885b12abad506f2726a512d","totalMessagesInserted":5,"treeInProgress":0}}
14:07:28 [14:07:28.831]
WARN:
archiver:test Reorging L1 to L2 messages
14:07:29 [14:07:29.748]
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":"0x088e19889530246ef9f2097b4ad50ef73bb7191d90f134bb0f27eae0ff85c26d","rollingHash":"0x4b22a2606c948c747e51933acba8dc09"}}
14:07:29 [14:07:29.752]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
14:07:29 [14:07:29.753]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
14:07:29 [14:07:29.782]
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":"0x220b48cbb1c5ec1d42d4d91cf05fab047b71c9ed1555e8b965c60cd42e8989be","rollingHash":"0x74c6f5f3b31ad492a3179ece109deaaa"},"messageCount":5}
14:07:29 [14:07:29.855]
INFO:
archiver Stopped.
14:07:29 [14:07:29.858]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:30 [14:07:30.210]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
14:07:31 [14:07:31.557]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:07:31 [14:07:31.659]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x27e82ae97241e4d021897a892053ffa7617c828dee57c2b2ca101cfe8ef32d2a","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774049869,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:31 [14:07:31.763]
INFO:
archiver Stopped.
14:07:31 [14:07:31.765]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:32 [14:07:32.123]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
14:07:33 [14:07:33.532]
INFO:
archiver:test Waiting for archiver to sync to block 1
14:07:33 [14:07:33.627]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0292d088ad87d16b67bd439395c3d3b1c2b5efe326371271180c4d7a80699807","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750774051776,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:33 [14:07:33.636]
INFO:
archiver Stopped.
14:07:33 [14:07:33.640]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:34 [14:07:34.070]
INFO:
archiver:test Syncing archiver to L1 block 6
14:07:34 [14:07:34.079]
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":"0x4d10cab6e5da80682374bcd442890a9a18833ab7cd2e407d7227a050987fbd6a","l1BlockNumber":0}}
14:07:34 [14:07:34.097]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:07:34 [14:07:34.100]
INFO:
archiver Stopped.
14:07:34 [14:07:34.102]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:34 [14:07:34.488]
INFO:
archiver:test Syncing archiver to L1 block 7
14:07:34 [14:07:34.490]
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":"0xe7fc4b1e347b7f11d449259a0fad596371c56c0b69609176a89dc453cee9357c","l1BlockNumber":0}}
14:07:34 [14:07:34.504]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
14:07:34 [14:07:34.508]
INFO:
archiver Stopped.
14:07:34 [14:07:34.510]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:35 [14:07:35.306]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
14:07:37 [14:07:37.026]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1f461b3a31603dfe80d43769064c4f59697025b6c83984cfeda9687e3d09b911","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774054522,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:37 [14:07:37.098]
INFO:
archiver Stopped.
14:07:37 [14:07:37.103]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:37 [14:07:37.570]
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":"0x804a1c5e973d0ac0db3126b2fd2844a04f8140693552fd479aeb77d86a02e482","l1BlockNumber":0}}
14:07:37 [14:07:37.585]
INFO:
archiver Stopped.
14:07:37 [14:07:37.586]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
14:07:41 [14:07:41.524]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2300c4b11adf47eadcba8f5035b2b1c6becc973aceaea5aecf51f3ef01ee0d63","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750774057598,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
14:07:41 [14:07:41.526]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2c1663fa05d5f9950fb230073355d6b67fd2d9aeacef84e81b6e0bf96e843def","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774057610,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:42 [14:07:42.732]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
14:07:43 [14:07:43.800]
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
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:07:43 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:07:43 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:07:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:07:43 newBlockNumber: 3,
14:07:43 previousBlockNumber: 1
14:07:43 }
14:07:43 [14:07:43.822]
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":"0x2300c4b11adf47eadcba8f5035b2b1c6becc973aceaea5aecf51f3ef01ee0d63","newBlockNumber":3,"updatedL1SyncPoint":70}
14:07:43 [14:07:43.823]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
14:07:43 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
14:07:43 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
14:07:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
14:07:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
14:07:43 newBlockNumber: 3,
14:07:43 previousBlockNumber: 1
14:07:43 }
14:07:44 [14:07:44.986]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2c1663fa05d5f9950fb230073355d6b67fd2d9aeacef84e81b6e0bf96e843def","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750774057610,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
14:07:44 [14:07:44.987]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0cce493255d2d0f1af2e61281f6c93bc4b6e8ad2498d290ee9963686afedd3da","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750774057622,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
14:07:45 [14:07:45.076]
INFO:
archiver Stopped.
14:07:45
PASS src/archiver/archiver.test.ts (
36.377 s)
14:07:45 Archiver
14:07:45
✓ syncs l1 to l2 messages and blocks (4306 ms)
14:07:45
✓ ignores block 3 because it has been pruned (2814 ms)
14:07:45
✓ skip event search if no changes found (3722 ms)
14:07:45
✓ handles L2 reorg (5795 ms)
14:07:45
✓ handles updated messages due to L1 reorg (1449 ms)
14:07:45
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1906 ms)
14:07:45
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1873 ms)
14:07:45
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (464 ms)
14:07:45
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (408 ms)
14:07:45
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2590 ms)
14:07:45
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (486 ms)
14:07:45
✓ handles a block gap due to a spurious L2 prune (7491 ms)
14:07:45
○ skipped handles an upcoming L2 prune
14:07:45
14:07:45
Test Suites: 1 passed, 1 total
14:07:45
Tests: 1 skipped,
12 passed, 13 total
14:07:45
Snapshots: 0 total
14:07:45
Time: 36.47 s
14:07:45
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
14:07:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?