package
1.32.0-rc2
Repository: https://github.com/filecoin-project/lotus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

AssertMsgResult compares a message result.
BaseFeeOrDefault converts a basefee as passed in a test vector (go *big.Int type) to an abi.TokenAmount, or if nil it returns the DefaultBaseFee.
CircSupplyOrDefault converts a circulating supply as passed in a test vector (go *big.Int type) to an abi.TokenAmount, or if nil it returns the DefaultCirculatingSupply.
ExecuteMessageVector executes a message-class test vector.
ExecuteTipsetVector executes a tipset-class test vector.
No description provided by the author
No description provided by the author
NewFixedRand creates a test vm.Rand that always returns fixed bytes value of utf-8 string 'i_am_random_____i_am_random_____'.
NewRecordingRand returns a vm.Rand implementation that proxies calls to a full Lotus node via JSON-RPC, and records matching rules and responses so they can later be embedded in test vectors.
NewReplayingRand replays recorded randomness when requested, falling back to fixed randomness if the value cannot be found; hence this is a safe backwards-compatible replacement for fixedRand.

# Variables

DefaultBaseFee to use in the VM, if one is not supplied in the vector.
DefaultCirculatingSupply is the fallback circulating supply returned by the driver's CircSupplyCalculator function, used if the vector specifies no circulating supply.
FallbackBlockstoreGetter is a fallback blockstore to use for resolving CIDs unknown to the test vector.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
LogReporter wires the Reporter methods to the log package.
No description provided by the author
No description provided by the author

# Interfaces

Reporter is a contains a subset of the testing.T methods, so that the Execute* functions in this package can be used inside or outside of go test runs.

# Type aliases

No description provided by the author