Parent Log:
http://ci.aztec-labs.com/5b033f030d6cee54
Command: 53e9b8d3e8ba3411 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/f4ac84d7ac4041d505399edd8819840bb14d6c9d
Env: REF_NAME=gh-readonly-queue/master/pr-15005-b1b65bcdbd44a49fbebe5d2265256dc9466e92be CURRENT_VERSION=0.87.8 CI_FULL=1
Date: Fri Jun 13 17:09:31 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15005_amd64_x1-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_master
17:09:35 [17:09:35.023]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:39 [17:09:39.342]
INFO:
archiver:test Waiting for archiver to sync to block 3
17:09:39 [17:09:39.361]
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":"0x0ac1f7a6eae580946765d2e3f9cb58732360453902f72441d62927d44d891b68","rollingHash":"0xf42ec9707034db224fb7f6036c8b8017"},"messageCount":2}
17:09:39 [17:09:39.460]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2f1e6f595545a5879ec98eb03e65042b9c67037ab9ca0ebf8fe1dc871164f374","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749834575030,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:09:40 [17:09:40.483]
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":"0x0573713be239872b3e2e81158737386db4512d867af5efd6689a43ed69cf31c6","rollingHash":"0xccc15617647d07ff172db58325dd94be"},"messageCount":4}
17:09:40 [17:09:40.516]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
17:09:40 [17:09:40.690]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x290dbc5df037cc6f2d00d558715f8259fe342c99b2288de3883b526769933379","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749834575042,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:09:40 [17:09:40.692]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2164b2cf57c3d33a769ec05d9bf7e603c65f3e81a8468042b6a51482c202c472","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1749834575054,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:09:40 [17:09:40.862]
INFO:
archiver Stopped.
17:09:40 [17:09:40.866]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:44 [17:09:44.903]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:09:44 [17:09:44.914]
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":"0x1621ce0c84604042ad7f931cfa11faaa90ed0d128d6e209eb379f04abdb8b8a1","rollingHash":"0xab8dbac9d89fd224221e1398067a7583"},"messageCount":2}
17:09:44 [17:09:44.930]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x0925daed5a8ca90b56a5fde96ee95c89ec8f0f240193a980b72adeab4bf5b394","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
17:09:45 [17:09:45.030]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2e2ea9c8cd109e3a47a411c81226c4cd4c2fb0ebc529ead9fc2c74f2f6235995","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749834580878,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:09:45 [17:09:45.031]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2cd2f256d3e515f04fa275e1b9dc50a2d743d4eebca88f961d07ba6b23809e88","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749834580890,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:09:45 [17:09:45.119]
INFO:
archiver Stopped.
17:09:45 [17:09:45.121]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:49 [17:09:49.039]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:09:50 [17:09:50.065]
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":"0x2152caa562fa84fe582303ba953ed849d6e5e8cd7cba0efe230cdf68c3714124","rollingHash":"0x50d75c6b9931594363f54e88f101e4dc"},"messageCount":2}
17:09:50 [17:09:50.173]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1fd846847b5ca569fe78a66787cda902d289008f85ce1eda84aa808e97ba2aad","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749834585133,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:09:50 [17:09:50.174]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x22d909d53205654178aa12600507206109d036b56a38f55ff1c48ffe4710e79d","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749834585145,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:09:50 [17:09:50.262]
INFO:
archiver Stopped.
17:09:50 [17:09:50.264]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:54 [17:09:54.314]
INFO:
archiver:test Waiting for archiver to sync to block 2
17:09:54 [17:09:54.354]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
17:09:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:09:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
17:09:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
17:09:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
17:09:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
17:09:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:09:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:09:55 [17:09:55.365]
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":"0x2b2805636f09b5c58e3bab27d4c48408242af91db21df156c63d745a8c4d9ffa","rollingHash":"0xc51924dc4d744c3ca135040ef3961605"},"messageCount":2}
17:09:55 [17:09:55.467]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e342a17a916c796cfcb5c17a0a143e1f328b8283c8a3befb76a3a554ef9463e","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749834590275,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:09:55 [17:09:55.468]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0ed547eabf62a6571b553029e23448ec7768d59514c5f8f8cb5ff4d5fe2404e6","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749834590287,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:09:55 [17:09:55.470]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
17:09:55 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:09:55 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
17:09:55 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
17:09:55 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
17:09:55 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
17:09:55 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:09:55 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:09:56 [17:09:56.574]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
17:09:56 [17:09:56.576]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
17:09:56 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
17:09:56 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:318:9)
17:09:56 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:365:20)
17:09:56 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:378:28)
17:09:56 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:331:34)
17:09:56 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
17:09:56 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
17:09:57 [17:09:57.568]
INFO:
archiver Stopped.
17:09:57 [17:09:57.575]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:57 [17:09:57.916]
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":"0x0e1e25d7a09a1aeab154050d161f7091b8d7c882aa177c91f519f711e03b030a","rollingHash":"0xa8bbbd3d7bd3032dcaeabdbcc0338756"},"messageCount":6}
17:09:57 [17:09:57.916]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0e1e25d7a09a1aeab154050d161f7091b8d7c882aa177c91f519f711e03b030a","rollingHash":"0xa8bbbd3d7bd3032dcaeabdbcc0338756"},"remoteMessagesState":{"messagesRollingHash":"0x06fcb3d58a632d7da134ea3ff90ed695","totalMessagesInserted":5,"treeInProgress":0}}
17:09:58 [17:09:58.009]
WARN:
archiver:test Reorging L1 to L2 messages
17:09:58 [17:09:58.925]
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":"0x0e1e25d7a09a1aeab154050d161f7091b8d7c882aa177c91f519f711e03b030a","rollingHash":"0xa8bbbd3d7bd3032dcaeabdbcc0338756"}}
17:09:58 [17:09:58.927]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
17:09:58 [17:09:58.928]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
17:09:58 [17:09:58.942]
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":"0x23a001fecd5d9b87040ead10d28d47d7b1e060ef004b6a912f9e06d8dd86523b","rollingHash":"0x81beb2a521117bbd28d4c4ae55ea98e6"},"messageCount":5}
17:09:59 [17:09:59.026]
INFO:
archiver Stopped.
17:09:59 [17:09:59.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:09:59 [17:09:59.323]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
17:10:00 [17:10:00.378]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:10:00 [17:10:00.448]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1bd220858f4798f6761539b297d13e3d5a49d7f580480dccb5102d47d1e9ffdd","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":2,"timestamp":1749834599039,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:10:00 [17:10:00.480]
INFO:
archiver Stopped.
17:10:00 [17:10:00.482]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:00 [17:10:00.734]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
17:10:02 [17:10:02.052]
INFO:
archiver:test Waiting for archiver to sync to block 1
17:10:02 [17:10:02.137]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2f10ec40372857a7dc4040acca1296d878a008c801ee9cfbba1a8f3d8e5ddb49","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":3,"timestamp":1749834600493,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:10:02 [17:10:02.156]
INFO:
archiver Stopped.
17:10:02 [17:10:02.158]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:02 [17:10:02.449]
INFO:
archiver:test Syncing archiver to L1 block 6
17:10:02 [17:10:02.450]
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":"0x5b13e6cb7ed930f42d5a530c477dffa83075fc480b2f90169a72f31327961aa2","l1BlockNumber":0}}
17:10:02 [17:10:02.477]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000006","l1BlockNumber":6}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
17:10:02 [17:10:02.481]
INFO:
archiver Stopped.
17:10:02 [17:10:02.483]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:02 [17:10:02.809]
INFO:
archiver:test Syncing archiver to L1 block 7
17:10:02 [17:10:02.810]
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":"0x0ca070d5eb34487ad79c29510d210156249286102fa44e8cbcb949496feb4353","l1BlockNumber":0}}
17:10:02 [17:10:02.868]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7,"messagesSynchedTo":{"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000007","l1BlockNumber":7}},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
17:10:02 [17:10:02.872]
INFO:
archiver Stopped.
17:10:02 [17:10:02.874]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:03 [17:10:03.136]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
17:10:04 [17:10:04.449]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x013bcae47bcf82aff59c3426b9dde082d812c032175edfa2e1c38e71e3c17292","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749834602886,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:10:04 [17:10:04.454]
INFO:
archiver Stopped.
17:10:04 [17:10:04.455]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:04 [17:10:04.741]
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":"0x1fbd94ea25bf9588a450fd26d60a787acf3cb47770aab224b7c828913fc869a3","l1BlockNumber":0}}
17:10:04 [17:10:04.751]
INFO:
archiver Stopped.
17:10:04 [17:10:04.752]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
17:10:09 [17:10:09.641]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25cea475e474b547ef6febbb05899b1c121729c32214e7bdc37e861de9c2c499","blockNumber":1,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":1,"slotNumber":1,"timestamp":1749834604764,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
17:10:09 [17:10:09.642]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x274a98e728de2b8a3f3f172ca1a20da308ac7a1b64766ef93050574edcb523ca","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749834604776,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:10:10 [17:10:10.747]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
17:10:11 [17:10:11.805]
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
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
17:10:11 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:10:11 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1398:7
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:10:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:10:11 newBlockNumber: 3,
17:10:11 previousBlockNumber: 1
17:10:11 }
17:10:11 [17:10:11.827]
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":"0x25cea475e474b547ef6febbb05899b1c121729c32214e7bdc37e861de9c2c499","newBlockNumber":3,"updatedL1SyncPoint":70}
17:10:11 [17:10:11.828]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:78:15
17:10:11 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
17:10:11 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:68:12)
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1398:7
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
17:10:11 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
17:10:11 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
17:10:11 newBlockNumber: 3,
17:10:11 previousBlockNumber: 1
17:10:11 }
17:10:12 [17:10:12.964]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x274a98e728de2b8a3f3f172ca1a20da308ac7a1b64766ef93050574edcb523ca","blockNumber":2,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":2,"slotNumber":2,"timestamp":1749834604776,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
17:10:12 [17:10:12.965]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x06a3a74a902fe8b4f797a6c409ccfe3b43df71d5bae7204dd71d2c9ff3cbaf44","blockNumber":3,"txCount":4,"globalVariables":{"chainId":1,"version":1,"blockNumber":3,"slotNumber":3,"timestamp":1749834604788,"coinbase":"0x0000000000000000000000000000000000000705","feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","feePerDaGas":1799,"feePerL2Gas":1800},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
17:10:13 [17:10:13.051]
INFO:
archiver Stopped.
17:10:13
PASS src/archiver/archiver.test.ts (
40.601 s)
17:10:13 Archiver
17:10:13
✓ syncs l1 to l2 messages and blocks (5847 ms)
17:10:13
✓ ignores block 3 because it has been pruned (4255 ms)
17:10:13
✓ skip event search if no changes found (5142 ms)
17:10:13
✓ handles L2 reorg (7307 ms)
17:10:13
✓ handles updated messages due to L1 reorg (1453 ms)
17:10:13
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1454 ms)
17:10:13
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1676 ms)
17:10:13
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (324 ms)
17:10:13
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (391 ms)
17:10:13
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1581 ms)
17:10:13
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (296 ms)
17:10:13
✓ handles a block gap due to a spurious L2 prune (8300 ms)
17:10:13
○ skipped handles an upcoming L2 prune
17:10:13
17:10:13
Test Suites: 1 passed, 1 total
17:10:13
Tests: 1 skipped,
12 passed, 13 total
17:10:13
Snapshots: 0 total
17:10:13
Time: 40.663 s
17:10:13
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
17:10:13
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?