From 031802eb086dddb48805d4c55090914bcf58bd12 Mon Sep 17 00:00:00 2001 From: Jon Date: Thu, 18 Apr 2024 19:06:41 -0700 Subject: [PATCH] fix(conformance): pass Timestamp through ExecuteMessageParams (#11891) --- conformance/driver.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/conformance/driver.go b/conformance/driver.go index d4f46942c..be06687ac 100644 --- a/conformance/driver.go +++ b/conformance/driver.go @@ -196,6 +196,7 @@ func (d *Driver) ExecuteTipset(bs blockstore.Blockstore, ds ds.Batching, params type ExecuteMessageParams struct { Preroot cid.Cid Epoch abi.ChainEpoch + Timestamp uint64 Message *types.Message CircSupply abi.TokenAmount BaseFee abi.TokenAmount @@ -249,6 +250,7 @@ func (d *Driver) ExecuteMessage(bs blockstore.Blockstore, params ExecuteMessageP vmOpts := &vm.VMOpts{ StateBase: params.Preroot, Epoch: params.Epoch, + Timestamp: params.Timestamp, Bstore: bs, Syscalls: vm.Syscalls(ffiwrapper.ProofVerifier), CircSupplyCalc: func(_ context.Context, _ abi.ChainEpoch, _ *state.StateTree) (abi.TokenAmount, error) {