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

Function opDrop

protocol/txvm/data.go:24–29  ·  view source on GitHub ↗
(vm *VM)

Source from the content-addressed store, hash-verified

22}
23
24func opDrop(vm *VM) {
25 item := vm.pop()
26 if !item.isDroppable() {
27 panic(errors.WithData(ErrType, "want", "Data, zero Value", "got", fmt.Sprintf("%T", item)))
28 }
29}
30
31func opEq(vm *VM) {
32 v1 := vm.popData()

Callers

nothing calls this directly

Calls 3

WithDataFunction · 0.92
isDroppableMethod · 0.65
popMethod · 0.45

Tested by

no test coverage detected