gasguess

package
v1.7.0-rc1 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0, MIT Imports: 9 Imported by: 2

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