Parent Log:
http://ci.aztec-labs.com/1d91b979ad0fe7b8
Command: 516191759f225b4f yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/0f26f87af2947423f556c64f03e0100cbf5136f7
Env: REF_NAME=gh-readonly-queue/next/pr-15273-74eeec5d95106217d3b3f3068853022cef7fa307 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Wed Jun 25 10:57:51 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15273_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
10:57:54 [10:57:54.364]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:57:57 [10:57:57.153]
INFO:
archiver:test Waiting for archiver to sync to block 3
10:57:57 [10:57:57.171]
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":"0x12d70e70441d6a9e2a905b787ca5ad37aa0cadc555ca907e1f17e260acf1779a","rollingHash":"0xa5c4fc0aa21b095d9e5c274edd2c9443"},"messageCount":2}
10:57:57 [10:57:57.269]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x303084142d0352319a79809bec4eb47d439da0c9c93efe1c6c74b4cc8f448649","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750849074364,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:57:58 [10:57:58.286]
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":"0x081030fb26f5a9705e324bfb4de53020e557a7d913d2bd6701358000f3832b71","rollingHash":"0x9b04d9613abb6779f5003cec336caafe"},"messageCount":4}
10:57:58 [10:57:58.311]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
10:57:58 [10:57:58.448]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x11ad4f0ac4a120cf8b3425d24930e07fa8b1dc8cb1f340ea415a9e4c71fadd81","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750849074376,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:57:58 [10:57:58.449]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x24b40c540ec201c251beea24038bb74787b1a2e5882dea04cc4596bb0c9968cb","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750849074388,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:57:58 [10:57:58.651]
INFO:
archiver Stopped.
10:57:58 [10:57:58.654]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:01 [10:58:01.215]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:58:01 [10:58:01.222]
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":"0x2d65765bc8dcfa4d45a4f3bf0d9c0b076b8511cc77d6b21b3b534fe493e07741","rollingHash":"0x1dec5fe4d9c95aa46e5088d3a3afe4a7"},"messageCount":2}
10:58:01 [10:58:01.239]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x25fa2f0bc63e6257cd886cb62183b542d939421a2b7f368e262796d8a7105c87","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
10:58:01 [10:58:01.334]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x21bc646727fb0bc09c1389589a7d052ba08581240a59965e3bf996978f854e4e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750849078666,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:58:01 [10:58:01.335]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x05f4a1076dc9ba3ca3433d8d361514ce5069d0c5764429286b78776bbb589969","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750849078678,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:58:01 [10:58:01.425]
INFO:
archiver Stopped.
10:58:01 [10:58:01.427]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:03 [10:58:03.984]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:58:05 [10:58:05.002]
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":"0x1f63504759286dfa137a7406931965bce9b9944bd51bb358d652fc0f4d0320fd","rollingHash":"0x00cf48585e48b805624938df5e22dfd3"},"messageCount":2}
10:58:05 [10:58:05.117]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0839e0730eaca72b5b596968144bf202c828b89990b6cc3c7e86efe52504aa7e","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750849081439,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:58:05 [10:58:05.118]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x25bb89990e6d667525e09485f0a31f6f8f9acaa1adeb79998e0927d1c821dd69","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750849081451,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:58:05 [10:58:05.208]
INFO:
archiver Stopped.
10:58:05 [10:58:05.209]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:07 [10:58:07.774]
INFO:
archiver:test Waiting for archiver to sync to block 2
10:58:07 [10:58:07.807]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
10:58:07 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:58:07 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:58:07 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:58:07 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:58:07 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:58:07 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:58:07 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:58:08 [10:58:08.816]
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":"0x236319875d05703fb24a9799773b5210c00b718971a6eccd93ac236d8f912e92","rollingHash":"0x4698147e4dad8a7ffa0205917335c969"},"messageCount":2}
10:58:08 [10:58:08.932]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0d0594b57ceb194842e9a635fabccade305910e66d18f4b37cc59a08e21dc5d0","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750849085220,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:58:08 [10:58:08.933]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x02e581aacb1523e79e1e37b8a37b0e6ee4dfe4f400ecf1d3c50adde4514ddab8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750849085232,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:58:08 [10:58:08.935]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
10:58:08 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:58:08 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:58:08 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:58:08 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:58:08 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:58:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:58:08 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:58:10 [10:58:10.025]
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:58:10 [10:58:10.027]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
10:58:10 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
10:58:10 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
10:58:10 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
10:58:10 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
10:58:10 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
10:58:10 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
10:58:10 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
10:58:11 [10:58:11.026]
INFO:
archiver Stopped.
10:58:11 [10:58:11.027]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:11 [10:58:11.287]
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":"0x21d650e8c04627a05b09fb846fe3692b83fe01c0b0afdfef5b48a67379250229","rollingHash":"0xc65aed48cefe773d1f139e59568e6887"},"messageCount":6}
10:58:11 [10:58:11.287]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x21d650e8c04627a05b09fb846fe3692b83fe01c0b0afdfef5b48a67379250229","rollingHash":"0xc65aed48cefe773d1f139e59568e6887"},"remoteMessagesState":{"messagesRollingHash":"0x0ffcb356a8383c74d963d4547a0f191b","totalMessagesInserted":5,"treeInProgress":0}}
10:58:11 [10:58:11.382]
WARN:
archiver:test Reorging L1 to L2 messages
10:58:12 [10:58:12.296]
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":"0x21d650e8c04627a05b09fb846fe3692b83fe01c0b0afdfef5b48a67379250229","rollingHash":"0xc65aed48cefe773d1f139e59568e6887"}}
10:58:12 [10:58:12.297]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
10:58:12 [10:58:12.298]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
10:58:12 [10:58:12.319]
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":"0x0cb1a01b85a6292ebddb73918ee49468a58271129f2223c5c144fdde462bd369","rollingHash":"0xbbdc7b732992f1f0c8e05b9e49201787"},"messageCount":5}
10:58:12 [10:58:12.391]
INFO:
archiver Stopped.
10:58:12 [10:58:12.392]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:12 [10:58:12.645]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
10:58:13 [10:58:13.402]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:58:13 [10:58:13.461]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0efc3ca86a82064226b430a6484940bf2853ab52f50a4f176978d3731bbc8eeb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750849092404,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:58:13 [10:58:13.504]
INFO:
archiver Stopped.
10:58:13 [10:58:13.505]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:13 [10:58:13.755]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
10:58:14 [10:58:14.511]
INFO:
archiver:test Waiting for archiver to sync to block 1
10:58:14 [10:58:14.569]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2c2fb76e178d7ffcaaaad1a77132765d245aabbd2c840d373fc7d66381e050fb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750849093517,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:58:14 [10:58:14.613]
INFO:
archiver Stopped.
10:58:14 [10:58:14.614]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:14 [10:58:14.866]
INFO:
archiver:test Syncing archiver to L1 block 6
10:58:14 [10:58:14.872]
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":"0x76bf7d6388598bbe0ce8bc0433e9c309faaab8c5926434fa5e80c5d2a3df6a8a","l1BlockNumber":0}}
10:58:14 [10:58:14.879]
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:58:14 [10:58:14.881]
INFO:
archiver Stopped.
10:58:14 [10:58:14.882]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:15 [10:58:15.135]
INFO:
archiver:test Syncing archiver to L1 block 7
10:58:15 [10:58:15.136]
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":"0x9ae3112f988e790c67e3fb0eeab572ae76ebd40d0e48700be65699d36a1b4a95","l1BlockNumber":0}}
10:58:15 [10:58:15.144]
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:58:15 [10:58:15.146]
INFO:
archiver Stopped.
10:58:15 [10:58:15.148]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:15 [10:58:15.400]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
10:58:16 [10:58:16.220]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x30205d2d7c1efd0d679a8f5bb8420a4c107d6d5d14c6624fa6621b55a6d6767b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750849095159,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:58:16 [10:58:16.223]
INFO:
archiver Stopped.
10:58:16 [10:58:16.224]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:16 [10:58:16.481]
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":"0x75ccfd0692ca531fe4347a3780eada40628332b9f631df3ac5a21a58b4932635","l1BlockNumber":0}}
10:58:16 [10:58:16.490]
INFO:
archiver Stopped.
10:58:16 [10:58:16.491]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
10:58:19 [10:58:19.207]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1803dc38315b002b30eab917015640507efcb1fbf2d15cd5569d670b9b73f2c6","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750849096503,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
10:58:19 [10:58:19.208]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cde142c69a732cf65bcec4dfd3de27032f004271635ba33167ff91af9b09c4f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750849096515,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:58:20 [10:58:20.301]
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:58:21 [10:58:21.340]
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:58:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:58:21 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:58:21 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:58:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:58:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:58:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:58:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:58:21 newBlockNumber: 3,
10:58:21 previousBlockNumber: 1
10:58:21 }
10:58:21 [10:58:21.361]
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":"0x1803dc38315b002b30eab917015640507efcb1fbf2d15cd5569d670b9b73f2c6","newBlockNumber":3,"updatedL1SyncPoint":70}
10:58:21 [10:58:21.362]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
10:58:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
10:58:21 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
10:58:21 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
10:58:21 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
10:58:21 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
10:58:21 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
10:58:21 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
10:58:21 newBlockNumber: 3,
10:58:21 previousBlockNumber: 1
10:58:21 }
10:58:22 [10:58:22.495]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0cde142c69a732cf65bcec4dfd3de27032f004271635ba33167ff91af9b09c4f","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750849096515,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
10:58:22 [10:58:22.495]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2bda77167176b6f166098c3e78f53d4563f9c528f2c2d910d238b74e676c4f4e","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750849096527,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
10:58:22 [10:58:22.585]
INFO:
archiver Stopped.
10:58:22
PASS src/archiver/archiver.test.ts (
30.672 s)
10:58:22 Archiver
10:58:22
✓ syncs l1 to l2 messages and blocks (4302 ms)
10:58:22
✓ ignores block 3 because it has been pruned (2772 ms)
10:58:22
✓ skip event search if no changes found (3782 ms)
10:58:22
✓ handles L2 reorg (5819 ms)
10:58:22
✓ handles updated messages due to L1 reorg (1364 ms)
10:58:22
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1112 ms)
10:58:22
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1110 ms)
10:58:22
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (267 ms)
10:58:22
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (266 ms)
10:58:22
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1076 ms)
10:58:22
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (266 ms)
10:58:22
✓ handles a block gap due to a spurious L2 prune (6095 ms)
10:58:22
○ skipped handles an upcoming L2 prune
10:58:22
10:58:22
Test Suites: 1 passed, 1 total
10:58:22
Tests: 1 skipped,
12 passed, 13 total
10:58:22
Snapshots: 0 total
10:58:22
Time: 30.741 s
10:58:22
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
10:58:22
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?