@Test public void testGetGasCost() throws Exception { TestBlockchainConfig parent = new TestBlockchainConfig(); Eip160HFConfig config = new Eip160HFConfig(parent); assertTrue(config.getGasCost() instanceof Eip160HFConfig.GasCostEip160HF); assertEquals(50, config.getGasCost().getEXP_BYTE_GAS()); }
@Override public GasCost getGasCost() { return NEW_GAS_COST; }
Eip160HFConfig extends Eip150HFConfig { @Override public GasCost getGasCost() { return NEW_GAS_COST; } }
Eip160HFConfig extends Eip150HFConfig { @Override public GasCost getGasCost() { return NEW_GAS_COST; } Eip160HFConfig(BlockchainConfig parent); }
Eip160HFConfig extends Eip150HFConfig { @Override public GasCost getGasCost() { return NEW_GAS_COST; } Eip160HFConfig(BlockchainConfig parent); @Override GasCost getGasCost(); @Override boolean eip161(); @Override Integer getChainId(); @Override Constants getConstants(); @Override boolean acceptTransactionSignature(Transaction tx); }
Eip160HFConfig extends Eip150HFConfig { @Override public GasCost getGasCost() { return NEW_GAS_COST; } Eip160HFConfig(BlockchainConfig parent); @Override GasCost getGasCost(); @Override boolean eip161(); @Override Integer getChainId(); @Override Constants getConstants(); @Override boolean acceptTransactionSignature(Transaction tx);  }