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

Method Logs

core/state/statedb.go:149–155  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147}
148
149func (self *StateDB) Logs() []*types.Log {
150 var logs []*types.Log
151 for _, lgs := range self.logs {
152 logs = append(logs, lgs...)
153 }
154 return logs
155}
156
157// AddPreimage records a SHA3 preimage seen by the VM.
158func (self *StateDB) AddPreimage(hash common.Hash, preimage []byte) {

Callers 3

FilterLogsMethod · 0.45
RunMethod · 0.45
RunMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected