Skip to content

Commit

Permalink
change to legacy context
Browse files Browse the repository at this point in the history
  • Loading branch information
GNaD13 committed Jun 20, 2023
1 parent 01adf7c commit 9cceed2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testing/chain.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func NewTestChain(t *testing.T, coord *Coordinator, chainID string) *TestChain {

// GetContext returns the current context for the application.
func (chain *TestChain) GetContext() sdk.Context {
return chain.App.GetBaseApp().NewContext(false)
return chain.App.GetBaseApp().NewContextLegacy(false, chain.CurrentHeader)
}

// GetSimApp returns the SimApp to allow usage ofnon-interface fields.
Expand Down

0 comments on commit 9cceed2

Please sign in to comment.