gasguess

package
v1.10.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Feb 16, 2023 License: Apache-2.0, MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MinGas = 1298450
	MaxGas = 1600271356
)

Variables

Functions

func GuessGasUsed

func GuessGasUsed(ctx context.Context, tsk types.TipSetKey, msg *types.SignedMessage, al ActorLookup) (int64, error)

Types

type ActorLookup

type ActorLookup func(context.Context, address.Address, types.TipSetKey) (*types.Actor, error)

type CostKey

type CostKey struct {
	Code cid.Cid
	M    abi.MethodNum
}

Jump to

Keyboard shortcuts

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