Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions scripts/scratch/deployed-testnet-defaults.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
"accountingOracle": {
"deployParameters": {
"consensusVersion": 3
"consensusVersion": 4
}
},
"hashConsensusForValidatorsExitBusOracle": {
Expand All @@ -89,7 +89,7 @@
},
"validatorsExitBusOracle": {
"deployParameters": {
"consensusVersion": 3
"consensusVersion": 4
}
},
"depositSecurityModule": {
Expand Down Expand Up @@ -122,11 +122,9 @@
"NORMALIZED_CL_REWARD_MISTAKE_RATE_BP": 1000,
"REBASE_CHECK_NEAREST_EPOCH_DISTANCE": 1,
"REBASE_CHECK_DISTANT_EPOCH_DISTANCE": 23,
"VALIDATOR_DELAYED_TIMEOUT_IN_SLOTS": 7200,
"VALIDATOR_DELINQUENT_TIMEOUT_IN_SLOTS": 28800,
"NODE_OPERATOR_NETWORK_PENETRATION_THRESHOLD_BP": 100,
"PREDICTION_DURATION_IN_SLOTS": 50400,
"FINALIZATION_MAX_NEGATIVE_REBASE_EPOCH_SHIFT": 1350
"FINALIZATION_MAX_NEGATIVE_REBASE_EPOCH_SHIFT": 1350,
"EXIT_EVENTS_LOOKBACK_WINDOW_IN_SLOTS": 100800
}
},
"nodeOperatorsRegistry": {
Expand Down
8 changes: 8 additions & 0 deletions scripts/scratch/steps/0130-grant-roles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ export async function main() {
const validatorsExitBusOracleAddress = state[Sk.validatorsExitBusOracle].proxy.address;
const depositSecurityModuleAddress = state[Sk.depositSecurityModule].address;
const triggerableWithdrawalsGatewayAddress = state[Sk.triggerableWithdrawalsGateway].address;
const validatorExitDelayVerifierAddress = state[Sk.validatorExitDelayVerifier].address;

// StakingRouter
const stakingRouter = await loadContract<StakingRouter>("StakingRouter", stakingRouterAddress);
Expand Down Expand Up @@ -57,6 +58,13 @@ export async function main() {
{ from: deployer },
);

await makeTx(
stakingRouter,
"grantRole",
[await stakingRouter.REPORT_VALIDATOR_EXITING_STATUS_ROLE(), validatorExitDelayVerifierAddress],
{ from: deployer },
);

// ValidatorsExitBusOracle
if (gateSealAddress) {
const validatorsExitBusOracle = await loadContract<ValidatorsExitBusOracle>(
Expand Down
Loading