fix(lotus-sim): use global base-fee value

This commit is contained in:
Steven Allen 2021-06-08 17:05:03 -07:00
parent 747b3d3e57
commit 88af350774

View File

@ -111,7 +111,7 @@ func (ss *simulationState) popNextMessages(ctx context.Context) ([]*types.Messag
Syscalls: ss.StateManager.ChainStore().VMSys(),
CircSupplyCalc: ss.StateManager.GetVMCirculatingSupply,
NtwkVersion: ss.StateManager.GetNtwkVersion,
BaseFee: abi.NewTokenAmount(0), // FREE!
BaseFee: baseFee, // FREE!
LookbackState: stmgr.LookbackStateGetterForTipset(ss.StateManager, parentTs),
}
vmi, err := vm.NewVM(ctx, vmopt)