|
|
@ -38,9 +38,9 @@ public class MainnetProtocolScheduleTest { |
|
|
|
.isEqualTo("TangerineWhistle"); |
|
|
|
.isEqualTo("TangerineWhistle"); |
|
|
|
Assertions.assertThat(sched.getByBlockNumber(2_675_000L).getName()).isEqualTo("SpuriousDragon"); |
|
|
|
Assertions.assertThat(sched.getByBlockNumber(2_675_000L).getName()).isEqualTo("SpuriousDragon"); |
|
|
|
Assertions.assertThat(sched.getByBlockNumber(4_730_000L).getName()).isEqualTo("Byzantium"); |
|
|
|
Assertions.assertThat(sched.getByBlockNumber(4_730_000L).getName()).isEqualTo("Byzantium"); |
|
|
|
Assertions.assertThat(sched.getByBlockNumber(7_080_000L).getName()).isEqualTo("Constantinople"); |
|
|
|
// Constantinople was originally scheduled for 7_080_000, but postponed
|
|
|
|
Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName()) |
|
|
|
Assertions.assertThat(sched.getByBlockNumber(7_080_000L).getName()).isEqualTo("Byzantium"); |
|
|
|
.isEqualTo("Constantinople"); |
|
|
|
Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName()).isEqualTo("Byzantium"); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|