From 8a38eeaf6520f87a3de3ba52dc1862f25644c04b Mon Sep 17 00:00:00 2001 From: Etan Kissling Date: Mon, 24 Feb 2025 21:40:10 +0100 Subject: [PATCH] Use larger serialization limit when parsing fork choice tests `MAX_BLOBS_PER_BLOCK` became configurable with v1.5.0-alpha.4 specs (moved from preset to config), so use the theoretical max allowed value when parsing fork choice tests. --- tests/consensus_spec/test_fixture_fork_choice.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/consensus_spec/test_fixture_fork_choice.nim b/tests/consensus_spec/test_fixture_fork_choice.nim index ecb442242f..b2ab66ced1 100644 --- a/tests/consensus_spec/test_fixture_fork_choice.nim +++ b/tests/consensus_spec/test_fixture_fork_choice.nim @@ -137,7 +137,7 @@ proc loadOps( Opt.some BlobData( blobs: distinctBase(parseTest( path/(step["blobs"].getStr()) & ".ssz_snappy", - SSZ, List[KzgBlob, Limit MAX_BLOBS_PER_BLOCK])), + SSZ, List[KzgBlob, Limit MAX_BLOB_COMMITMENTS_PER_BLOCK])), proofs: step["proofs"].mapIt( KzgProof(bytes: fromHex(array[48, byte], it.getStr())))) else: