Skip to content

Commit

Permalink
Merge pull request #2933 from rsksmart/increase_mainnet_validation_pe…
Browse files Browse the repository at this point in the history
…riod

Increase mainnet svp validation period
  • Loading branch information
marcos-iov authored Jan 13, 2025
2 parents 85dd54c + 4571343 commit 09ff25b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,13 +42,13 @@ private FederationMainNetConstants() {
).map(hex -> ECKey.fromPublicOnly(Hex.decode(hex))).toList();
federationChangeAuthorizer = new AddressBasedAuthorizer(federationChangeAuthorizedKeys, AddressBasedAuthorizer.MinimumRequiredCalculation.MAJORITY);

validationPeriodDurationInBlocks = 16000L;
validationPeriodDurationInBlocks = 20_000L;

federationActivationAgeLegacy = 18500L;
federationActivationAge = 40320L;
federationActivationAgeLegacy = 18_500L;
federationActivationAge = 40_320L;

fundsMigrationAgeSinceActivationBegin = 0L;
fundsMigrationAgeSinceActivationEnd = 10585L;
fundsMigrationAgeSinceActivationEnd = 10_585L;
specialCaseFundsMigrationAgeSinceActivationEnd = 172_800L; // 60 days, considering 1 block every 30 seconds

erpFedPubKeysList = Stream.of(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ void getValidationPeriodDuration(FederationConstants constants, long expectedDur

private static Stream<Arguments> validationPeriodDurationArgs() {
return Stream.of(
Arguments.of(MAINNET, 16000L),
Arguments.of(MAINNET, 20000L),
Arguments.of(TESTNET, 2000L),
Arguments.of(REGTEST, 125L)
);
Expand Down

0 comments on commit 09ff25b

Please sign in to comment.