aboutsummaryrefslogtreecommitdiffstats
path: root/vm/common.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-03 20:29:52 +0800
committerobscuren <geffobscura@gmail.com>2015-03-03 20:29:52 +0800
commitfa831206c617b398c3b74a1b6589893cd9dde6bd (patch)
treec975ff97f4af816e3c768a57d5a9c538abe4eabb /vm/common.go
parentffa6b99ab638af7bb6753b663612bad48019c334 (diff)
downloaddexon-fa831206c617b398c3b74a1b6589893cd9dde6bd.tar.gz
dexon-fa831206c617b398c3b74a1b6589893cd9dde6bd.tar.zst
dexon-fa831206c617b398c3b74a1b6589893cd9dde6bd.zip
Updated gast costs
Diffstat (limited to 'vm/common.go')
-rw-r--r--vm/common.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/vm/common.go b/vm/common.go
index af458e599..919153335 100644
--- a/vm/common.go
+++ b/vm/common.go
@@ -45,7 +45,7 @@ var (
GasLogTopic = big.NewInt(375)
GasLogByte = big.NewInt(8)
GasCreate = big.NewInt(32000)
- GasCreateByte = big.NewInt(300)
+ GasCreateByte = big.NewInt(200)
GasCall = big.NewInt(40)
GasCallValueTransfer = big.NewInt(9000)
GasStipend = big.NewInt(2300)
@@ -61,8 +61,9 @@ var (
GasQuadCoeffDenom = big.NewInt(512)
GasContractByte = big.NewInt(200)
GasTransaction = big.NewInt(21000)
- GasTxDataNonzeroByte = big.NewInt(37)
- GasTxZeroByte = big.NewInt(2)
+ GasTxDataNonzeroByte = big.NewInt(68)
+ GasTxDataZeroByte = big.NewInt(4)
+ GasTx = big.NewInt(21000)
GasExp = big.NewInt(10)
GasExpByte = big.NewInt(10)