Decrease proposer boost to 40% (#3201)

## Issue Addressed

https://github.com/ethereum/consensus-specs/pull/2895

## Proposed Changes

Lower the proposer boost to 40%, which is a trade-off against different types of attacks.

## Additional Info

This PR also enables proposer boost on Ropsten assuming that this PR will be merged: https://github.com/eth-clients/merge-testnets/pull/10
This commit is contained in:
Michael Sproul 2022-05-23 03:52:31 +00:00
parent 7a64994283
commit a72154eda0
6 changed files with 16 additions and 11 deletions

View File

@ -74,8 +74,8 @@ CHURN_LIMIT_QUOTIENT: 4096
# Fork choice # Fork choice
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 70% # 40%
PROPOSER_SCORE_BOOST: 70 PROPOSER_SCORE_BOOST: 40
# Deposit contract # Deposit contract
# --------------------------------------------------------------- # ---------------------------------------------------------------

View File

@ -74,8 +74,8 @@ CHURN_LIMIT_QUOTIENT: 65536
# Fork choice # Fork choice
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 70% # 40%
PROPOSER_SCORE_BOOST: 70 PROPOSER_SCORE_BOOST: 40
# Deposit contract # Deposit contract
# --------------------------------------------------------------- # ---------------------------------------------------------------

View File

@ -74,8 +74,8 @@ CHURN_LIMIT_QUOTIENT: 65536
# Fork choice # Fork choice
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 70% # 40%
PROPOSER_SCORE_BOOST: 70 PROPOSER_SCORE_BOOST: 40
# Deposit contract # Deposit contract
# --------------------------------------------------------------- # ---------------------------------------------------------------

View File

@ -59,6 +59,11 @@ MIN_PER_EPOCH_CHURN_LIMIT: 4
CHURN_LIMIT_QUOTIENT: 65536 CHURN_LIMIT_QUOTIENT: 65536
# Fork choice
# ---------------------------------------------------------------
# 40%
PROPOSER_SCORE_BOOST: 40
# Deposit contract # Deposit contract
# --------------------------------------------------------------- # ---------------------------------------------------------------
DEPOSIT_CHAIN_ID: 3 DEPOSIT_CHAIN_ID: 3

View File

@ -500,7 +500,7 @@ impl ChainSpec {
* Fork choice * Fork choice
*/ */
safe_slots_to_update_justified: 8, safe_slots_to_update_justified: 8,
proposer_score_boost: Some(70), proposer_score_boost: Some(40),
/* /*
* Eth1 * Eth1
@ -698,7 +698,7 @@ impl ChainSpec {
* Fork choice * Fork choice
*/ */
safe_slots_to_update_justified: 8, safe_slots_to_update_justified: 8,
proposer_score_boost: Some(70), proposer_score_boost: Some(40),
/* /*
* Eth1 * Eth1
@ -1261,7 +1261,7 @@ mod yaml_tests {
EJECTION_BALANCE: 16000000000 EJECTION_BALANCE: 16000000000
MIN_PER_EPOCH_CHURN_LIMIT: 4 MIN_PER_EPOCH_CHURN_LIMIT: 4
CHURN_LIMIT_QUOTIENT: 65536 CHURN_LIMIT_QUOTIENT: 65536
PROPOSER_SCORE_BOOST: 70 PROPOSER_SCORE_BOOST: 40
DEPOSIT_CHAIN_ID: 1 DEPOSIT_CHAIN_ID: 1
DEPOSIT_NETWORK_ID: 1 DEPOSIT_NETWORK_ID: 1
DEPOSIT_CONTRACT_ADDRESS: 0x00000000219ab540356cBB839Cbe05303d7705Fa DEPOSIT_CONTRACT_ADDRESS: 0x00000000219ab540356cBB839Cbe05303d7705Fa

View File

@ -72,8 +72,8 @@ CHURN_LIMIT_QUOTIENT: 65536
# Fork choice # Fork choice
# --------------------------------------------------------------- # ---------------------------------------------------------------
# 70% # 40%
PROPOSER_SCORE_BOOST: 70 PROPOSER_SCORE_BOOST: 40
# Deposit contract # Deposit contract
# --------------------------------------------------------------- # ---------------------------------------------------------------