diff options
Diffstat (limited to 'core/state/state_object.go')
-rw-r--r-- | core/state/state_object.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/state/state_object.go b/core/state/state_object.go index b8b1972e0..bfc4ebc6c 100644 --- a/core/state/state_object.go +++ b/core/state/state_object.go @@ -138,9 +138,12 @@ func (c *StateObject) setAddr(addr []byte, value interface{}) { } func (self *StateObject) GetStorage(key *big.Int) *common.Value { + fmt.Printf("%v: get %v %v", self.address.Hex(), key) return self.GetState(common.BytesToHash(key.Bytes())) } + func (self *StateObject) SetStorage(key *big.Int, value *common.Value) { + fmt.Printf("%v: set %v -> %v", self.address.Hex(), key, value) self.SetState(common.BytesToHash(key.Bytes()), value) } |