Merge pull request #1062 from Gustav-Simonsson/tests_updates

Tests updates
This commit is contained in:
Jeffrey Wilcke
2015-05-21 04:49:23 -07:00
7 changed files with 9209 additions and 31 deletions
+6
View File
@@ -38,6 +38,12 @@ func (self *Execution) Create(caller vm.ContextRef) (ret []byte, err error, acco
code := self.input
self.input = nil
ret, err = self.exec(nil, code, caller)
// Here we get an error if we run into maximum stack depth,
// See: https://github.com/ethereum/yellowpaper/pull/131
// and YP definitions for CREATE instruction
if err != nil {
return nil, err, nil
}
account = self.env.State().GetStateObject(*self.address)
return
}