MCPcopy Index your code
hub / github.com/chain/Core / opProgram

Function opProgram

protocol/vm/introspection.go:80–87  ·  view source on GitHub ↗
(vm *virtualMachine)

Source from the content-addressed store, hash-verified

78}
79
80func opProgram(vm *virtualMachine) error {
81 err := vm.applyCost(1)
82 if err != nil {
83 return err
84 }
85
86 return vm.push(vm.context.Code, true)
87}
88
89func opMinTime(vm *virtualMachine) error {
90 err := vm.applyCost(1)

Callers

nothing calls this directly

Calls 2

applyCostMethod · 0.80
pushMethod · 0.80

Tested by

no test coverage detected