forked from Consensys/teku
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Used mainnet file as the basis for gnosis, and minimal as the basis for swift. partially addresses Consensys#5680 Signed-off-by: Paul Harris <[email protected]>
- Loading branch information
Showing
10 changed files
with
182 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/presets/gnosis/capella.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Mainnet preset - Capella | ||
|
||
# Misc | ||
# --------------------------------------------------------------- | ||
# 2**8 (= 256) withdrawals | ||
MAX_PARTIAL_WITHDRAWALS_PER_EPOCH: 256 | ||
|
||
|
||
# State list lengths | ||
# --------------------------------------------------------------- | ||
# 2**40 (= 1,099,511,627,776) withdrawals | ||
WITHDRAWAL_QUEUE_LIMIT: 1099511627776 | ||
|
||
|
||
# Max operations per block | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) | ||
MAX_BLS_TO_EXECUTION_CHANGES: 16 | ||
|
||
|
||
# Execution | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) withdrawals | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 16 |
24 changes: 24 additions & 0 deletions
24
ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/presets/mainnet/capella.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Mainnet preset - Capella | ||
|
||
# Misc | ||
# --------------------------------------------------------------- | ||
# 2**8 (= 256) withdrawals | ||
MAX_PARTIAL_WITHDRAWALS_PER_EPOCH: 256 | ||
|
||
|
||
# State list lengths | ||
# --------------------------------------------------------------- | ||
# 2**40 (= 1,099,511,627,776) withdrawals | ||
WITHDRAWAL_QUEUE_LIMIT: 1099511627776 | ||
|
||
|
||
# Max operations per block | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) | ||
MAX_BLS_TO_EXECUTION_CHANGES: 16 | ||
|
||
|
||
# Execution | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) withdrawals | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 16 |
26 changes: 26 additions & 0 deletions
26
ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/presets/minimal/capella.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
|
||
# Minimal preset - Capella | ||
|
||
# Misc | ||
# --------------------------------------------------------------- | ||
# [customized] 16 for more interesting tests at low validator count | ||
MAX_PARTIAL_WITHDRAWALS_PER_EPOCH: 16 | ||
|
||
|
||
# State list lengths | ||
# --------------------------------------------------------------- | ||
# 2**40 (= 1,099,511,627,776) withdrawals | ||
WITHDRAWAL_QUEUE_LIMIT: 1099511627776 | ||
|
||
|
||
# Max operations per block | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) | ||
MAX_BLS_TO_EXECUTION_CHANGES: 16 | ||
|
||
|
||
# Execution | ||
# --------------------------------------------------------------- | ||
# [customized] Lower than MAX_PARTIAL_WITHDRAWALS_PER_EPOCH so not all processed in one block | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 8 |
24 changes: 24 additions & 0 deletions
24
ethereum/spec/src/main/resources/tech/pegasys/teku/spec/config/presets/swift/capella.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Minimal preset - Capella | ||
|
||
# Misc | ||
# --------------------------------------------------------------- | ||
# [customized] 16 for more interesting tests at low validator count | ||
MAX_PARTIAL_WITHDRAWALS_PER_EPOCH: 16 | ||
|
||
|
||
# State list lengths | ||
# --------------------------------------------------------------- | ||
# 2**40 (= 1,099,511,627,776) withdrawals | ||
WITHDRAWAL_QUEUE_LIMIT: 1099511627776 | ||
|
||
|
||
# Max operations per block | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) | ||
MAX_BLS_TO_EXECUTION_CHANGES: 16 | ||
|
||
|
||
# Execution | ||
# --------------------------------------------------------------- | ||
# [customized] Lower than MAX_PARTIAL_WITHDRAWALS_PER_EPOCH so not all processed in one block | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
...ec/src/test/resources/tech/pegasys/teku/spec/config/standard/presets/mainnet/capella.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Mainnet preset - Capella | ||
|
||
# Misc | ||
# --------------------------------------------------------------- | ||
# 2**8 (= 256) withdrawals | ||
MAX_PARTIAL_WITHDRAWALS_PER_EPOCH: 256 | ||
|
||
|
||
# State list lengths | ||
# --------------------------------------------------------------- | ||
# 2**40 (= 1,099,511,627,776) withdrawals | ||
WITHDRAWAL_QUEUE_LIMIT: 1099511627776 | ||
|
||
|
||
# Max operations per block | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) | ||
MAX_BLS_TO_EXECUTION_CHANGES: 16 | ||
|
||
|
||
# Execution | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) withdrawals | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 16 |
24 changes: 24 additions & 0 deletions
24
...ec/src/test/resources/tech/pegasys/teku/spec/config/standard/presets/minimal/capella.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Minimal preset - Capella | ||
|
||
# Misc | ||
# --------------------------------------------------------------- | ||
# [customized] 16 for more interesting tests at low validator count | ||
MAX_PARTIAL_WITHDRAWALS_PER_EPOCH: 16 | ||
|
||
|
||
# State list lengths | ||
# --------------------------------------------------------------- | ||
# 2**40 (= 1,099,511,627,776) withdrawals | ||
WITHDRAWAL_QUEUE_LIMIT: 1099511627776 | ||
|
||
|
||
# Max operations per block | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) | ||
MAX_BLS_TO_EXECUTION_CHANGES: 16 | ||
|
||
|
||
# Execution | ||
# --------------------------------------------------------------- | ||
# [customized] Lower than MAX_PARTIAL_WITHDRAWALS_PER_EPOCH so not all processed in one block | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 8 |
24 changes: 24 additions & 0 deletions
24
...spec/src/test/resources/tech/pegasys/teku/spec/config/standard/presets/swift/capella.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Minimal preset - Capella | ||
|
||
# Misc | ||
# --------------------------------------------------------------- | ||
# [customized] 16 for more interesting tests at low validator count | ||
MAX_PARTIAL_WITHDRAWALS_PER_EPOCH: 16 | ||
|
||
|
||
# State list lengths | ||
# --------------------------------------------------------------- | ||
# 2**40 (= 1,099,511,627,776) withdrawals | ||
WITHDRAWAL_QUEUE_LIMIT: 1099511627776 | ||
|
||
|
||
# Max operations per block | ||
# --------------------------------------------------------------- | ||
# 2**4 (= 16) | ||
MAX_BLS_TO_EXECUTION_CHANGES: 16 | ||
|
||
|
||
# Execution | ||
# --------------------------------------------------------------- | ||
# [customized] Lower than MAX_PARTIAL_WITHDRAWALS_PER_EPOCH so not all processed in one block | ||
MAX_WITHDRAWALS_PER_PAYLOAD: 8 |