Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
7
var
ErrFinalized = errorf(
"cannot add to tx log after finalize"
)
8
9
func
opLog(vm *VM) {
10
data := vm.popData()
11
vm.log(Bytes{LogCode}, Bytes(vm.contract.seed[:]), data)
12
}
13
14
func
opPeekLog(vm *VM) {
15
i := int64(vm.popInt())
Callers
nothing calls this directly
Calls
3
Bytes
TypeAlias · 0.85
popData
Method · 0.80
log
Method · 0.80
Tested by
no test coverage detected