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

Method popData

protocol/txvm/vm.go:211–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

209}
210
211func (vm *VM) popData() Data {
212 v, ok := vm.pop().(Data)
213 if !ok {
214 panic(errors.WithData(ErrType, "want", "Data"))
215 }
216 return v
217}
218
219func (vm *VM) popBool() bool {
220 v := vm.popData()

Callers 8

popBoolMethod · 0.95
opExtFunction · 0.80
opCheckSigFunction · 0.80
opLogFunction · 0.80
opEqFunction · 0.80
opLenFunction · 0.80
opTupleFunction · 0.80
opEncodeFunction · 0.80

Calls 2

popMethod · 0.95
WithDataFunction · 0.92

Tested by

no test coverage detected