Parent Log:
http://ci.aztec-labs.com/5effbf81648bcc45
Command: 9be88ec31768242f yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/d20f79089216edeeff0ae1b191f645fa82ba33b6
Env: REF_NAME=gh-readonly-queue/next/pr-14967-082468f0c1e7e5424b3654b5be0f3560eed7e487 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Thu Jun 12 12:11:20 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-14967_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
12:11:23 [12:11:23.352]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:26 [12:11:26.045]
INFO:
archiver:test Waiting for archiver to sync to block 3
12:11:26 [12:11:26.069]
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":"0x00df8fe270be98d284ad44c88210e06023b0f3ca2dedcffc59f37a17676637a0","rollingHash":"0x16ecbe52501a7309e0813e169ba9509f"},"messageCount":2}
12:11:26 [12:11:26.153]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2b54bfb89311077dab381e128adc4d0724fb45e66c417d3117e47f25b325d960","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730283361,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:27 [12:11:27.200]
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":"0x0948cd5b99eec23344dcd684e890055f035a5ff21d3e4c19b978be321de962f8","rollingHash":"0x7aac486f3d1998d791b7a3c2ac171561"},"messageCount":4}
12:11:27 [12:11:27.256]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
12:11:27 [12:11:27.399]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x06eb14c98c8ac9aac75d640d4aae7778f01e1d1edf9781d807381c73208d98ee","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730283373,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:11:27 [12:11:27.400]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0fd70724666b9e56b5aaca466e1811a7d732dbf5b4ae952880d34144d2dcce9d","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749730283385,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
12:11:27 [12:11:27.554]
INFO:
archiver Stopped.
12:11:27 [12:11:27.558]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:30 [12:11:30.088]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:11:30 [12:11:30.097]
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":"0x26f55c746493b8fe612ad9997578922a1a78c609f19793ac3c5824ac12a67ab7","rollingHash":"0x02ed3a16d5a836eb81550c953763a1fb"},"messageCount":2}
12:11:30 [12:11:30.113]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x100907a903db0addf9948bf8959993e7358c4d863b236bd45f0c9ff565950b8e","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
12:11:30 [12:11:30.192]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0ecf73cb15e16ed01943238d4b02aa53e9569c3b1fbfca77bf5ec1408592658e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730287569,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:30 [12:11:30.193]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1c8c834a361a42efd0f257ad4f7fd99baea82d563bae4261cb20e978bdee04a6","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730287581,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:11:30 [12:11:30.293]
INFO:
archiver Stopped.
12:11:30 [12:11:30.294]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:32 [12:11:32.774]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:11:33 [12:11:33.795]
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":"0x142ddfb753fc018336763a041115ac3f1a43e244f9362a43dc5904a649f099bc","rollingHash":"0xd31425a634ff58747c84d5e2790c24ae"},"messageCount":2}
12:11:33 [12:11:33.890]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x05da773fd765f942d3ef3d59d4f0d3c8a428af01a57ec7381f008d0ac8f8578e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730290306,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:33 [12:11:33.890]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2402ca10ac1850dceee25b64b90c54f31319a6e4004155a65aaa94a93ff4862d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730290318,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:11:33 [12:11:33.983]
INFO:
archiver Stopped.
12:11:33 [12:11:33.984]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:36 [12:11:36.465]
INFO:
archiver:test Waiting for archiver to sync to block 2
12:11:36 [12:11:36.503]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
12:11:36 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:11:36 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
12:11:36 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:11:36 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:11:36 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:11:36 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:11:36 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:11:37 [12:11:37.509]
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":"0x22ca51ed721bde5ba4eb030ed4a7a0a534035d9a0ef335fab3b7727c738f7ffa","rollingHash":"0xb5b47c95795e23478d4d923531653034"},"messageCount":2}
12:11:37 [12:11:37.606]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x27e8eb0e776b6d3829b6fcf325c6b7177636caaf71dca3b74428b6e4dbcaf303","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730293996,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:37 [12:11:37.607]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x212c5911d405e7864358cb43b23ad6c75f12eca5ea6ca02b2d2e82d215798363","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730294008,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:11:37 [12:11:37.609]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
12:11:37 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:11:37 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
12:11:37 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:11:37 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:11:37 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:11:37 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:11:37 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:11:38 [12:11:38.692]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
12:11:38 [12:11:38.694]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
12:11:38 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
12:11:38 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:326:9)
12:11:38 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:366:20)
12:11:38 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:379:28)
12:11:38 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:332:34)
12:11:38 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:11:38 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:11:39 [12:11:39.710]
ERROR:
archiver Error in running promise: TypeError: (intermediate value) is not iterable
12:11:39 at Archiver.handleL2blocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:595:7)
12:11:39 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:326:28)
12:11:39 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
12:11:39 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
12:11:39 at RunningPromise.stop (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:82:9)
12:11:39 at Archiver.stop (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:882:5)
12:11:39 at Object.<anonymous> (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.test.ts:248:5)
12:11:39 [12:11:39.710]
INFO:
archiver Stopped.
12:11:39 [12:11:39.711]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:39 [12:11:39.960]
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":"0x10e3aa270dd5338b3dbb53de70bb7d2395210a66b423a50af772ceb889e1a112","rollingHash":"0xd495de957f9f9489b894f107de719ac2"},"messageCount":6}
12:11:39 [12:11:39.961]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x10e3aa270dd5338b3dbb53de70bb7d2395210a66b423a50af772ceb889e1a112","rollingHash":"0xd495de957f9f9489b894f107de719ac2"},"remoteMessagesState":{"messagesRollingHash":"0x3fab952390c2518cfe51c0074ce5c72f","totalMessagesInserted":5,"treeInProgress":0}}
12:11:40 [12:11:40.060]
WARN:
archiver:test Reorging L1 to L2 messages
12:11:40 [12:11:40.968]
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":"0x10e3aa270dd5338b3dbb53de70bb7d2395210a66b423a50af772ceb889e1a112","rollingHash":"0xd495de957f9f9489b894f107de719ac2"}}
12:11:40 [12:11:40.970]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
12:11:40 [12:11:40.971]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
12:11:40 [12:11:40.983]
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":"0x03c63895b6fb07bca3dbf793c5c09d9f6af932a81518d971f063809a2369a033","rollingHash":"0xc25f90c1aeb445e511f46208f3e5d487"},"messageCount":5}
12:11:41 [12:11:41.068]
INFO:
archiver Stopped.
12:11:41 [12:11:41.069]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:41 [12:11:41.312]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
12:11:42 [12:11:42.047]
INFO:
archiver:test Waiting for archiver to sync to block 1
12:11:42 [12:11:42.100]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e5e8d0d815d652321c40b9e85699fcbd3b33ab1ca009a1391a39d3e2fd271f3","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730301081,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:42 [12:11:42.149]
INFO:
archiver Stopped.
12:11:42 [12:11:42.150]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:42 [12:11:42.395]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
12:11:43 [12:11:43.130]
INFO:
archiver:test Waiting for archiver to sync to block 1
12:11:43 [12:11:43.197]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x27eb4a89e7b55a4bc368bf2b7bc41119446b11580f3f757ecb02fff267e13b0e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749730302162,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:43 [12:11:43.232]
INFO:
archiver Stopped.
12:11:43 [12:11:43.234]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:43 [12:11:43.482]
INFO:
archiver:test Syncing archiver to L1 block 6
12:11:43 [12:11:43.483]
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":"0x218072731374691062f8f7e58d9b07a439a6e1ba8b5830eb211f684c436bd664","l1BlockNumber":0}}
12:11:43 [12:11:43.497]
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}}
12:11:43 [12:11:43.499]
INFO:
archiver Stopped.
12:11:43 [12:11:43.500]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:43 [12:11:43.745]
INFO:
archiver:test Syncing archiver to L1 block 7
12:11:43 [12:11:43.746]
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":"0xbde5a9aeff334bf8db67baa2ad431a8aac1b96125a7ce4628dc5fabd646794b0","l1BlockNumber":0}}
12:11:43 [12:11:43.758]
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}}
12:11:43 [12:11:43.760]
INFO:
archiver Stopped.
12:11:43 [12:11:43.761]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:44 [12:11:44.006]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
12:11:44 [12:11:44.799]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0aa3521878af7173f42c38feba0f016de45cc38a4a98d561ebdc3ff3eedaba44","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730303773,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:44 [12:11:44.802]
INFO:
archiver Stopped.
12:11:44 [12:11:44.804]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:45 [12:11:45.052]
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":"0x21d373e03b404d06f555a649dbb553834e59d96fbf711ad8bd5715262527ae9b","l1BlockNumber":0}}
12:11:45 [12:11:45.053]
INFO:
archiver Stopped.
12:11:45 [12:11:45.055]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
12:11:47 [12:11:47.664]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1f09b28a650a2c75fd277cfa4dcef79b1d37770a82ff926ef7737ff472759e02","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1749730305066,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
12:11:47 [12:11:47.665]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x264b144f1055eedeeea00b20f28b9189da21e6d1f59408e2df166879cb3949b8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730305078,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:11:48 [12:11:48.749]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
12:11:49 [12:11:49.788]
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
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
12:11:49 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
12:11:49 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:11:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:11:49 newBlockNumber: 3,
12:11:49 previousBlockNumber: 1
12:11:49 }
12:11:49 [12:11:49.806]
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":"0x1f09b28a650a2c75fd277cfa4dcef79b1d37770a82ff926ef7737ff472759e02","newBlockNumber":3,"updatedL1SyncPoint":70}
12:11:49 [12:11:49.807]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:15
12:11:49 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
12:11:49 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:69:12)
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1411:7
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
12:11:49 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
12:11:49 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
12:11:49 newBlockNumber: 3,
12:11:49 previousBlockNumber: 1
12:11:49 }
12:11:50 [12:11:50.920]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x264b144f1055eedeeea00b20f28b9189da21e6d1f59408e2df166879cb3949b8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1749730305078,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
12:11:50 [12:11:50.921]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1b971fc30c30b5b66d899dc8c218ef0f118ed148cc6a578f51fa046d7dbe3284","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1749730305090,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
12:11:51 [12:11:51.012]
INFO:
archiver Stopped.
12:11:51
PASS src/archiver/archiver.test.ts (
29.804 s)
12:11:51 Archiver
12:11:51
✓ syncs l1 to l2 messages and blocks (4208 ms)
12:11:51
✓ ignores block 3 because it has been pruned (2736 ms)
12:11:51
✓ skip event search if no changes found (3689 ms)
12:11:51
✓ handles L2 reorg (5726 ms)
12:11:51
✓ handles updated messages due to L1 reorg (1357 ms)
12:11:51
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1080 ms)
12:11:51
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1083 ms)
12:11:51
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (266 ms)
12:11:51
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (261 ms)
12:11:51
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1042 ms)
12:11:51
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (251 ms)
12:11:51
✓ handles a block gap due to a spurious L2 prune (5958 ms)
12:11:51
○ skipped handles an upcoming L2 prune
12:11:51
12:11:51
Test Suites: 1 passed, 1 total
12:11:51
Tests: 1 skipped,
12 passed, 13 total
12:11:51
Snapshots: 0 total
12:11:51
Time: 29.874 s
12:11:51
Ran all test suites matching /archiver\/src\/archiver\/archiver.test.ts/i
.
12:11:51
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?