Update gnosis capella preset (#4302)

## Issue Addressed

N/A

## Proposed Changes

Gnosis preset values have been updated from previous placeholder values. This changes are required for chiado since it inherits the preset from gnosis mainnet.

- preset values update PR ref: https://github.com/gnosischain/configs/pull/11

## Additional Info

N/A
This commit is contained in:
Lion - dapplion 2023-05-19 10:07:12 +00:00
parent 283c327f85
commit 981c72e863
3 changed files with 4 additions and 4 deletions

View File

@ -9,9 +9,9 @@ MAX_BLS_TO_EXECUTION_CHANGES: 16
# Execution
# ---------------------------------------------------------------
# 2**4 (= 16) withdrawals
MAX_WITHDRAWALS_PER_PAYLOAD: 16
MAX_WITHDRAWALS_PER_PAYLOAD: 8
# Withdrawals processing
# ---------------------------------------------------------------
# 2**14 (= 16384) validators
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP: 16384
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP: 8192

View File

@ -843,7 +843,7 @@ impl ChainSpec {
*/
capella_fork_version: [0x03, 0x00, 0x00, 0x64],
capella_fork_epoch: None,
max_validators_per_withdrawals_sweep: 16384,
max_validators_per_withdrawals_sweep: 8192,
/*
* Network specific

View File

@ -373,7 +373,7 @@ impl EthSpec for GnosisEthSpec {
type MaxPendingAttestations = U2048; // 128 max attestations * 16 slots per epoch
type SlotsPerEth1VotingPeriod = U1024; // 64 epochs * 16 slots per epoch
type MaxBlsToExecutionChanges = U16;
type MaxWithdrawalsPerPayload = U16;
type MaxWithdrawalsPerPayload = U8;
fn default_spec() -> ChainSpec {
ChainSpec::gnosis()