diff options
author | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-10-20 20:27:47 +0800 |
---|---|---|
committer | Jeffrey Wilcke <jeffrey@ethereum.org> | 2016-11-13 17:44:04 +0800 |
commit | 779ddb183275ed506ebae972876fe04098c738e5 (patch) | |
tree | 6d52a07ce591b8eb5e9a57b40051cd5e705a3ce2 /params | |
parent | 445feaeef58bd89a113743dccf6fd5df55cde6fa (diff) | |
download | dexon-779ddb183275ed506ebae972876fe04098c738e5.tar dexon-779ddb183275ed506ebae972876fe04098c738e5.tar.gz dexon-779ddb183275ed506ebae972876fe04098c738e5.tar.bz2 dexon-779ddb183275ed506ebae972876fe04098c738e5.tar.lz dexon-779ddb183275ed506ebae972876fe04098c738e5.tar.xz dexon-779ddb183275ed506ebae972876fe04098c738e5.tar.zst dexon-779ddb183275ed506ebae972876fe04098c738e5.zip |
core/vm, params: EIP160: EXP reprice
Diffstat (limited to 'params')
-rw-r--r-- | params/gas_table.go | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/params/gas_table.go b/params/gas_table.go index 3b27cd522..093dacc8b 100644 --- a/params/gas_table.go +++ b/params/gas_table.go @@ -26,9 +26,7 @@ type GasTable struct { Calls *big.Int Suicide *big.Int - Exp *big.Int - ExpOneByte *big.Int - Exp256 *big.Int + ExpByte *big.Int // CreateBySuicide occurs when the // refunded account is one that does @@ -48,7 +46,7 @@ var ( SLoad: big.NewInt(50), Calls: big.NewInt(40), Suicide: big.NewInt(0), - Exp: big.NewInt(20), + ExpByte: big.NewInt(10), // explicitly set to nil to indicate // this rule does not apply to homestead. @@ -66,7 +64,7 @@ var ( SLoad: big.NewInt(200), Calls: big.NewInt(700), Suicide: big.NewInt(5000), - Exp: big.NewInt(20), + ExpByte: big.NewInt(10), CreateBySuicide: big.NewInt(25000), } @@ -78,9 +76,7 @@ var ( SLoad: big.NewInt(200), Calls: big.NewInt(700), Suicide: big.NewInt(5000), - Exp: big.NewInt(80), - ExpOneByte: big.NewInt(160), - Exp256: big.NewInt(2640), + ExpByte: big.NewInt(50), CreateBySuicide: big.NewInt(25000), } |