MCPcopy Create free account
hub / github.com/CPChain/chain / setState

Method setState

core/state/state_object.go:195–198  ·  view source on GitHub ↗
(key, value common.Hash)

Source from the content-addressed store, hash-verified

193}
194
195func (self *stateObject) setState(key, value common.Hash) {
196 self.cachedStorage[key] = value
197 self.dirtyStorage[key] = value
198}
199
200// updateTrie writes cached storage modifications into the object's storage trie.
201func (self *stateObject) updateTrie(db Database) Trie {

Callers 2

SetStateMethod · 0.95
revertMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected