gasguess

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 15, 2021 License: Apache-2.0, MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const MaxGas = 1600271356
View Source
const MinGas = 1298450

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