Documentation
¶
Index ¶
- type DebugProver
- func (l *DebugProver) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error)
- func (l *DebugProver) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, ...)
- func (l *DebugProver) CaptureExit(output []byte, gasUsed uint64, err error)
- func (l *DebugProver) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, ...)
- func (l *DebugProver) CaptureStart(env *vm.EVM, from common.Address, to common.Address, create bool, input []byte, ...)
- func (l *DebugProver) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, ...)
- func (l *DebugProver) CaptureTxEnd(restGas uint64)
- func (l *DebugProver) CaptureTxStart(gasLimit uint64)
- type GeneratedState
- type OneStepProver
- func (l *OneStepProver) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error)
- func (l *OneStepProver) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, ...)
- func (l *OneStepProver) CaptureExit(output []byte, gasUsed uint64, err error)
- func (l *OneStepProver) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, ...)
- func (l *OneStepProver) CaptureStart(env *vm.EVM, from common.Address, to common.Address, create bool, input []byte, ...)
- func (l *OneStepProver) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, ...)
- func (l *OneStepProver) CaptureTxEnd(restGas uint64)
- func (l *OneStepProver) CaptureTxStart(gasLimit uint64)
- func (l *OneStepProver) GetProof() (*proof.OneStepProof, error)
- type PlaceHolderProof
- type StateGenerator
- func (l *StateGenerator) CaptureEnd(output []byte, gasUsed uint64, t time.Duration, err error)
- func (l *StateGenerator) CaptureEnter(typ vm.OpCode, from common.Address, to common.Address, input []byte, ...)
- func (l *StateGenerator) CaptureExit(output []byte, gasUsed uint64, err error)
- func (l *StateGenerator) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, ...)
- func (l *StateGenerator) CaptureStart(env *vm.EVM, from common.Address, to common.Address, create bool, input []byte, ...)
- func (l *StateGenerator) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, ...)
- func (l *StateGenerator) CaptureTxEnd(restGas uint64)
- func (l *StateGenerator) CaptureTxStart(gasLimit uint64)
- func (l *StateGenerator) GetGeneratedStates() ([]GeneratedState, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DebugProver ¶
type DebugProver struct{}
func NewDebugProver ¶
func NewDebugProver() *DebugProver
func (*DebugProver) CaptureEnd ¶
func (*DebugProver) CaptureEnter ¶
func (*DebugProver) CaptureExit ¶
func (l *DebugProver) CaptureExit(output []byte, gasUsed uint64, err error)
func (*DebugProver) CaptureFault ¶
func (l *DebugProver) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, err error)
func (*DebugProver) CaptureStart ¶
func (*DebugProver) CaptureState ¶
func (l *DebugProver) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, rData []byte, depth int, err error)
func (*DebugProver) CaptureTxEnd ¶
func (l *DebugProver) CaptureTxEnd(restGas uint64)
func (*DebugProver) CaptureTxStart ¶
func (l *DebugProver) CaptureTxStart(gasLimit uint64)
type GeneratedState ¶
type OneStepProver ¶
type OneStepProver struct {
// contains filtered or unexported fields
}
func (*OneStepProver) CaptureEnd ¶
func (*OneStepProver) CaptureEnter ¶
func (*OneStepProver) CaptureExit ¶
func (l *OneStepProver) CaptureExit(output []byte, gasUsed uint64, err error)
func (*OneStepProver) CaptureFault ¶
func (l *OneStepProver) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, err error)
func (*OneStepProver) CaptureStart ¶
func (*OneStepProver) CaptureState ¶
func (l *OneStepProver) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, rData []byte, depth int, err error)
func (*OneStepProver) CaptureTxEnd ¶
func (l *OneStepProver) CaptureTxEnd(restGas uint64)
func (*OneStepProver) CaptureTxStart ¶
func (l *OneStepProver) CaptureTxStart(gasLimit uint64)
func (*OneStepProver) GetProof ¶
func (l *OneStepProver) GetProof() (*proof.OneStepProof, error)
type PlaceHolderProof ¶
type PlaceHolderProof struct{}
func (*PlaceHolderProof) Encode ¶
func (p *PlaceHolderProof) Encode() []byte
type StateGenerator ¶
type StateGenerator struct {
// contains filtered or unexported fields
}
func NewStateGenerator ¶
func NewStateGenerator() *StateGenerator
func (*StateGenerator) CaptureEnd ¶
func (*StateGenerator) CaptureEnter ¶
func (*StateGenerator) CaptureExit ¶
func (l *StateGenerator) CaptureExit(output []byte, gasUsed uint64, err error)
func (*StateGenerator) CaptureFault ¶
func (l *StateGenerator) CaptureFault(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, depth int, err error)
func (*StateGenerator) CaptureStart ¶
func (*StateGenerator) CaptureState ¶
func (l *StateGenerator) CaptureState(pc uint64, op vm.OpCode, gas, cost uint64, scope *vm.ScopeContext, rData []byte, depth int, err error)
func (*StateGenerator) CaptureTxEnd ¶
func (l *StateGenerator) CaptureTxEnd(restGas uint64)
func (*StateGenerator) CaptureTxStart ¶
func (l *StateGenerator) CaptureTxStart(gasLimit uint64)
func (*StateGenerator) GetGeneratedStates ¶
func (l *StateGenerator) GetGeneratedStates() ([]GeneratedState, error)
Click to show internal directories.
Click to hide internal directories.