From 6a9ed6ddd5625a658ce86247ffe77ae0c7956013 Mon Sep 17 00:00:00 2001 From: tersec Date: Sat, 10 Jun 2023 01:45:53 +0000 Subject: [PATCH] use v1.4.0-alpha.2 consensus spec test vectors (#5051) --- beacon_chain/spec/datatypes/base.nim | 2 +- beacon_chain/spec/presets/mainnet/deneb_preset.nim | 4 ++-- beacon_chain/spec/presets/minimal/deneb_preset.nim | 6 +++--- vendor/nim-eth2-scenarios | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/beacon_chain/spec/datatypes/base.nim b/beacon_chain/spec/datatypes/base.nim index 49c3ecd7d..f80b7f63c 100644 --- a/beacon_chain/spec/datatypes/base.nim +++ b/beacon_chain/spec/datatypes/base.nim @@ -74,7 +74,7 @@ export tables, results, json_serialization, timer, sszTypes, beacon_time, crypto, digest, presets -const SPEC_VERSION* = "1.4.0-alpha.1" +const SPEC_VERSION* = "1.4.0-alpha.2" ## Spec version we're aiming to be compatible with, right now const diff --git a/beacon_chain/spec/presets/mainnet/deneb_preset.nim b/beacon_chain/spec/presets/mainnet/deneb_preset.nim index 80aaffa2a..88492aeea 100644 --- a/beacon_chain/spec/presets/mainnet/deneb_preset.nim +++ b/beacon_chain/spec/presets/mainnet/deneb_preset.nim @@ -6,11 +6,11 @@ # at your option. This file may not be copied, modified, or distributed except according to those terms. # Mainnet preset - Deneb -# https://github.com/ethereum/consensus-specs/blob/v1.4.0-alpha.1/presets/mainnet/deneb.yaml +# https://github.com/ethereum/consensus-specs/blob/v1.4.0-alpha.2/presets/mainnet/deneb.yaml const # `uint64(4096)` FIELD_ELEMENTS_PER_BLOB*: uint64 = 4096 # `uint64(2**12)` (= 4096) MAX_BLOB_COMMITMENTS_PER_BLOCK*: uint64 = 4096 # `uint64(2**2)` (= 4) - MAX_BLOBS_PER_BLOCK*: uint64 = 4 + MAX_BLOBS_PER_BLOCK*: uint64 = 6 diff --git a/beacon_chain/spec/presets/minimal/deneb_preset.nim b/beacon_chain/spec/presets/minimal/deneb_preset.nim index 23e960b61..c888fee41 100644 --- a/beacon_chain/spec/presets/minimal/deneb_preset.nim +++ b/beacon_chain/spec/presets/minimal/deneb_preset.nim @@ -6,11 +6,11 @@ # at your option. This file may not be copied, modified, or distributed except according to those terms. # Minimal preset - Deneb -# https://github.com/ethereum/consensus-specs/blob/v1.4.0-alpha.1/presets/minimal/deneb.yaml +# https://github.com/ethereum/consensus-specs/blob/v1.4.0-alpha.2/presets/minimal/deneb.yaml const # [customized] FIELD_ELEMENTS_PER_BLOB*: uint64 = 4 # [customized] MAX_BLOB_COMMITMENTS_PER_BLOCK*: uint64 = 16 - # `uint64(2**2)` (= 4) - MAX_BLOBS_PER_BLOCK*: uint64 = 4 + # `uint64(6)` + MAX_BLOBS_PER_BLOCK*: uint64 = 6 diff --git a/vendor/nim-eth2-scenarios b/vendor/nim-eth2-scenarios index 5b2e38f1e..4d81171ca 160000 --- a/vendor/nim-eth2-scenarios +++ b/vendor/nim-eth2-scenarios @@ -1 +1 @@ -Subproject commit 5b2e38f1e2eefdd2c7d275db8be13d6643eab383 +Subproject commit 4d81171caa006fd9c1ae31dc447c9f8fd84d79c4