Parent Log:
http://ci.aztec-labs.com/702e8e94e52e9d7c
Command: 0428972d99b1eeeb yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/91b55c58278a7d091339ac513d633fa070d5276b
Env: REF_NAME=gh-readonly-queue/next/pr-15008-92ef6e28f2b718bb1009392a60b8311979c782d2 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Thu Jun 19 13:35:50 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15008_amd64_x2-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
13:35:54 [13:35:54.712]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:57 [13:35:57.253]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:35:57 [13:35:57.266]
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":"0x06327efe07e0dc190f0d3322486416f4679454101d3f4a7be7a1fa425db872a5","rollingHash":"0x2b4311f1750b8cfa95e8cf60dd7829a6"},"messageCount":2}
13:35:57 [13:35:57.357]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x16a4dce6b77cd83ddeac3b3e044be932059b8a05b5b30bfb6a723a509fc59cab","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750340154707,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:35:58 [13:35:58.380]
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":"0x201051c027c5b9a87fcb35526c7b83e1b9b4036e4bb299c932a0a4ccbccc4919","rollingHash":"0x20b3073aa170d36ecdbab6d6f763ac35"},"messageCount":4}
13:35:58 [13:35:58.413]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:35:58 [13:35:58.577]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x282e23aa70248f092425be86893b8fb2ee4798b22ae871d4ab5c85257239b1a3","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750340154719,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:35:58 [13:35:58.578]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0762127b9b76ec5e3da0aa2a1b980226ba806a93fc05fb1734fd861c96b080b8","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750340154731,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:35:58 [13:35:58.803]
INFO:
archiver Stopped.
13:35:58 [13:35:58.810]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:01 [13:36:01.666]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:36:01 [13:36:01.676]
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":"0x2c28c61226bc4c1136ca465d7defdcf29f9c15bb557988d7433ed91b7626c9b4","rollingHash":"0x03cfbe04ac320ab89da949e8857743e2"},"messageCount":2}
13:36:01 [13:36:01.698]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x27c3f6b753f64ede5f14f293f551d52ecf858a4564480324c0f85137888ac66a","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:36:01 [13:36:01.805]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0fb1fb4b096cd579b2d10ed209f2d01b9404146726fb242a9f78465d58e73a05","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750340158818,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:36:01 [13:36:01.807]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0ff92bbd8b8cbf88a063632ec81e7dc3ceaa8c24eba160a361fb5426d0c5bb59","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750340158830,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:36:01 [13:36:01.889]
INFO:
archiver Stopped.
13:36:01 [13:36:01.891]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:04 [13:36:04.716]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:36:05 [13:36:05.734]
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":"0x22630812b9c01edca925443030cb086bb927a5b58395764fd9fa2b003c566386","rollingHash":"0x2fc2db9a415856868caef7a7f9e6e15c"},"messageCount":2}
13:36:05 [13:36:05.853]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x24d40a8a608fd2861bf2ac69219388129795ac5c2702dda138e1c3d414054d22","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750340161902,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:36:05 [13:36:05.854]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x239dc066830a7219d8ee818c6904ea52f9ca00edb30c5e120fb1dea0164b12b8","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750340161914,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:36:05 [13:36:05.948]
INFO:
archiver Stopped.
13:36:05 [13:36:05.950]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:08 [13:36:08.621]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:36:08 [13:36:08.662]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:36:08 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:36:08 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:36:08 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:36:08 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:36:08 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:36:08 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:36:08 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:36:09 [13:36:09.672]
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":"0x2d6babd639a273eb8c698ed0a975dbb58c52ebff8af8c5d6fd3b04cc3efeb522","rollingHash":"0xd5c95e773a9752482f59d52ba6de075f"},"messageCount":2}
13:36:09 [13:36:09.835]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1801181a4030403318a4f252b43b3fb12d920371fbee1395c341b576924432d2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750340165962,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:36:09 [13:36:09.836]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0ad7a41c221f8ef39e97cc4a1ab364cf9288c05ecc67ec4aed7416cf3b5ffd5c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750340165974,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:36:09 [13:36:09.841]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:36:09 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:36:09 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:36:09 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:36:09 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:36:09 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:36:09 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:36:09 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:36:10 [13:36:10.989]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
13:36:10 [13:36:10.992]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:36:10 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:36:10 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:36:10 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:36:10 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:36:10 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:36:10 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:36:10 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:36:11 [13:36:11.934]
INFO:
archiver Stopped.
13:36:11 [13:36:11.936]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:12 [13:36:12.305]
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":"0x23daa5724f7697421f8611e05b861a2aeaf94d06370c26f15c89f52d57fca7a0","rollingHash":"0x822c53f251fc9eb8ea1fc253f7b9d3d5"},"messageCount":6}
13:36:12 [13:36:12.307]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x23daa5724f7697421f8611e05b861a2aeaf94d06370c26f15c89f52d57fca7a0","rollingHash":"0x822c53f251fc9eb8ea1fc253f7b9d3d5"},"remoteMessagesState":{"messagesRollingHash":"0xcc0e23d93e05bf7a1c5796f336723ad6","totalMessagesInserted":5,"treeInProgress":0}}
13:36:12 [13:36:12.395]
WARN:
archiver:test Reorging L1 to L2 messages
13:36:13 [13:36:13.322]
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":"0x23daa5724f7697421f8611e05b861a2aeaf94d06370c26f15c89f52d57fca7a0","rollingHash":"0x822c53f251fc9eb8ea1fc253f7b9d3d5"}}
13:36:13 [13:36:13.325]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:36:13 [13:36:13.341]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:36:13 [13:36:13.365]
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":"0x2110717fcc090884e50ab0fd8dd5d7e5e65150a950e2d57c2c75b38e31df1d9d","rollingHash":"0x765aaad5c121a0bec573b5c4d93ba076"},"messageCount":5}
13:36:13 [13:36:13.435]
INFO:
archiver Stopped.
13:36:13 [13:36:13.438]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:13 [13:36:13.822]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:36:15 [13:36:15.138]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:36:15 [13:36:15.228]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x11eaf947fb1cea4a56d69c2b8f3022cd1c5a85330290a7bb9e833d11357294c7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750340173449,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:36:15 [13:36:15.242]
INFO:
archiver Stopped.
13:36:15 [13:36:15.245]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:15 [13:36:15.673]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:36:16 [13:36:16.687]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:36:16 [13:36:16.875]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x17913e03d413126a2e2133cf6c9900d7d3f2e328295dc3c5109ecfcc26e3fa97","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750340175256,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:36:16 [13:36:16.959]
INFO:
archiver Stopped.
13:36:16 [13:36:16.974]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:17 [13:36:17.746]
INFO:
archiver:test Syncing archiver to L1 block 6
13:36:17 [13:36:17.749]
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":"0xdd0079bae549dce43e03a5fea5f1f67c14d105b3278f8545378774cbe2f76fb1","l1BlockNumber":0}}
13:36:17 [13:36:17.771]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
13:36:17 [13:36:17.773]
INFO:
archiver Stopped.
13:36:17 [13:36:17.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:18 [13:36:18.138]
INFO:
archiver:test Syncing archiver to L1 block 7
13:36:18 [13:36:18.140]
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":"0xc64e932ade068bb121a7f4fb55f47abe9e9a656e8c008b7e8b90c4cd7430a623","l1BlockNumber":0}}
13:36:18 [13:36:18.150]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
13:36:18 [13:36:18.153]
INFO:
archiver Stopped.
13:36:18 [13:36:18.155]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:18 [13:36:18.542]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:36:19 [13:36:19.434]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2ad8a7af7e539e6ed4aa7b7b943f6e92e054bf98d88e5132d1a75e9d5531db96","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750340178166,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:36:19 [13:36:19.439]
INFO:
archiver Stopped.
13:36:19 [13:36:19.441]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:19 [13:36:19.895]
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":"0xb030bf65055f24ab47461b5a9ea03d7b1f0bab3bfb6247ae86f431bb815c02ae","l1BlockNumber":0}}
13:36:19 [13:36:19.950]
INFO:
archiver Stopped.
13:36:19 [13:36:19.955]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:36:23 [13:36:23.885]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x09213cd2c9c146aba8bae7dedf30e3559a0feeeaf62d99f0a7d9edff6ec78da2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750340179963,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:36:23 [13:36:23.886]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0a13520f823ff01c41734955b4923edc9f13b3ca1662fe2241c7860cb0acf156","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750340179975,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:36:25 [13:36:25.023]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
13:36:26 [13:36:26.126]
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
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:36:26 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:36:26 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:26 newBlockNumber: 3,
13:36:26 previousBlockNumber: 1
13:36:26 }
13:36:26 [13:36:26.150]
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":"0x09213cd2c9c146aba8bae7dedf30e3559a0feeeaf62d99f0a7d9edff6ec78da2","newBlockNumber":3,"updatedL1SyncPoint":70}
13:36:26 [13:36:26.151]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:36:26 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:36:26 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1408:7
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:36:26 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:36:26 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:36:26 newBlockNumber: 3,
13:36:26 previousBlockNumber: 1
13:36:26 }
13:36:27 [13:36:27.393]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0a13520f823ff01c41734955b4923edc9f13b3ca1662fe2241c7860cb0acf156","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750340179975,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:36:27 [13:36:27.394]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x2bfe7e41cf4990a5ba569866775982f7bacf590554d5a4e0d79eb62ce79bd938","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750340179987,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:36:27 [13:36:27.433]
INFO:
archiver Stopped.
13:36:27
PASS src/archiver/archiver.test.ts (
35.77 s)
13:36:27 Archiver
13:36:27
✓ syncs l1 to l2 messages and blocks (4111 ms)
13:36:27
✓ ignores block 3 because it has been pruned (3083 ms)
13:36:27
✓ skip event search if no changes found (4059 ms)
13:36:27
✓ handles L2 reorg (5985 ms)
13:36:27
✓ handles updated messages due to L1 reorg (1501 ms)
13:36:27
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1807 ms)
13:36:27
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1723 ms)
13:36:27
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (805 ms)
13:36:27
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (379 ms)
13:36:27
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1286 ms)
13:36:27
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (511 ms)
13:36:27
✓ handles a block gap due to a spurious L2 prune (7483 ms)
13:36:27
○ skipped handles an upcoming L2 prune
13:36:27
13:36:27
Test Suites: 1 passed, 1 total
13:36:27
Tests: 1 skipped,
12 passed, 13 total
13:36:27
Snapshots: 0 total
13:36:27
Time: 35.861 s
13:36:27
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
13:36:27
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?