Skip to content

Commit

Permalink
Merge pull request #2891 from rsksmart/add-rskip460
Browse files Browse the repository at this point in the history
Add RSKIP460 activation code
  • Loading branch information
marcos-iov authored Dec 12, 2024
2 parents 8184a36 + 8b6fafc commit 7ee97b4
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,8 @@ public enum ConsensusRule {
RSKIP427("rskip427"),
RSKIP428("rskip428"),
RSKIP434("rskip434"),
RSKIP438("rskip438")
RSKIP438("rskip438"),
RSKIP460("rskip460")
;

private final String configKey;
Expand Down
1 change: 1 addition & 0 deletions rskj-core/src/main/resources/expected.conf
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ blockchain = {
rskip428 = <hardforkName>
rskip434 = <hardforkName>
rskip438 = <hardforkName>
rskip460 = <hardforkName>
}
}
gc = {
Expand Down
1 change: 1 addition & 0 deletions rskj-core/src/main/resources/reference.conf
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ blockchain = {
rskip428 = lovell700
rskip434 = arrowhead631
rskip438 = lovell700
rskip460 = lovell700
}
}
gc = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ class ActivationConfigTest {
" rskip428: lovell700",
" rskip434: arrowhead631",
" rskip438: lovell700",
" rskip460: lovell700",
"}"
));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ private static List<ConsensusRule> getArrowhead631Rskips() {
private static List<ConsensusRule> getLovell700Rskips() {
return new ArrayList<>(Arrays.asList(
ConsensusRule.RSKIP427,
ConsensusRule.RSKIP428
ConsensusRule.RSKIP428,
ConsensusRule.RSKIP460
));
}

Expand Down

0 comments on commit 7ee97b4

Please sign in to comment.