MCPcopy Create free account
hub / github.com/chain/txvm / opLog

Function opLog

protocol/txvm/log.go:9–12  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

7var ErrFinalized = errorf("cannot add to tx log after finalize")
8
9func opLog(vm *VM) {
10 data := vm.popData()
11 vm.log(Bytes{LogCode}, Bytes(vm.contract.seed[:]), data)
12}
13
14func opPeekLog(vm *VM) {
15 i := int64(vm.popInt())

Callers

nothing calls this directly

Calls 3

BytesTypeAlias · 0.85
popDataMethod · 0.80
logMethod · 0.80

Tested by

no test coverage detected