Parent Log:
http://ci.aztec-labs.com/435706e38308157a
Command: 270716767bef7882 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/1c2c2ee2949dbe31742cc9501a31bf3bce8083cf
Env: REF_NAME=gh-readonly-queue/next/pr-15232-aedcee89a2544b0e6baf93c4e71d88991f09111e CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 13:50:57 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15232_amd64_x3-full
Resources: CPU_LIST=0-127 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
13:51:01 [13:51:01.352]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:04 [13:51:04.437]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:51:04 [13:51:04.455]
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":"0x24d59a50b8739fcf373d44ae14a58d29e5eb5fba4c033758aa0ea408ba7f15d6","rollingHash":"0xd87cbf1de153b15dd86ce79eefe0f0e6"},"messageCount":2}
13:51:04 [13:51:04.537]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0553568ee12f90a567ef93cfa147d7e4107ace166ca21048e4aaaed3bf8348b2","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750773061351,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:05 [13:51:05.557]
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":"0x1ac392dedd305baca1f690c60173f4d18e266f52ad5fa33c0b50f2631047089b","rollingHash":"0x5be6d69f2f5252cfe371f5ee13f42696"},"messageCount":4}
13:51:05 [13:51:05.584]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:51:05 [13:51:05.726]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0b5b6144e4431e992fb8c261ddb3ec86e9eb3b937118410b47ab067cea25a02d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750773061363,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:51:05 [13:51:05.727]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0c7e5415b92e13bfe8adfa2c8e281ab9fc612710367913801a4ad4d7df155abb","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750773061375,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:51:05 [13:51:05.959]
INFO:
archiver Stopped.
13:51:05 [13:51:05.963]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:08 [13:51:08.446]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:51:08 [13:51:08.457]
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":"0x041914fa70b60fdbb8fff15f63d3817cc696648d8632f1e5039085cafe61431e","rollingHash":"0xeb3a893c7ba780b49cbdfe531835ffa4"},"messageCount":2}
13:51:08 [13:51:08.477]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1fe49c5f7bf3357c74953ed9b12611376a5b838556831b3e6ba375a15355cc72","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:51:08 [13:51:08.575]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x23371ff53b3a256f5243703c3adf87afd1c88f0f7c1b432e09c07c97d357297c","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750773065975,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:08 [13:51:08.577]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2df7148d6a5a111eacf3908f52ff58f52396f33e0940f316de4e7875a2a14499","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750773065987,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:51:08 [13:51:08.662]
INFO:
archiver Stopped.
13:51:08 [13:51:08.664]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:11 [13:51:11.332]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:51:12 [13:51:12.357]
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":"0x0c5b3980b0818f3896191523002e9c19ec19eff01d582d852469fc3ae0024b89","rollingHash":"0x5638b71bb1f1f0e32a535a750bfde81e"},"messageCount":2}
13:51:12 [13:51:12.479]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x25a20edf9eac50beffda6bd5ae20aa8c7370ae3c4efb288f032e578f0e5ec699","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750773068675,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:12 [13:51:12.480]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2fea705c94abf9574c2783eeea7d25a7ed6a324042e3160ed99cba2ae5204edc","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750773068687,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:51:12 [13:51:12.569]
INFO:
archiver Stopped.
13:51:12 [13:51:12.571]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:15 [13:51:15.199]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:51:15 [13:51:15.244]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:51:15 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:51:15 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:51:15 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:51:15 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:51:15 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:51:15 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:51:15 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:51:16 [13:51:16.255]
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":"0x2695ef51654aa9a0759b55493537b68cf40fa4a46486ab8d9951091d2b3a1257","rollingHash":"0x287f50e202cc89846b7ee07dc2a6fe55"},"messageCount":2}
13:51:16 [13:51:16.434]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x207e9ccadcd24024d6fcb374240e3d9fb19c773d6d90d9e9512919f6c9c3d3f1","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750773072582,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:16 [13:51:16.437]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x09a340c6389b1c6534b7f0309e786dac94477a0c1b683496c0edc4a169442e22","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750773072594,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:51:16 [13:51:16.441]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:51:16 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:51:16 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:51:16 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:51:16 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:51:16 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:51:16 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:51:16 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:51:17 [13:51:17.564]
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:51:17 [13:51:17.567]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:51:17 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:51:17 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:51:17 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:51:17 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:51:17 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:51:17 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:51:17 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:51:18 [13:51:18.538]
INFO:
archiver Stopped.
13:51:18 [13:51:18.544]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:19 [13:51:19.428]
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":"0x22cb1e6b41e87dfa760bf0512535b260abb5af7b503563947c165c60e6c09587","rollingHash":"0xd50c0597866e10b5b464ca8431266c02"},"messageCount":6}
13:51:19 [13:51:19.429]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x22cb1e6b41e87dfa760bf0512535b260abb5af7b503563947c165c60e6c09587","rollingHash":"0xd50c0597866e10b5b464ca8431266c02"},"remoteMessagesState":{"messagesRollingHash":"0x97c48473326e360180fc4d7560ebb522","totalMessagesInserted":5,"treeInProgress":0}}
13:51:19 [13:51:19.522]
WARN:
archiver:test Reorging L1 to L2 messages
13:51:20 [13:51:20.446]
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":"0x22cb1e6b41e87dfa760bf0512535b260abb5af7b503563947c165c60e6c09587","rollingHash":"0xd50c0597866e10b5b464ca8431266c02"}}
13:51:20 [13:51:20.448]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:51:20 [13:51:20.449]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:51:20 [13:51:20.471]
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":"0x02f39217dba3f53f7669bd2582bc3cc23e5ad2d4cdd2580f314128fe7aa6bace","rollingHash":"0x7ac7ae85857632c27ccbd68a6fa46b3c"},"messageCount":5}
13:51:20 [13:51:20.540]
INFO:
archiver Stopped.
13:51:20 [13:51:20.542]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:20 [13:51:20.920]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:51:22 [13:51:22.818]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:51:22 [13:51:22.913]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x244e7357615662bbdcdc18e3c2aa9aa15186c736e0a5726b57defeff92868723","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750773080554,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:22 [13:51:22.928]
INFO:
archiver Stopped.
13:51:22 [13:51:22.931]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:23 [13:51:23.304]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:51:24 [13:51:24.106]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:51:24 [13:51:24.189]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x02fe26d945a6eca7afd9a7ec5015e530b38c5eb8b9a11f6ea8eb423eb76586fe","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750773082942,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:24 [13:51:24.210]
INFO:
archiver Stopped.
13:51:24 [13:51:24.211]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:24 [13:51:24.539]
INFO:
archiver:test Syncing archiver to L1 block 6
13:51:24 [13:51:24.540]
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":"0x4170672abf94bbf204677bc1b5cdab7c04cf1bd318787c07ca60ef149e3320d7","l1BlockNumber":0}}
13:51:24 [13:51:24.551]
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:51:24 [13:51:24.553]
INFO:
archiver Stopped.
13:51:24 [13:51:24.554]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:24 [13:51:24.881]
INFO:
archiver:test Syncing archiver to L1 block 7
13:51:24 [13:51:24.882]
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":"0xe491e6b2c83378bd5b49e9844ea2cfc0a95340e05f8cc0faa655597dbcb639a1","l1BlockNumber":0}}
13:51:24 [13:51:24.908]
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:51:24 [13:51:24.928]
INFO:
archiver Stopped.
13:51:24 [13:51:24.935]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:25 [13:51:25.757]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:51:27 [13:51:27.108]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2071c8413d1a3666fecfad450dc1829f3b3237d3cebcf7b63b9bb359de759d83","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750773084946,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:27 [13:51:27.154]
INFO:
archiver Stopped.
13:51:27 [13:51:27.170]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:27 [13:51:27.650]
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":"0x104621e40d84010ee44ca15c0da6b2503e36364e29c2e1c55a1c3ecdf449a510","l1BlockNumber":0}}
13:51:27 [13:51:27.669]
INFO:
archiver Stopped.
13:51:27 [13:51:27.670]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:51:31 [13:51:31.120]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x267d28972208a80b36a5d48b5b86faf5e4fb9fc979b7576bb6b1f7c2e4ebccc7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750773087682,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:51:31 [13:51:31.122]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x120bbe2f1b97679d1bf42de8ea473e72c56a969480afa4185bace44ce69a91ad","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750773087694,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:51:32 [13:51:32.308]
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:51:33 [13:51:33.381]
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:51:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:51:33 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:51:33 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:51:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
13:51:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:51:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:51:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:51:33 newBlockNumber: 3,
13:51:33 previousBlockNumber: 1
13:51:33 }
13:51:33 [13:51:33.413]
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":"0x267d28972208a80b36a5d48b5b86faf5e4fb9fc979b7576bb6b1f7c2e4ebccc7","newBlockNumber":3,"updatedL1SyncPoint":70}
13:51:33 [13:51:33.414]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:51:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:51:33 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:51:33 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:51:33 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
13:51:33 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:51:33 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:51:33 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:51:33 newBlockNumber: 3,
13:51:33 previousBlockNumber: 1
13:51:33 }
13:51:34 [13:51:34.573]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x120bbe2f1b97679d1bf42de8ea473e72c56a969480afa4185bace44ce69a91ad","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750773087694,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:51:34 [13:51:34.574]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x0d713e4c6327e43c4aab413e8ce3f9d5ee24c03a1e55a266c593799dc33064e5","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750773087706,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:51:34 [13:51:34.658]
INFO:
archiver Stopped.
13:51:34
PASS src/archiver/archiver.test.ts (
36.065 s)
13:51:34 Archiver
13:51:34
✓ syncs l1 to l2 messages and blocks (4623 ms)
13:51:34
✓ ignores block 3 because it has been pruned (2700 ms)
13:51:34
✓ skip event search if no changes found (3906 ms)
13:51:34
✓ handles L2 reorg (5969 ms)
13:51:34
✓ handles updated messages due to L1 reorg (2002 ms)
13:51:34
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (2388 ms)
13:51:34
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1280 ms)
13:51:34
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (342 ms)
13:51:34
✓ 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:51:34
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (2222 ms)
13:51:34
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (514 ms)
13:51:34
✓ handles a block gap due to a spurious L2 prune (6988 ms)
13:51:34
○ skipped handles an upcoming L2 prune
13:51:34
13:51:34
Test Suites: 1 passed, 1 total
13:51:34
Tests: 1 skipped,
12 passed, 13 total
13:51:34
Snapshots: 0 total
13:51:34
Time: 36.146 s
13:51:34
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
13:51:34
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?