(db *StateDB)
| 273 | func (c *stateObject) ReturnGas(gas *big.Int) {} |
| 274 | |
| 275 | func (self *stateObject) deepCopy(db *StateDB) *stateObject { |
| 276 | stateObject := newObject(db, self.address, self.data) |
| 277 | if self.trie != nil { |
| 278 | stateObject.trie = db.db.CopyTrie(self.trie) |
| 279 | } |
| 280 | stateObject.code = self.code |
| 281 | stateObject.dirtyStorage = self.dirtyStorage.Copy() |
| 282 | stateObject.cachedStorage = self.dirtyStorage.Copy() |
| 283 | stateObject.suicided = self.suicided |
| 284 | stateObject.dirtyCode = self.dirtyCode |
| 285 | stateObject.deleted = self.deleted |
| 286 | return stateObject |
| 287 | } |
| 288 | |
| 289 | // |
| 290 | // Attribute accessors |
no test coverage detected