Skip to content

Commit 85c3e68

Browse files
dapplionisaac.asimov
authored and
isaac.asimov
committed
Update gnosis capella preset (sigp#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: gnosischain/configs#11 ## Additional Info N/A
1 parent 34e3d9c commit 85c3e68

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

consensus/types/presets/gnosis/capella.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ MAX_BLS_TO_EXECUTION_CHANGES: 16
99
# Execution
1010
# ---------------------------------------------------------------
1111
# 2**4 (= 16) withdrawals
12-
MAX_WITHDRAWALS_PER_PAYLOAD: 16
12+
MAX_WITHDRAWALS_PER_PAYLOAD: 8
1313

1414
# Withdrawals processing
1515
# ---------------------------------------------------------------
1616
# 2**14 (= 16384) validators
17-
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP: 16384
17+
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP: 8192

consensus/types/src/chain_spec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -843,7 +843,7 @@ impl ChainSpec {
843843
*/
844844
capella_fork_version: [0x03, 0x00, 0x00, 0x64],
845845
capella_fork_epoch: None,
846-
max_validators_per_withdrawals_sweep: 16384,
846+
max_validators_per_withdrawals_sweep: 8192,
847847

848848
/*
849849
* Network specific

consensus/types/src/eth_spec.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ impl EthSpec for GnosisEthSpec {
373373
type MaxPendingAttestations = U2048; // 128 max attestations * 16 slots per epoch
374374
type SlotsPerEth1VotingPeriod = U1024; // 64 epochs * 16 slots per epoch
375375
type MaxBlsToExecutionChanges = U16;
376-
type MaxWithdrawalsPerPayload = U16;
376+
type MaxWithdrawalsPerPayload = U8;
377377

378378
fn default_spec() -> ChainSpec {
379379
ChainSpec::gnosis()

0 commit comments

Comments
 (0)