gasguess

package
v0.0.0-...-484cccf Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2023 License: Apache-2.0, MIT Imports: 9 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