@Test public void testGetCreateGas() { Eip150HFConfig eip150 = new Eip150HFConfig(null); DataWord createGas = eip150.getCreateGas(DataWord.of(64_000)); assertEquals(BigInteger.valueOf(63_000), createGas.value()); }
@Override public DataWord getCreateGas(DataWord availableGas) { return Utils.allButOne64th(availableGas); }
Eip150HFConfig implements BlockchainConfig, BlockchainNetConfig { @Override public DataWord getCreateGas(DataWord availableGas) { return Utils.allButOne64th(availableGas); } }
Eip150HFConfig implements BlockchainConfig, BlockchainNetConfig { @Override public DataWord getCreateGas(DataWord availableGas) { return Utils.allButOne64th(availableGas); } Eip150HFConfig(BlockchainConfig parent); }
Eip150HFConfig implements BlockchainConfig, BlockchainNetConfig { @Override public DataWord getCreateGas(DataWord availableGas) { return Utils.allButOne64th(availableGas); } Eip150HFConfig(BlockchainConfig parent); @Override DataWord getCallGas(OpCode op, DataWord requestedGas, DataWord availableGas); @Override DataWord getCreateGas(DataWord availableGas); @Override Constants getConstants(); @Override MinerIfc getMineAlgorithm(SystemProperties config); @Override BigInteger calcDifficulty(BlockHeader curBlock, BlockHeader parent); @Override BigInteger getCalcDifficultyMultiplier(BlockHeader curBlock, BlockHeader parent); @Override long getTransactionCost(Transaction tx); @Override boolean acceptTransactionSignature(Transaction tx); @Override String validateTransactionChanges(BlockStore blockStore, Block curBlock, Transaction tx, Repository repository); @Override void hardForkTransfers(Block block, Repository repo); @Override byte[] getExtraData(byte[] minerExtraData, long blockNumber); @Override List<Pair<Long, BlockHeaderValidator>> headerValidators(); @Override boolean eip161(); @Override GasCost getGasCost(); @Override BlockchainConfig getConfigForBlock(long blockNumber); @Override Constants getCommonConstants(); @Override Integer getChainId(); @Override boolean eip198(); @Override boolean eip206(); @Override boolean eip211(); @Override boolean eip212(); @Override boolean eip213(); @Override boolean eip214(); @Override boolean eip658(); @Override boolean eip145(); @Override boolean eip1052(); @Override boolean eip1283(); @Override boolean eip1014(); @Override String toString(); }
Eip150HFConfig implements BlockchainConfig, BlockchainNetConfig { @Override public DataWord getCreateGas(DataWord availableGas) { return Utils.allButOne64th(availableGas); } Eip150HFConfig(BlockchainConfig parent); @Override DataWord getCallGas(OpCode op, DataWord requestedGas, DataWord availableGas); @Override DataWord getCreateGas(DataWord availableGas); @Override Constants getConstants(); @Override MinerIfc getMineAlgorithm(SystemProperties config); @Override BigInteger calcDifficulty(BlockHeader curBlock, BlockHeader parent); @Override BigInteger getCalcDifficultyMultiplier(BlockHeader curBlock, BlockHeader parent); @Override long getTransactionCost(Transaction tx); @Override boolean acceptTransactionSignature(Transaction tx); @Override String validateTransactionChanges(BlockStore blockStore, Block curBlock, Transaction tx, Repository repository); @Override void hardForkTransfers(Block block, Repository repo); @Override byte[] getExtraData(byte[] minerExtraData, long blockNumber); @Override List<Pair<Long, BlockHeaderValidator>> headerValidators(); @Override boolean eip161(); @Override GasCost getGasCost(); @Override BlockchainConfig getConfigForBlock(long blockNumber); @Override Constants getCommonConstants(); @Override Integer getChainId(); @Override boolean eip198(); @Override boolean eip206(); @Override boolean eip211(); @Override boolean eip212(); @Override boolean eip213(); @Override boolean eip214(); @Override boolean eip658(); @Override boolean eip145(); @Override boolean eip1052(); @Override boolean eip1283(); @Override boolean eip1014(); @Override String toString();  }