Skip to content

Commit

Permalink
[1760]: In DefaultTestNetworkConfig, use the tempapp just created to …
Browse files Browse the repository at this point in the history
…get the encoding config rather than making yet another tempapp for that.
  • Loading branch information
SpicyLemon committed May 24, 2024
1 parent f6d73b2 commit f0f66b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion testutil/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func DefaultTestNetworkConfig() testnet.Config {
log.NewNopLogger(), dbm.NewMemDB(), nil, true, make(map[int64]bool), tempDir, 0,
simtestutil.NewAppOptionsWithFlagHome(tempDir),
)
encCfg := provenanceapp.MakeTestEncodingConfig(nil)
encCfg := tempApp.GetEncodingConfig()

return testnet.Config{
Codec: encCfg.Marshaler,
Expand Down

0 comments on commit f0f66b5

Please sign in to comment.