()
| 147 | } |
| 148 | |
| 149 | func (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. |
| 158 | func (self *StateDB) AddPreimage(hash common.Hash, preimage []byte) { |
no outgoing calls
no test coverage detected