Parent Log:
http://ci.aztec-labs.com/b09c2f8563deb099
Command: f49566f2a253bc96 yarn-project/scripts/run_test.sh archiver/src/archiver/archiver.test.ts
Commit:
https://github.com/AztecProtocol/aztec-packages/commit/e1613ca4b54a0ae509638dc4114780dd3cb0bc9b
Env: REF_NAME=gh-readonly-queue/next/pr-15239-282da3bd25d49b92970e6fc85f110092e8566299 CURRENT_VERSION=0.87.6 CI_FULL=0
Date: Tue Jun 24 15:17:13 UTC 2025
System: ARCH=arm64 CPUS=64 MEM=247Gi HOSTNAME=pr-15239_arm64_a1-fast
Resources: CPU_LIST=0-63 CPUS=2 MEM=8g TIMEOUT=600s
History:
http://ci.aztec-labs.com/list/history_fba8e3924e2a5da2_next
15:17:16 [15:17:16.959]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:19 [15:17:19.722]
INFO:
archiver:test Waiting for archiver to sync to block 3
15:17:19 [15:17:19.744]
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":"0x010f0c46ae70bc97b828afc30fd81162e24a46fbdacab759cb6c0300b03b357e","rollingHash":"0xb0840e2754f077cd37362f750a0aed33"},"messageCount":2}
15:17:19 [15:17:19.827]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x07928649d63895afc9307e136072fae6b9e9b76574e80a7c430979b40d7113ef","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750778236961,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:20 [15:17:20.846]
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":"0x035ce54f2006dcc75a01f61b60f80f7382f8a182a8e516766889f560990b7339","rollingHash":"0x77356e3388ff7ea71ac13eaaa7a93a63"},"messageCount":4}
15:17:20 [15:17:20.873]
INFO:
archiver Updated proven chain to block 1
{"provenBlockNumber":1}
15:17:21 [15:17:21.010]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x02de99d65daa2f2620cbdd144f23bd4f0edc3977c04ece90aa378aee03bf612e","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750778236973,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:17:21 [15:17:21.011]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x1a815d2b7b27b7bd590ff637b2a49ae7cc07b22599ff5aa0e11ed7f1621f8ed2","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750778236985,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:17:21 [15:17:21.212]
INFO:
archiver Stopped.
15:17:21 [15:17:21.216]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:23 [15:17:23.781]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:17:23 [15:17:23.792]
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":"0x06e7f1a9d05b87a77bdfc4e6c887aed15e6bc3961463aca193f4c3cd11b0aee1","rollingHash":"0x1cb1b3935b36c40cc8ee598a15d1f485"},"messageCount":2}
15:17:23 [15:17:23.810]
WARN:
archiver Ignoring L2 block 3 due to archive root mismatch
{"actual":"0x1744dff355b80deebaa8da61e3b940a7554ea3c02bf84702a18e2b2e1b7a8925","expected":"0x0000000000000000000000000000000000000000000000000000000000000004"}
15:17:23 [15:17:23.907]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x1e69a4ed9da680204481a9488e979117cd6dc782b5fc758ebb664f0cdc11581f","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750778241227,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:23 [15:17:23.908]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x215019fb50d3b20ee75de4eea66ce14405a55eb69eedd6c5af4ed7842b3431cd","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750778241239,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:17:23 [15:17:23.995]
INFO:
archiver Stopped.
15:17:23 [15:17:23.997]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:26 [15:17:26.553]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:17:27 [15:17:27.571]
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":"0x14d5664c122292232d4275e12e01ed83c4eb9b7dd5958da83ed628d272258300","rollingHash":"0x3b88dd4dbe373fcab002e4ff84da3c6c"},"messageCount":2}
15:17:27 [15:17:27.682]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x23f34dc758ccef5660be68ff513e3a80013de5715cd85143e3964dd8290ae366","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750778244009,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:27 [15:17:27.682]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x046b15f8d561c1799a1142f14382605da7e6fe82de99144bc5a93637f77a824d","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750778244021,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:17:27 [15:17:27.773]
INFO:
archiver Stopped.
15:17:27 [15:17:27.775]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:30 [15:17:30.335]
INFO:
archiver:test Waiting for archiver to sync to block 2
15:17:30 [15:17:30.369]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 50 is more than 128 blocks behind the latest block 200
15:17:30 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:17:30 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:17:30 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
15:17:30 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
15:17:30 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
15:17:30 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:17:30 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:17:31 [15:17:31.377]
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":"0x149e286a099baf0342f091edae4ba209c5464f11059ef12a0afce9da29e93015","rollingHash":"0xd8bb825941c44b4bfcfa27829920ab17"},"messageCount":2}
15:17:31 [15:17:31.488]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0e4b47e52c505f3ea77abf4f7d8a5368154fa25483254522737f35d90a3f3074","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750778247786,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:31 [15:17:31.489]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x23aa39f8fd45bc81c9991684923922ee4193db52db76e4a7cba15fe02b446d19","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750778247798,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:17:31 [15:17:31.491]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 250 is more than 128 blocks behind the latest block 400
15:17:31 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:17:31 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:17:31 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
15:17:31 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
15:17:31 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
15:17:31 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:17:31 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:17:32 [15:17:32.583]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 450. Updated L2 latest block is 1.
15:17:32 [15:17:32.585]
ERROR:
archiver Error in running promise: BlockTagTooOldError: Block tag 450 is more than 128 blocks behind the latest block 600
15:17:32 at checkBlockTag (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/utils.js:9:15)
15:17:32 at RollupContract.canPruneAtTime (/home/aztec-dev/aztec-packages/yarn-project/ethereum/dest/contracts/rollup.js:331:9)
15:17:32 at Archiver.canPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:362:20)
15:17:32 at Archiver.handleEpochPrune (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:375:28)
15:17:32 at Archiver.sync (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:328:34)
15:17:32 at /home/aztec-dev/aztec-packages/yarn-project/telemetry-client/dest/telemetry.js:34:33
15:17:32 at poll (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/promise/running-promise.js:48:21)
15:17:33 [15:17:33.583]
INFO:
archiver Stopped.
15:17:33 [15:17:33.584]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:33 [15:17:33.851]
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":"0x053397405225bf34227893be7ee55c2a7eba58999653af44d98ab8daf82e0495","rollingHash":"0xd6827e8ccd57adb3f3273c6300892bc9"},"messageCount":6}
15:17:33 [15:17:33.851]
WARN:
archiver Last message retrieved rolling hash does not match remote state.
{"lastMessage":{"index":35,"l1BlockHash":"0x0000000000000000000000000000000000000000000000000000000000000065","l1BlockNumber":101,"l2BlockNumber":3,"leaf":"0x053397405225bf34227893be7ee55c2a7eba58999653af44d98ab8daf82e0495","rollingHash":"0xd6827e8ccd57adb3f3273c6300892bc9"},"remoteMessagesState":{"messagesRollingHash":"0xa022d271315c6bd960055be7535eb9c0","totalMessagesInserted":5,"treeInProgress":0}}
15:17:33 [15:17:33.945]
WARN:
archiver:test Reorging L1 to L2 messages
15:17:34 [15:17:34.860]
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":"0x053397405225bf34227893be7ee55c2a7eba58999653af44d98ab8daf82e0495","rollingHash":"0xd6827e8ccd57adb3f3273c6300892bc9"}}
15:17:34 [15:17:34.862]
WARN:
archiver Deleting all local L1 to L2 messages after index 33
15:17:34 [15:17:34.863]
WARN:
archiver:message_store Deleted 2 L1 to L2 messages from index 34 from the store
15:17:34 [15:17:34.877]
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":"0x2f511d746a44f5d4a95c47167ca5ed286c97928515a94094c350c89f61b0efcf","rollingHash":"0xf53267c62de381e1548e1a7cb7f51f93"},"messageCount":5}
15:17:34 [15:17:34.955]
INFO:
archiver Stopped.
15:17:34 [15:17:34.956]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:35 [15:17:35.216]
INFO:
archiver:test Syncing L2 block on slot 2 mined in L1 block 4
15:17:35 [15:17:35.969]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:17:36 [15:17:36.031]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0aa456e03c906e781cd406ee53a49844bf00429c461f79a8f8713a6bb429d79d","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750778254968,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:36 [15:17:36.071]
INFO:
archiver Stopped.
15:17:36 [15:17:36.073]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:36 [15:17:36.335]
INFO:
archiver:test Syncing L2 block on slot 3 mined in L1 block 6
15:17:37 [15:17:37.089]
INFO:
archiver:test Waiting for archiver to sync to block 1
15:17:37 [15:17:37.145]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x0701cad4eb98bc6edf525aac6243332b6cc10cf42efc8c0c25a22f9135755098","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750778256085,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:37 [15:17:37.192]
INFO:
archiver Stopped.
15:17:37 [15:17:37.193]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:37 [15:17:37.452]
INFO:
archiver:test Syncing archiver to L1 block 6
15:17:37 [15:17:37.453]
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":"0xca86df448ffa2e07490ce1a2eeb5ecadd867778fa30957efa656812f01414250","l1BlockNumber":0}}
15:17:37 [15:17:37.462]
INFO:
archiver Initial archiver sync to L1 block 6 complete.
{"l1BlockNumber":6,"syncPoint":{"blocksSynchedTo":6},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
15:17:37 [15:17:37.463]
INFO:
archiver Stopped.
15:17:37 [15:17:37.465]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:37 [15:17:37.728]
INFO:
archiver:test Syncing archiver to L1 block 7
15:17:37 [15:17:37.729]
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":"0x61067b69794fb431c35a122208194686f33a6d4c48537c7359c14f5be246afa2","l1BlockNumber":0}}
15:17:37 [15:17:37.736]
INFO:
archiver Initial archiver sync to L1 block 7 complete.
{"l1BlockNumber":7,"syncPoint":{"blocksSynchedTo":7},"latest":{"number":0},"proven":{"number":0},"finalized":{"number":0}}
15:17:37 [15:17:37.738]
INFO:
archiver Stopped.
15:17:37 [15:17:37.740]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:38 [15:17:38.003]
INFO:
archiver:test Syncing epoch 0 with L2 block on slot 1 mined in L1 block 2
15:17:38 [15:17:38.818]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x01f3691f31f78eebf7709c25dba348111fa2b4ebb954d69cb6c80377c79c5a12","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750778257751,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:38 [15:17:38.822]
INFO:
archiver Stopped.
15:17:38 [15:17:38.824]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:39 [15:17:39.104]
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":"0x4973f55c6460c715fbf87ed6175171b6af46d67f8aa49b0cf44dfbb33457a11e","l1BlockNumber":0}}
15:17:39 [15:17:39.117]
INFO:
archiver Stopped.
15:17:39 [15:17:39.118]
INFO:
kv-store:lmdb-v2:archiver_test Starting data store with maxReaders 16
15:17:41 [15:17:41.803]
INFO:
archiver Downloaded L2 block 1
{"blockHash":"0x16924fa388f5d4a56fcbf2424ff18dec65285b9f9fb22b7842ee1728733e83cb","blockNumber":1,"txCount":4,"globalVariables":{"blockNumber":1,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":1,"timestamp":1750778259130,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000002","archiveNextLeafIndex":2}
15:17:41 [15:17:41.804]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x29b2011e28866471a18692cc274f0e0d296700c041e61cca6c042501ee332d14","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750778259142,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:17:42 [15:17:42.897]
WARN:
archiver Unwound 1 block from L2 block 2 due to mismatched block hashes at L1 block 95. Updated L2 latest block is 1.
15:17:43 [15:17:43.933]
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
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
15:17:43 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:17:43 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:17:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:17:43 newBlockNumber: 3,
15:17:43 previousBlockNumber: 1
15:17:43 }
15:17:43 [15:17:43.954]
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":"0x16924fa388f5d4a56fcbf2424ff18dec65285b9f9fb22b7842ee1728733e83cb","newBlockNumber":3,"updatedL1SyncPoint":70}
15:17:43 [15:17:43.954]
ERROR:
archiver Error in running promise: InitialBlockNumberNotSequentialError: Cannot insert new block 3 given previous block number in store is 1
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:89:15
15:17:43 at AztecLMDBStoreV2.transactionAsync (/home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:106:20)
15:17:43 at BlockStore.addBlocks (/home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/kv_archiver_store/block_store.ts:79:12)
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/archiver/src/archiver/archiver.ts:1412:7
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/kv-store/dest/lmdb-v2/store.js:111:29
15:17:43 at /home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/serial_queue.js:58:33
15:17:43 at FifoMemoryQueue.process (/home/aztec-dev/aztec-packages/yarn-project/foundation/dest/queue/base_memory_queue.js:110:17) {
15:17:43 newBlockNumber: 3,
15:17:43 previousBlockNumber: 1
15:17:43 }
15:17:45 [15:17:45.081]
INFO:
archiver Downloaded L2 block 2
{"blockHash":"0x29b2011e28866471a18692cc274f0e0d296700c041e61cca6c042501ee332d14","blockNumber":2,"txCount":4,"globalVariables":{"blockNumber":2,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":2,"timestamp":1750778259142,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000003","archiveNextLeafIndex":3}
15:17:45 [15:17:45.082]
INFO:
archiver Downloaded L2 block 3
{"blockHash":"0x153d61bbaf8fb3abcdb6ce05d7aa7cf16a23ee9bd15f6a2a4bfd38f31111485d","blockNumber":3,"txCount":4,"globalVariables":{"blockNumber":3,"chainId":1,"coinbase":"0x0000000000000000000000000000000000000705","feePerDaGas":1799,"feePerL2Gas":1800,"feeRecipient":"0x0000000000000000000000000000000000000000000000000000000000000706","slotNumber":3,"timestamp":1750778259154,"version":1},"archiveRoot":"0x0000000000000000000000000000000000000000000000000000000000000004","archiveNextLeafIndex":4}
15:17:45 [15:17:45.172]
INFO:
archiver Stopped.
15:17:45
PASS src/archiver/archiver.test.ts (
30.742 s)
15:17:45 Archiver
15:17:45
✓ syncs l1 to l2 messages and blocks (4267 ms)
15:17:45
✓ ignores block 3 because it has been pruned (2781 ms)
15:17:45
✓ skip event search if no changes found (3778 ms)
15:17:45
✓ handles L2 reorg (5809 ms)
15:17:45
✓ handles updated messages due to L1 reorg (1372 ms)
15:17:45
✓ reports an epoch as pending if the current L2 block is not in the last slot of the epoch (1116 ms)
15:17:45
✓ reports an epoch as complete if the current L2 block is in the last slot of the epoch (1120 ms)
15:17:45
✓ reports an epoch as pending if the current L1 block is not the last one on the epoch and no L2 block landed (271 ms)
15:17:45
✓ reports an epoch as complete if the current L1 block is the last one on the epoch and no L2 block landed (274 ms)
15:17:45
✓ reports an epoch as complete due to timestamp only once all its blocks have been synced (1084 ms)
15:17:45
✓ starts new loop if latest L1 block has advanced beyond what a non-archive L1 node tracks (294 ms)
15:17:45
✓ handles a block gap due to a spurious L2 prune (6055 ms)
15:17:45
○ skipped handles an upcoming L2 prune
15:17:45
15:17:45
Test Suites: 1 passed, 1 total
15:17:45
Tests: 1 skipped,
12 passed, 13 total
15:17:45
Snapshots: 0 total
15:17:45
Time: 30.817 s
15:17:45
Ran all test suites matching archiver/src/archiver/archiver.test.ts
.
15:17:45
Force exiting Jest: Have you considered using `--detectOpenHandles` to detect async operations that kept running after all tests finished?