Danno Ferrin 6 years ago committed by GitHub
parent df88b69b2b
commit bbc76a25b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      config/src/main/resources/mainnet.json
  2. 4
      ethereum/core/src/test/java/tech/pegasys/pantheon/ethereum/mainnet/MainnetProtocolScheduleTest.java

@ -9,6 +9,7 @@
"eip155Block": 2675000,
"eip158Block": 2675000,
"byzantiumBlock": 4370000,
"constantinopleBlock": 7080000,
"ethash": {
}

@ -37,7 +37,9 @@ public class MainnetProtocolScheduleTest {
.isEqualTo("TangerineWhistle");
Assertions.assertThat(sched.getByBlockNumber(2_675_000L).getName()).isEqualTo("SpuriousDragon");
Assertions.assertThat(sched.getByBlockNumber(4_730_000L).getName()).isEqualTo("Byzantium");
Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName()).isEqualTo("Byzantium");
Assertions.assertThat(sched.getByBlockNumber(7_080_000L).getName()).isEqualTo("Constantinople");
Assertions.assertThat(sched.getByBlockNumber(Long.MAX_VALUE).getName())
.isEqualTo("Constantinople");
}
@Test

Loading…
Cancel
Save