diff --git a/rskj-core/src/main/java/org/ethereum/config/blockchain/upgrades/NetworkUpgrade.java b/rskj-core/src/main/java/org/ethereum/config/blockchain/upgrades/NetworkUpgrade.java index fa980e86b17..299cc3b9803 100644 --- a/rskj-core/src/main/java/org/ethereum/config/blockchain/upgrades/NetworkUpgrade.java +++ b/rskj-core/src/main/java/org/ethereum/config/blockchain/upgrades/NetworkUpgrade.java @@ -31,7 +31,7 @@ public enum NetworkUpgrade { HOP400("hop400"), HOP401("hop401"), FINGERROOT500("fingerroot500"), - TBD600("tbd600"); + ARROWHEAD600("arrowhead600"); private String name; diff --git a/rskj-core/src/main/resources/config/devnet.conf b/rskj-core/src/main/resources/config/devnet.conf index 6739feac631..d1eda6f0c4c 100644 --- a/rskj-core/src/main/resources/config/devnet.conf +++ b/rskj-core/src/main/resources/config/devnet.conf @@ -12,7 +12,7 @@ blockchain.config { hop400 = 0, hop401 = 0, fingerroot500 = 0, - tbd600 = 0 + arrowhead600 = 0 }, consensusRules = { rskip97 = -1 # disable orchid difficulty drop diff --git a/rskj-core/src/main/resources/config/main.conf b/rskj-core/src/main/resources/config/main.conf index 57994237184..6714121446c 100644 --- a/rskj-core/src/main/resources/config/main.conf +++ b/rskj-core/src/main/resources/config/main.conf @@ -12,7 +12,7 @@ blockchain.config { hop400 = 4598500, hop401 = 4976300, fingerroot500 = 5468000, - tbd600 = -1 + arrowhead600 = -1 } } diff --git a/rskj-core/src/main/resources/config/regtest.conf b/rskj-core/src/main/resources/config/regtest.conf index 6becc0c884b..f5949e94cf4 100644 --- a/rskj-core/src/main/resources/config/regtest.conf +++ b/rskj-core/src/main/resources/config/regtest.conf @@ -12,7 +12,7 @@ blockchain.config { hop400 = 0, hop401 = 0, fingerroot500 = 0 - tbd600 = 0 + arrowhead600 = 0 }, consensusRules = { rskip97 = -1 # disable orchid difficulty drop diff --git a/rskj-core/src/main/resources/config/testnet.conf b/rskj-core/src/main/resources/config/testnet.conf index 3e0d1952a8b..fa1956af5ee 100644 --- a/rskj-core/src/main/resources/config/testnet.conf +++ b/rskj-core/src/main/resources/config/testnet.conf @@ -12,7 +12,7 @@ blockchain.config { hop400 = 3103000, hop401 = 3362200, fingerroot500 = 4015800, - tbd600 = -1 + arrowhead600 = -1 }, consensusRules = { rskip97 = -1, # disable orchid difficulty drop diff --git a/rskj-core/src/main/resources/expected.conf b/rskj-core/src/main/resources/expected.conf index aa3f5a5a49d..57e52beb51f 100644 --- a/rskj-core/src/main/resources/expected.conf +++ b/rskj-core/src/main/resources/expected.conf @@ -15,7 +15,7 @@ blockchain = { hop400 = hop401 = fingerroot500 = - tbd600 = + arrowhead600 = } consensusRules = { areBridgeTxsPaid = diff --git a/rskj-core/src/main/resources/reference.conf b/rskj-core/src/main/resources/reference.conf index 8b0259c10b5..8c8ee860e6c 100644 --- a/rskj-core/src/main/resources/reference.conf +++ b/rskj-core/src/main/resources/reference.conf @@ -68,12 +68,12 @@ blockchain = { rskip357 = hop401 rskip374 = fingerroot500 rskip375 = fingerroot500 - rskip376 = tbd600 + rskip376 = arrowhead600 rskip377 = fingerroot500 rskip383 = fingerroot500 rskip385 = fingerroot500 - rskip398 = tbd600 - rskip400 = tbd600 + rskip398 = arrowhead600 + rskip400 = arrowhead600 } } gc = { diff --git a/rskj-core/src/test/java/co/rsk/peg/BridgeSupportProcessFundsMigrationTest.java b/rskj-core/src/test/java/co/rsk/peg/BridgeSupportProcessFundsMigrationTest.java index 6f1a565d7d3..e7c37058e36 100644 --- a/rskj-core/src/test/java/co/rsk/peg/BridgeSupportProcessFundsMigrationTest.java +++ b/rskj-core/src/test/java/co/rsk/peg/BridgeSupportProcessFundsMigrationTest.java @@ -40,7 +40,7 @@ private static Stream processFundMigrationArgsProvider() { BridgeMainNetConstants bridgeMainNetConstants = BridgeMainNetConstants.getInstance(); BridgeTestNetConstants bridgeTestNetConstants = BridgeTestNetConstants.getInstance(); - ActivationConfig.ForBlock wasabiActivations = ActivationConfigsForTest.wasabi100().forBlock(0);; + ActivationConfig.ForBlock wasabiActivations = ActivationConfigsForTest.wasabi100().forBlock(0); Stream wasabiTests = Stream.of( Arguments.of(bridgeTestNetConstants, wasabiActivations, false), Arguments.of(bridgeTestNetConstants, wasabiActivations, true), @@ -48,7 +48,7 @@ private static Stream processFundMigrationArgsProvider() { Arguments.of(bridgeMainNetConstants, wasabiActivations, true) ); - ActivationConfig.ForBlock papyrusActivations = ActivationConfigsForTest.papyrus200().forBlock(0);; + ActivationConfig.ForBlock papyrusActivations = ActivationConfigsForTest.papyrus200().forBlock(0); Stream papyrusTests = Stream.of( Arguments.of(bridgeTestNetConstants, papyrusActivations, false), Arguments.of(bridgeTestNetConstants, papyrusActivations, true), @@ -56,7 +56,7 @@ private static Stream processFundMigrationArgsProvider() { Arguments.of(bridgeMainNetConstants, papyrusActivations, true) ); - ActivationConfig.ForBlock irisActivations = ActivationConfigsForTest.iris300().forBlock(0);; + ActivationConfig.ForBlock irisActivations = ActivationConfigsForTest.iris300().forBlock(0); Stream irisTests = Stream.of( Arguments.of(bridgeTestNetConstants, irisActivations, false), Arguments.of(bridgeTestNetConstants, irisActivations, true), @@ -64,7 +64,7 @@ private static Stream processFundMigrationArgsProvider() { Arguments.of(bridgeMainNetConstants, irisActivations, true) ); - ActivationConfig.ForBlock hopActivations = ActivationConfigsForTest.hop400().forBlock(0);; + ActivationConfig.ForBlock hopActivations = ActivationConfigsForTest.hop400().forBlock(0); Stream hopTests = Stream.of( Arguments.of(bridgeTestNetConstants, hopActivations, false), Arguments.of(bridgeTestNetConstants, hopActivations, true), @@ -73,7 +73,7 @@ private static Stream processFundMigrationArgsProvider() { ); - ActivationConfig.ForBlock hop401Activations = ActivationConfigsForTest.hop401().forBlock(0);; + ActivationConfig.ForBlock hop401Activations = ActivationConfigsForTest.hop401().forBlock(0); Stream hop401Tests = Stream.of( Arguments.of(bridgeTestNetConstants, hop401Activations, false), Arguments.of(bridgeTestNetConstants, hop401Activations, true), @@ -81,7 +81,7 @@ private static Stream processFundMigrationArgsProvider() { Arguments.of(bridgeMainNetConstants, hop401Activations, true) ); - ActivationConfig.ForBlock fingerrootActivations = ActivationConfigsForTest.fingerroot500().forBlock(0);; + ActivationConfig.ForBlock fingerrootActivations = ActivationConfigsForTest.fingerroot500().forBlock(0); Stream fingerrootTests = Stream.of( Arguments.of(bridgeTestNetConstants, fingerrootActivations, false), Arguments.of(bridgeTestNetConstants, fingerrootActivations, true), @@ -89,8 +89,8 @@ private static Stream processFundMigrationArgsProvider() { Arguments.of(bridgeMainNetConstants, fingerrootActivations, true) ); - ActivationConfig.ForBlock tbdActivations = ActivationConfigsForTest.tbd600().forBlock(0);; - Stream tbdTests = Stream.of( + ActivationConfig.ForBlock tbdActivations = ActivationConfigsForTest.arrowhead600().forBlock(0); + Stream arrowheadTests = Stream.of( Arguments.of(bridgeTestNetConstants, tbdActivations, false), Arguments.of(bridgeTestNetConstants, tbdActivations, true), Arguments.of(bridgeMainNetConstants, tbdActivations, false), @@ -104,7 +104,7 @@ private static Stream processFundMigrationArgsProvider() { hopTests, hop401Tests, fingerrootTests, - tbdTests + arrowheadTests ).flatMap(Function.identity()); } diff --git a/rskj-core/src/test/java/co/rsk/peg/PowpegMigrationTest.java b/rskj-core/src/test/java/co/rsk/peg/PowpegMigrationTest.java index 4909cc5219e..6bed2125530 100644 --- a/rskj-core/src/test/java/co/rsk/peg/PowpegMigrationTest.java +++ b/rskj-core/src/test/java/co/rsk/peg/PowpegMigrationTest.java @@ -1416,7 +1416,7 @@ private static Stream activationsArgProvider() { .forBlock(0); ActivationConfig.ForBlock tbdActivations = ActivationConfigsForTest - .tbd600() + .arrowhead600() .forBlock(0); return Stream.of( diff --git a/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigTest.java b/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigTest.java index 6f7837e8754..1e4d4cfeab0 100644 --- a/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigTest.java +++ b/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigTest.java @@ -42,7 +42,7 @@ class ActivationConfigTest { " hop400: 0", " hop401: 0", " fingerroot500: 0", - " tbd600: 0", + " arrowhead600: 0", "},", "consensusRules: {", " areBridgeTxsPaid: afterBridgeSync,", @@ -108,12 +108,12 @@ class ActivationConfigTest { " rskip357: hop401", " rskip374: fingerroot500", " rskip375: fingerroot500", - " rskip376: tbd600", + " rskip376: arrowhead600", " rskip377: fingerroot500", " rskip383: fingerroot500", " rskip385: fingerroot500", - " rskip398: tbd600", - " rskip400: tbd600", + " rskip398: arrowhead600", + " rskip400: arrowhead600", "}" )); diff --git a/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigsForTest.java b/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigsForTest.java index 700adcad4c0..beee1a23653 100644 --- a/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigsForTest.java +++ b/rskj-core/src/test/java/org/ethereum/config/blockchain/upgrades/ActivationConfigsForTest.java @@ -175,7 +175,7 @@ private static List getFingerroot500Rskips() { return rskips; } - private static List getTbd600Rskips() { + private static List getArrowhead600Rskips() { List rskips = new ArrayList<>(); rskips.addAll(Arrays.asList( ConsensusRule.RSKIP376 @@ -304,11 +304,11 @@ public static ActivationConfig fingerroot500(List except) { return enableTheseDisableThose(rskips, except); } - public static ActivationConfig tbd600() { - return tbd600(Collections.emptyList()); + public static ActivationConfig arrowhead600() { + return arrowhead600(Collections.emptyList()); } - public static ActivationConfig tbd600(List except) { + public static ActivationConfig arrowhead600(List except) { List rskips = new ArrayList<>(); rskips.addAll(getPaidBridgeTxsRskip()); rskips.addAll(getOrchidRskips()); @@ -321,7 +321,7 @@ public static ActivationConfig tbd600(List except) { rskips.addAll(getHop400Rskips()); rskips.addAll(getHop401Rskips()); rskips.addAll(getFingerroot500Rskips()); - rskips.addAll(getTbd600Rskips()); + rskips.addAll(getArrowhead600Rskips()); return enableTheseDisableThose(rskips, except); }