ConstantinopleConfig extends ByzantiumConfig { @Override public Constants getConstants() { return constants; } ConstantinopleConfig(BlockchainConfig parent); @Override Constants getConstants(); @Override boolean eip1052(); @Override boolean eip145(); @Override boolean eip1283(); @Override boolean eip1014();  }
@Test public void testBlockReward() throws Exception { ConstantinopleConfig constantinopleConfig2 = new ConstantinopleConfig(new TestBlockchainConfig() { @Override public Constants getConstants() { return new ConstantsAdapter(super.getConstants()) { @Override public BigInteger getBLOCK_REWARD() { return BigInteger.TEN; } }; } }); assertEquals(EtherUtil.convert(2, EtherUtil.Unit.ETHER), constantinopleConfig2.getConstants().getBLOCK_REWARD()); }