Documentation ¶
Index ¶
- Variables
- func PackRevert(reason string) []byte
- type Runner
- func (r *Runner) ExecFunc(funcName string, blockNumber int64, gas uint64, contractAddr common.Address, ...) (interface{}, uint64, error)
- func (r *Runner) Gas() uint64
- func (r *Runner) IsOwner(blockNumber int64, gas uint64, contractAddr common.Address, sender []byte) (bool, uint64, error)
- func (r *Runner) JoinPoint(name types.PointCut, gas uint64, blockNumber int64, ...) ([]byte, uint64, error)
- func (r *Runner) Return()
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrExecutionReverted = errors.New("execution reverted")
ErrExecutionReverted same as EVM execution reverted error, used to indicate the execution is reverted.
Functions ¶
func PackRevert ¶
PackRevert packs the revert message from Aspect to make sure this message can be decoded by the caller contract.
Types ¶
Click to show internal directories.
Click to hide internal directories.