MCPcopy Create free account
hub / github.com/CPChain/chain / CaptureState

Method CaptureState

core/vm/logger.go:101–101  ·  view source on GitHub ↗
(env *EVM, pc uint64, op OpCode, gas, cost uint64, memory *Memory, stack *Stack, contract *Contract, depth int, err error)

Source from the content-addressed store, hash-verified

99type Tracer interface {
100 CaptureStart(from common.Address, to common.Address, call bool, input []byte, gas uint64, value *big.Int) error
101 CaptureState(env *EVM, pc uint64, op OpCode, gas, cost uint64, memory *Memory, stack *Stack, contract *Contract, depth int, err error) error
102 CaptureFault(env *EVM, pc uint64, op OpCode, gas, cost uint64, memory *Memory, stack *Stack, contract *Contract, depth int, err error) error
103 CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error) error
104}

Callers 3

TestStoreCaptureFunction · 0.65
RunMethod · 0.65
TestHaltBetweenStepsFunction · 0.65

Implementers 2

StructLoggercore/vm/logger.go
Tracerprotocols/cpc/tracers/tracer.go

Calls

no outgoing calls

Tested by 2

TestStoreCaptureFunction · 0.52
TestHaltBetweenStepsFunction · 0.52