Skip to content

Commit

Permalink
fix(conformance): pass Timestamp through ExecuteMessageParams (fileco…
Browse files Browse the repository at this point in the history
  • Loading branch information
Schwartz10 authored and ribasushi committed May 16, 2024
1 parent 51d8119 commit b387ac2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conformance/driver.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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) {
Expand Down

0 comments on commit b387ac2

Please sign in to comment.