diff options
author | obscuren <geffobscura@gmail.com> | 2015-01-06 00:37:30 +0800 |
---|---|---|
committer | obscuren <geffobscura@gmail.com> | 2015-01-06 00:39:42 +0800 |
commit | b99b2c446ca3a81a692eb58294d5a4f6a999f00c (patch) | |
tree | 11c6091f79a7a5bccd485bf1d74f7dec7504b6e9 /vm/common.go | |
parent | d001479a47ee27a460a7cc6df136176662fd1799 (diff) | |
download | dexon-b99b2c446ca3a81a692eb58294d5a4f6a999f00c.tar.gz dexon-b99b2c446ca3a81a692eb58294d5a4f6a999f00c.tar.zst dexon-b99b2c446ca3a81a692eb58294d5a4f6a999f00c.zip |
Precompiled contract & Depth change
* Added pre-compiled contract 0x04 (mem cpy)
* Changed depth error to return the gas instead of consuming
Diffstat (limited to 'vm/common.go')
-rw-r--r-- | vm/common.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/vm/common.go b/vm/common.go index 529bbdeb1..acf18eede 100644 --- a/vm/common.go +++ b/vm/common.go @@ -38,6 +38,7 @@ var ( GasSha256 = big.NewInt(50) GasRipemd = big.NewInt(50) GasEcrecover = big.NewInt(500) + GasMemCpy = big.NewInt(1) Pow256 = ethutil.BigPow(2, 256) |