Precompiled contract & Depth change

* Added pre-compiled contract 0x04 (mem cpy)
* Changed depth error to return the gas instead of consuming
This commit is contained in:
obscuren
2015-01-05 17:37:30 +01:00
parent d001479a47
commit b99b2c446c
3 changed files with 19 additions and 1 deletions

View File

@ -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)