Moved pre-compiled, moved depth check

* Depth check has been moved to the execution
* Pre compiled execution has been moved to the VM
* PrecompiledAddress has been renamed to PrecompiledAccount
This commit is contained in:
obscuren
2014-12-17 23:58:52 +01:00
parent b1c58b76a9
commit 4dbdcaecb1
4 changed files with 35 additions and 23 deletions

View File

@ -48,7 +48,7 @@ var (
S256 = ethutil.S256
)
const MaxCallDepth = 1025
const MaxCallDepth = 1024
func calcMemSize(off, l *big.Int) *big.Int {
if l.Cmp(ethutil.Big0) == 0 {