aboutsummaryrefslogtreecommitdiffstats
path: root/vm/common.go
diff options
context:
space:
mode:
authorobscuren <geffobscura@gmail.com>2015-03-03 18:11:11 +0800
committerobscuren <geffobscura@gmail.com>2015-03-03 18:11:11 +0800
commitc1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b (patch)
treeec0d2325fc2c4e53050ba7b52222eacf6030a289 /vm/common.go
parentfe7ab662f0f1d17a4f350e344756da9e31790d45 (diff)
downloadgo-tangerine-c1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b.tar
go-tangerine-c1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b.tar.gz
go-tangerine-c1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b.tar.bz2
go-tangerine-c1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b.tar.lz
go-tangerine-c1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b.tar.xz
go-tangerine-c1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b.tar.zst
go-tangerine-c1ef19bef9d4207b5f7d6fc5ff40375a5f0d203b.zip
quad mem
Diffstat (limited to 'vm/common.go')
-rw-r--r--vm/common.go6
1 files changed, 4 insertions, 2 deletions
diff --git a/vm/common.go b/vm/common.go
index bc1353009..1202966fd 100644
--- a/vm/common.go
+++ b/vm/common.go
@@ -43,7 +43,7 @@ var (
GasStorageMod = big.NewInt(5000)
GasLogBase = big.NewInt(2000)
GasLogTopic = big.NewInt(2000)
- GasLogData = big.NewInt(8)
+ GasLogByte = big.NewInt(8)
GasCreate = big.NewInt(32000)
GasCreateByte = big.NewInt(300)
GasCall = big.NewInt(40)
@@ -57,11 +57,13 @@ var (
RefundSuicide = big.NewInt(24000)
GasMemWord = big.NewInt(3)
- GasQuadCoeffWord = big.NewInt(1)
+ GasQuadCoeffDenom = big.NewInt(512)
GasContractByte = big.NewInt(200)
GasTransaction = big.NewInt(21000)
GasTxDataNonzeroByte = big.NewInt(37)
GasTxZeroByte = big.NewInt(2)
+ GasExp = big.NewInt(10)
+ GasExpByte = big.NewInt(10)
GasSha3Base = big.NewInt(30)
GasSha3Word = big.NewInt(6)