Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + var DefaultBaseFee = abi.NewTokenAmount(100) + var DefaultCirculatingSupply = types.TotalEpkInt + var FallbackBlockstoreGetter interface + var TipsetVectorOpts struct + func AssertMsgResult(r Reporter, expected *schema.Receipt, actual *vm.ApplyRet, label string) + func BaseFeeOrDefault(basefee *gobig.Int) abi.TokenAmount + func CircSupplyOrDefault(circSupply *gobig.Int) abi.TokenAmount + func ExecuteMessageVector(r Reporter, vector *schema.TestVector, variant *schema.Variant) (diffs []string, err error) + func ExecuteTipsetVector(r Reporter, vector *schema.TestVector, variant *schema.Variant) (diffs []string, err error) + func LoadBlockstore(vectorCAR schema.Base64EncodedBytes) (blockstore.Blockstore, error) + func NewFixedRand() vm.Rand + type Driver struct + func NewDriver(ctx context.Context, selector schema.Selector, opts DriverOpts) *Driver + func (d *Driver) ExecuteMessage(bs blockstore.Blockstore, params ExecuteMessageParams) (*vm.ApplyRet, cid.Cid, error) + func (d *Driver) ExecuteTipset(bs blockstore.Blockstore, ds ds.Batching, params ExecuteTipsetParams) (*ExecuteTipsetResult, error) + type DriverOpts struct + DisableVMFlush bool + type ExecuteMessageParams struct + BaseFee abi.TokenAmount + CircSupply abi.TokenAmount + Epoch abi.ChainEpoch + Message *types.Message + Preroot cid.Cid + Rand vm.Rand + type ExecuteTipsetParams struct + BaseFee abi.TokenAmount + ExecEpoch abi.ChainEpoch + ParentEpoch abi.ChainEpoch + Preroot cid.Cid + Rand vm.Rand + Tipset *schema.Tipset + type ExecuteTipsetResult struct + AppliedMessages []*types.Message + AppliedResults []*vm.ApplyRet + PostBaseFee abi.TokenAmount + PostStateRoot cid.Cid + ReceiptsRoot cid.Cid + type LogReporter struct + func (*LogReporter) FailNow() + func (*LogReporter) Helper() + func (*LogReporter) Log(args ...interface{}) + func (*LogReporter) Logf(format string, args ...interface{}) + func (l *LogReporter) Errorf(format string, args ...interface{}) + func (l *LogReporter) Failed() bool + func (l *LogReporter) Fatalf(format string, args ...interface{}) + type RecordingRand struct + func NewRecordingRand(reporter Reporter, api api.FullNode) *RecordingRand + func (r *RecordingRand) GetBeaconRandomness(ctx context.Context, pers crypto.DomainSeparationTag, round abi.ChainEpoch, ...) ([]byte, error) + func (r *RecordingRand) GetChainRandomness(ctx context.Context, pers crypto.DomainSeparationTag, round abi.ChainEpoch, ...) ([]byte, error) + func (r *RecordingRand) Recorded() schema.Randomness + type ReplayingRand struct + func NewReplayingRand(reporter Reporter, recorded schema.Randomness) *ReplayingRand + func (r *ReplayingRand) GetBeaconRandomness(ctx context.Context, pers crypto.DomainSeparationTag, round abi.ChainEpoch, ...) ([]byte, error) + func (r *ReplayingRand) GetChainRandomness(ctx context.Context, pers crypto.DomainSeparationTag, round abi.ChainEpoch, ...) ([]byte, error) + type Reporter interface + Errorf func(format string, args ...interface{}) + FailNow func() + Failed func() bool + Fatalf func(format string, args ...interface{}) + Helper func() + Log func(args ...interface{}) + Logf func(format string, args ...interface{})