fix(conformance): pass Timestamp through ExecuteMessageParams (#11891)
This commit is contained in:
parent
5f7aaaa8f9
commit
031802eb08
@ -196,6 +196,7 @@ func (d *Driver) ExecuteTipset(bs blockstore.Blockstore, ds ds.Batching, params
|
|||||||
type ExecuteMessageParams struct {
|
type ExecuteMessageParams struct {
|
||||||
Preroot cid.Cid
|
Preroot cid.Cid
|
||||||
Epoch abi.ChainEpoch
|
Epoch abi.ChainEpoch
|
||||||
|
Timestamp uint64
|
||||||
Message *types.Message
|
Message *types.Message
|
||||||
CircSupply abi.TokenAmount
|
CircSupply abi.TokenAmount
|
||||||
BaseFee abi.TokenAmount
|
BaseFee abi.TokenAmount
|
||||||
@ -249,6 +250,7 @@ func (d *Driver) ExecuteMessage(bs blockstore.Blockstore, params ExecuteMessageP
|
|||||||
vmOpts := &vm.VMOpts{
|
vmOpts := &vm.VMOpts{
|
||||||
StateBase: params.Preroot,
|
StateBase: params.Preroot,
|
||||||
Epoch: params.Epoch,
|
Epoch: params.Epoch,
|
||||||
|
Timestamp: params.Timestamp,
|
||||||
Bstore: bs,
|
Bstore: bs,
|
||||||
Syscalls: vm.Syscalls(ffiwrapper.ProofVerifier),
|
Syscalls: vm.Syscalls(ffiwrapper.ProofVerifier),
|
||||||
CircSupplyCalc: func(_ context.Context, _ abi.ChainEpoch, _ *state.StateTree) (abi.TokenAmount, error) {
|
CircSupplyCalc: func(_ context.Context, _ abi.ChainEpoch, _ *state.StateTree) (abi.TokenAmount, error) {
|
||||||
|
Loading…
Reference in New Issue
Block a user