Skip to content

Commit

Permalink
capella preset for Gnosis (#4936)
Browse files Browse the repository at this point in the history
```
MAX_WITHDRAWALS_PER_PAYLOAD* = 8
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP* = 8192
```

gnosischain/configs#11
  • Loading branch information
etan-status authored May 11, 2023
1 parent 22c298c commit e0f024c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 7 deletions.
19 changes: 13 additions & 6 deletions beacon_chain/spec/presets/gnosis/capella_preset.nim
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Mainnet preset - Capella
# https://github.com/ethereum/consensus-specs/blob/v1.3.0-alpha.2/presets/mainnet/capella.yaml
# beacon_chain
# Copyright (c) 2023 Status Research & Development GmbH
# Licensed and distributed under either of
# * MIT license (license terms in the root directory or at https://opensource.org/licenses/MIT).
# * Apache v2 license (license terms in the root directory or at https://www.apache.org/licenses/LICENSE-2.0).
# at your option. This file may not be copied, modified, or distributed except according to those terms.

# Gnosis preset - Capella
# https://github.com/gnosischain/configs/blob/main/presets/gnosis/capella.yaml
const
# Max operations per block
# ---------------------------------------------------------------
Expand All @@ -9,11 +16,11 @@ const

# Execution
# ---------------------------------------------------------------
# 2**4 (= 16) withdrawals
MAX_WITHDRAWALS_PER_PAYLOAD* = 16
# 2**3 (= 8) withdrawals
MAX_WITHDRAWALS_PER_PAYLOAD* = 8


# Withdrawals processing
# ---------------------------------------------------------------
# 2**14 (= 16384) validators
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP* = 16384
# 2**13 (= 8192) validators
MAX_VALIDATORS_PER_WITHDRAWALS_SWEEP* = 8192
2 changes: 1 addition & 1 deletion vendor/gnosis-chain-configs
Submodule gnosis-chain-configs updated 27 files
+6 −0 .gitignore
+1 −0 chiado/boot_enr.yaml
+0 −12 chiado/bootstrap_nodes.txt
+1 −0 chiado/bootstrap_nodes.txt
+7 −4 chiado/config.yaml
+5 −0 devnets/gnosis-withdrawal-devnet-2/bootnodes-beacon.txt
+5 −0 devnets/gnosis-withdrawal-devnet-2/bootnodes-execution.txt
+315 −0 devnets/gnosis-withdrawal-devnet-2/chainspec.json
+169 −0 devnets/gnosis-withdrawal-devnet-2/config.yaml
+1 −0 devnets/gnosis-withdrawal-devnet-2/deploy_block.txt
+1 −0 devnets/gnosis-withdrawal-devnet-2/deposit_contract.txt
+1 −0 devnets/gnosis-withdrawal-devnet-2/deposit_contract_block.txt
+ devnets/gnosis-withdrawal-devnet-2/genesis.ssz
+5 −0 devnets/gnosis-withdrawal-devnet-3/bootnodes-beacon.txt
+5 −0 devnets/gnosis-withdrawal-devnet-3/bootnodes-execution.txt
+311 −0 devnets/gnosis-withdrawal-devnet-3/chainspec.json
+169 −0 devnets/gnosis-withdrawal-devnet-3/config.yaml
+1 −0 devnets/gnosis-withdrawal-devnet-3/deploy_block.txt
+ devnets/gnosis-withdrawal-devnet-3/genesis.ssz
+8 −0 devnets/gnosis-withdrawal-devnet-4/bootnodes-beacon.txt
+7 −0 devnets/gnosis-withdrawal-devnet-4/bootnodes-execution.txt
+311 −0 devnets/gnosis-withdrawal-devnet-4/chainspec.json
+169 −0 devnets/gnosis-withdrawal-devnet-4/config.yaml
+1 −0 devnets/gnosis-withdrawal-devnet-4/deploy_block.txt
+ devnets/gnosis-withdrawal-devnet-4/genesis.ssz
+1 −0 mainnet/boot_enr.yaml
+0 −8 mainnet/bootstrap_nodes.txt
+1 −0 mainnet/bootstrap_nodes.txt
+4 −4 presets/gnosis/capella.yaml

0 comments on commit e0f024c

Please sign in to comment.