Skip to content

Commit

Permalink
Merge pull request #227 from lidofinance/feat/sr-1.5-sc-oracle-upper-…
Browse files Browse the repository at this point in the history
…limit

Update CL_BALANCE_ORACLES_ERROR_UPPER_BP_LIMIT
  • Loading branch information
avsetsin authored Oct 8, 2024
2 parents 57a5167 + 643d46d commit 14904a6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions scripts/staking-router-v2/sr-v2-deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -115,11 +115,12 @@ const REQUEST_TIMESTAMP_MARGIN = 7680;
const MAX_POSITIVE_TOKEN_REBASE = 750000;

// Must match the value in LIP-23 https://github.com/lidofinance/lido-improvement-proposals/blob/develop/LIPS/lip-23.md
// and the proposed number on the research forum https://research.lido.fi/t/staking-router-community-staking-module-upgrade-announcement/8612
const INITIAL_SLASHING_AMOUNT_P_WEI = 1000;
const INACTIVITY_PENALTIES_AMOUNT_P_WEI = 101;

// Must match the proposed number https://hackmd.io/@lido/lip-21#TVL-attack
const CL_BALANCE_ORACLES_ERROR_UPPER_BP_LIMIT = 74;
// Must match the proposed number on the research forum https://research.lido.fi/t/staking-router-community-staking-module-upgrade-announcement/8612
const CL_BALANCE_ORACLES_ERROR_UPPER_BP_LIMIT = 50;

const LIMITS = [
EXITED_VALIDATORS_PER_DAY_LIMIT,
Expand Down

0 comments on commit 14904a6

Please sign in to comment.