Skip to content

Commit

Permalink
fix: reuse checkTx ctx
Browse files Browse the repository at this point in the history
  • Loading branch information
colin-axner committed May 13, 2024
1 parent 62b5ca7 commit b8ee7e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/light-clients/07-tendermint/update_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -628,7 +628,7 @@ func (suite *TendermintTestSuite) TestUpdateStateCheckTx() {
assertPrune(false)

// simulation mode must prune to calculate gas correctly
ctx = path.EndpointA.Chain.GetContext().WithExecMode(sdk.ExecModeSimulate)
ctx = ctx.WithExecMode(sdk.ExecModeSimulate)
lightClientModule.UpdateState(ctx, path.EndpointA.ClientID, createClientMessage())

assertPrune(true)
Expand Down

0 comments on commit b8ee7e3

Please sign in to comment.