executor

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 4, 2024 License: LGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EVMExecutor

type EVMExecutor struct {
	// contains filtered or unexported fields
}

func NewEVMExecutor

func NewEVMExecutor(domainID uint8, proofSubmitter ProofSubmitter) *EVMExecutor

func (*EVMExecutor) Execute

func (e *EVMExecutor) Execute(props []*proposal.Proposal) error

type ProofSubmitter

type ProofSubmitter interface {
	Step(
		domainID uint8,
		input message.SyncStepInput,
		stepProof []byte,
		stateRoot [32]byte,
		stateRootProof [][]byte,
		opts transactor.TransactOptions,
	) (*common.Hash, error)
	Rotate(
		domainID uint8,
		rotateProof []byte,
		stepInput message.SyncStepInput,
		stepProof []byte,
		opts transactor.TransactOptions,
	) (*common.Hash, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL