@Test
public void testExplosionChanges() throws Exception {

    ByzantiumConfig byzantiumConfig = new ByzantiumConfig(new TestBlockchainConfig());
    BlockHeader beforePauseBlock = new BlockHeaderBuilder(FAKE_HASH, 2_000_000, 0).build();
    assertEquals(-2, byzantiumConfig.getExplosion(beforePauseBlock, null));
    BlockHeader endOfIceAge = new BlockHeaderBuilder(FAKE_HASH, 3_000_000, 0).build();
    assertEquals(-2, byzantiumConfig.getExplosion(endOfIceAge, null));
    BlockHeader startExplodingBlock = new BlockHeaderBuilder(FAKE_HASH, 3_200_000, 0).build();
    assertEquals(0, byzantiumConfig.getExplosion(startExplodingBlock, null));
    startExplodingBlock = new BlockHeaderBuilder(FAKE_HASH, 4_000_000, 0).build();
    assertEquals(8, byzantiumConfig.getExplosion(startExplodingBlock, null));
    startExplodingBlock = new BlockHeaderBuilder(FAKE_HASH, 6_000_000, 0).build();
    assertEquals(28, byzantiumConfig.getExplosion(startExplodingBlock, null));
}