Skip to content

Commit

Permalink
Upgrade consensus-spec-tests to v1.5.0-beta.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Tumas committed Jan 14, 2025
1 parent 1ed0992 commit 60cd7b0
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
2 changes: 1 addition & 1 deletion consensus-spec-tests
4 changes: 2 additions & 2 deletions eip_7594/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ mod tests {

#[duplicate_item(
glob function_name preset;
["consensus-spec-tests/tests/mainnet/fulu/networking/get_custody_columns/*/*"] [get_custody_groups_mainnet] [Mainnet];
["consensus-spec-tests/tests/minimal/fulu/networking/get_custody_columns/*/*"] [get_custody_groups_minimal] [Minimal];
["consensus-spec-tests/tests/mainnet/fulu/networking/get_custody_groups/*/*"] [get_custody_groups_mainnet] [Mainnet];
["consensus-spec-tests/tests/minimal/fulu/networking/get_custody_groups/*/*"] [get_custody_groups_minimal] [Minimal];
)]
#[test_resources(glob)]
fn function_name(case: Case) {
Expand Down
2 changes: 1 addition & 1 deletion eth2_libp2p
1 change: 1 addition & 0 deletions scripts/ci/consensus-spec-tests-coverage.rb
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
presets/*/trusted_setups/*.json
tests/*/*/light_client/sync/pyspec_tests/*/*.{ssz_snappy,yaml}
tests/*/*/light_client/update_ranking/pyspec_tests/*/*.{ssz_snappy,yaml}
tests/*/*/light_client/data_collection/pyspec_tests/*/*.{ssz_snappy,yaml}
tests/*/eip6110/*/*/*/*/*.{ssz_snappy,yaml}
tests/*/fulu/*/*/*/*/*.{ssz_snappy,yaml}
tests/*/whisk/*/*/*/*/*.{ssz_snappy,yaml}
Expand Down
7 changes: 2 additions & 5 deletions types/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,7 @@ pub struct Config {
#[serde(with = "serde_utils::string_or_native")]
pub epochs_per_subnet_subscription: NonZeroU64,
#[serde(with = "serde_utils::string_or_native")]
pub gossip_max_size: usize,
#[serde(with = "serde_utils::string_or_native")]
pub max_chunk_size: usize,
pub max_payload_size: usize,
pub message_domain_valid_snappy: DomainType,
#[serde(with = "serde_utils::string_or_native")]
pub resp_timeout: u64,
Expand Down Expand Up @@ -233,8 +231,7 @@ impl Default for Config {
// Networking
attestation_subnet_extra_bits: 0,
epochs_per_subnet_subscription: nonzero!(256_u64),
gossip_max_size: 10_485_760,
max_chunk_size: 10_485_760,
max_payload_size: 10_485_760,
message_domain_valid_snappy: H32(hex!("01000000")),
resp_timeout: 10,
subnets_per_node: 2,
Expand Down

0 comments on commit 60cd7b0

Please sign in to comment.