Parent Log:
http://ci.aztec-labs.com/46c25c669e1eea13
Command: 270716767bef7882 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/aedcee89a2544b0e6baf93c4e71d88991f09111e
Env: REF_NAME=gh-readonly-queue/next/pr-15183-016def8adbfe93f34b41a41f439b146b5318c895 CURRENT_VERSION=0.87.6 CI_FULL=1
Date: Tue Jun 24 13:34:34 UTC 2025
System: ARCH=amd64 CPUS=128 MEM=493Gi HOSTNAME=pr-15183_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:34:38 [13:34:38.299]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:40 [13:34:40.999]
INFO:
archiver:test Waiting for archiver to sync to block 3
13:34:41 [13:34:41.019]
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":"0x02c484f390748c447d970dd6325782c85839e0d25b513a4404b23acc46865e92","rollingHash":"0xfd97746a31ee464093af38bd29a7a92f"},"messageCount":2}
13:34:41 [13:34:41.135]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x2b83f62e39da6117c41c47a6b7fc2b4a6547886b87305c6465154b9cd78810c8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772078284,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:34:42 [13:34:42.155]
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":"0x2559b01d9b71c1688e158a495e0880e6cec61ffa1efff8a4bf0f89c8cb7fb33d","rollingHash":"0xed24de5211201a526208d519459a17df"},"messageCount":4}
13:34:42 [13:34:42.193]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
13:34:42 [13:34:42.331]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2f6787b9cf86d76a9117f0e34d9ce588474ba785dd6111ccbfee259800e76590","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772078296,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:34:42 [13:34:42.332]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x08e891b2083c36184c1255080f7cf5efd95ff00c4f9bf3ac2fab0413debd02ca","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750772078308,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:34:42 [13:34:42.518]
INFO:
archiver Stopped.
13:34:42 [13:34:42.523]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:45 [13:34:45.303]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:34:45 [13:34:45.314]
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":"0x2a9b8e04a8f86d04ee49cfcf9e9a4b499bef21c96bdbd3e8e9af41dd0ad2009d","rollingHash":"0x6dd132afea5bd0cced2a5dbebb09dcee"},"messageCount":2}
13:34:45 [13:34:45.340]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x296226511382018423c92ab536126f4e591e8747d78c68975917b79a91483792","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
13:34:45 [13:34:45.443]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1afa3fceba2d6174998569aac9a55cf751e108f953fc91218e05c826bab8d791","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772082534,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:34:45 [13:34:45.444]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x1e22a3ec471228e3913501f3c1fdfedd5f3395188d78f89f803de88e9c3f4349","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772082546,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:34:45 [13:34:45.531]
INFO:
archiver Stopped.
13:34:45 [13:34:45.537]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:48 [13:34:48.208]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:34:49 [13:34:49.225]
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":"0x2b0000ce2bb7b4d0ff2fa87f9f65dea3b48edfe9379e32aee092f7a59449bbbd","rollingHash":"0x4ccb9293fb6a0b96f430d4d39b50dd09"},"messageCount":2}
13:34:49 [13:34:49.391]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x02f4b487179cec79b9d62c4261d6cca42e427aea01d6e51aff6156f5feb4d78b","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772085545,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:34:49 [13:34:49.392]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x2a38fc8ada2e8c254f0626ab4289a608da73d4c3e9976d0a6ce94ad7ae1cf3b0","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772085557,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:34:49 [13:34:49.476]
INFO:
archiver Stopped.
13:34:49 [13:34:49.480]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:51 [13:34:51.990]
INFO:
archiver:test Waiting for archiver to sync to block 2
13:34:52 [13:34:52.044]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
13:34:52 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:34:52 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:34:52 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:34:52 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:34:52 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:34:52 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:34:52 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:34:53 [13:34:53.057]
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":"0x28ff59f8de513cd2479551ee916de1cf409989275ac03727853728c0c49a6ad8","rollingHash":"0x883e3b431574ef798127ae582a0ba263"},"messageCount":2}
13:34:53 [13:34:53.210]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c10f2e5179dfef25b8cb0319b52d778aa5be7d99ad7992ae04936c2c1b825a7","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772089490,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:34:53 [13:34:53.211]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x0c7a2d60eca15585189b690e08aea6daf64d801581ce4a7d13ca924418596226","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772089502,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:34:53 [13:34:53.213]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
13:34:53 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:34:53 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:34:53 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:34:53 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:34:53 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:34:53 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:34:53 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:34:54 [13:34:54.337]
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:34:54 [13:34:54.339]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
13:34:54 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
13:34:54 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
13:34:54 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
13:34:54 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
13:34:54 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
13:34:54 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
13:34:54 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
13:34:55 [13:34:55.283]
INFO:
archiver Stopped.
13:34:55 [13:34:55.289]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:55 [13:34:55.885]
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":"0x0e3bb556f30e18029fb01b759750ec52b1de2889efbff83d8097e6bbd73eda02","rollingHash":"0x7fb04b68fa49bd147ce6d03d5931d469"},"messageCount":6}
13:34:55 [13:34:55.886]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x0e3bb556f30e18029fb01b759750ec52b1de2889efbff83d8097e6bbd73eda02","rollingHash":"0x7fb04b68fa49bd147ce6d03d5931d469"},"remoteMessagesState":{"messagesRollingHash":"0x8a864d8993fb844e51bb86e2ca2fd336","totalMessagesInserted":5,"treeInProgress":0}}
13:34:55 [13:34:55.977]
WARN:
archiver:test Reorging L1 to L2 messages
13:34:56 [13:34:56.898]
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":"0x0e3bb556f30e18029fb01b759750ec52b1de2889efbff83d8097e6bbd73eda02","rollingHash":"0x7fb04b68fa49bd147ce6d03d5931d469"}}
13:34:56 [13:34:56.900]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
13:34:56 [13:34:56.902]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
13:34:56 [13:34:56.915]
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":"0x1f98d5d0e69cda67298043af347178165e74f3f9d98ce3d452a91a5e618d2bda","rollingHash":"0xc3f6847657e0282dd3727bda13c1f9e9"},"messageCount":5}
13:34:57 [13:34:57.002]
INFO:
archiver Stopped.
13:34:57 [13:34:57.004]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:57 [13:34:57.463]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
13:34:58 [13:34:58.615]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:34:58 [13:34:58.709]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x060649474af97d42c6fed51b6b737a935a66f0ba07d98a1e902ae2f9dc2bcfb8","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772097015,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:34:58 [13:34:58.720]
INFO:
archiver Stopped.
13:34:58 [13:34:58.723]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:34:59 [13:34:59.205]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
13:35:00 [13:35:00.164]
INFO:
archiver:test Waiting for archiver to sync to block 1
13:35:00 [13:35:00.245]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x30155946f303982d8d10f78cd9199f1a7a48db8754aa04eeb175a7f14a8c9818","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750772098734,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:35:00 [13:35:00.268]
INFO:
archiver Stopped.
13:35:00 [13:35:00.273]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:00 [13:35:00.623]
INFO:
archiver:test Syncing archiver to L1 block 6
13:35:00 [13:35:00.625]
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":"0x53d00919badd05b7d9a8b36d77d31b122af0339db10d306598362ab0440d56f7","l1BlockNumber":0}}
13:35:00 [13:35:00.635]
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:35:00 [13:35:00.642]
INFO:
archiver Stopped.
13:35:00 [13:35:00.643]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:01 [13:35:01.157]
INFO:
archiver:test Syncing archiver to L1 block 7
13:35:01 [13:35:01.159]
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":"0x9ad2a7ea04f8f0f7ab8f7b098487a73ae41c765c0c1f2faacef607e75db08372","l1BlockNumber":0}}
13:35:01 [13:35:01.173]
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:35:01 [13:35:01.176]
INFO:
archiver Stopped.
13:35:01 [13:35:01.179]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:01 [13:35:01.786]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
13:35:02 [13:35:02.860]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x034b0f2e530b4f9513ad54fd41941eae83b9ec9ce13da63e1e2af2a4955242f5","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772101189,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:35:02 [13:35:02.876]
INFO:
archiver Stopped.
13:35:02 [13:35:02.877]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:03 [13:35:03.438]
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":"0x00152f743b2c35548fe007231983d680397b7b50e423d1f84b6ccc8f7af7e330","l1BlockNumber":0}}
13:35:03 [13:35:03.470]
INFO:
archiver Stopped.
13:35:03 [13:35:03.485]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
13:35:06 [13:35:06.851]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0c99a974e1ac5915b5ceae620bd7df2a833a68a7a00a9008853261957db21fff","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750772103484,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
13:35:06 [13:35:06.853]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x269fa272bb26fcfa5532c7b2e7023ca8ef0d74073872f814eff58a195ab3403c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772103496,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:35:08 [13:35:08.040]
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:35:09 [13:35:09.150]
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:35:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:35:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:35:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:35:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
13:35:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:35:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:35:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:35:09 newBlockNumber: 3,
13:35:09 previousBlockNumber: 1
13:35:09 }
13:35:09 [13:35:09.181]
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":"0x0c99a974e1ac5915b5ceae620bd7df2a833a68a7a00a9008853261957db21fff","newBlockNumber":3,"updatedL1SyncPoint":70}
13:35:09 [13:35:09.182]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
13:35:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
13:35:09 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
13:35:09 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
13:35:09 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
13:35:09 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
13:35:09 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
13:35:09 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
13:35:09 newBlockNumber: 3,
13:35:09 previousBlockNumber: 1
13:35:09 }
13:35:10 [13:35:10.380]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x269fa272bb26fcfa5532c7b2e7023ca8ef0d74073872f814eff58a195ab3403c","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750772103496,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
13:35:10 [13:35:10.381]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x18398b491324b7304d111464e3ec5f95b5f9f2bea313650691764e95e4f4d548","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750772103508,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
13:35:10 [13:35:10.458]
INFO:
archiver Stopped.
13:35:10
PASS src/archiver/archiver.test.ts (
35.438 s)
13:35:10 Archiver
13:35:10
✓ syncs l1 to l2 messages and blocks (4249 ms)
13:35:10
✓ ignores block 3 because it has been pruned (3011 ms)
13:35:10
✓ skip event search if no changes found (3944 ms)
13:35:10
✓ handles L2 reorg (5806 ms)
13:35:10
✓ handles updated messages due to L1 reorg (1718 ms)
13:35:10
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1718 ms)
13:35:10
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1548 ms)
13:35:10
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (371 ms)
13:35:10
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (534 ms)
13:35:10
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1699 ms)
13:35:10
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (593 ms)
13:35:10
✓ handles a block gap due to a spurious L2 prune (6988 ms)
13:35:10
○ skipped handles an upcoming L2 prune
13:35:10
13:35:10
Test Suites: 1 passed, 1 total
13:35:10
Tests: 1 skipped,
12 passed, 13 total
13:35:10
Snapshots: 0 total
13:35:10
Time: 35.531 s
13:35:10
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
13:35:10
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?