slow

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Step

func Step(calldata []byte, po PreimageOracle) (stateHash common.Hash, outErr error)

Types

type PreimageOracle

type PreimageOracle interface {
	ReadPreimagePart(key [32]byte, offset uint64) (dat [32]byte, datlen uint8, err error)
}

type U256

type U256 = uint256.Int

type U64

type U64 uint256.Int

U64 is like a Go uint64, always within range, but represented as uint256 in memory with 0 padding.

type UnrecognizedResourceErr

type UnrecognizedResourceErr struct {
	Resource U64
}

func (*UnrecognizedResourceErr) Error

func (e *UnrecognizedResourceErr) Error() string

type UnrecognizedSyscallErr

type UnrecognizedSyscallErr struct {
	SyscallNum U64
}

func (*UnrecognizedSyscallErr) Error

func (e *UnrecognizedSyscallErr) Error() string

type UnsupportedSyscallErr

type UnsupportedSyscallErr struct {
	SyscallNum U64
}

func (*UnsupportedSyscallErr) Error

func (e *UnsupportedSyscallErr) Error() string

Jump to

Keyboard shortcuts

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