From f0f66b5f8c7c1f142c29e857daa6c1bfa1f22f5b Mon Sep 17 00:00:00 2001 From: Daniel Wedul Date: Fri, 24 May 2024 12:56:35 -0600 Subject: [PATCH] [1760]: In DefaultTestNetworkConfig, use the tempapp just created to get the encoding config rather than making yet another tempapp for that. --- testutil/network.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testutil/network.go b/testutil/network.go index 4ec19fd015..c26bafb201 100644 --- a/testutil/network.go +++ b/testutil/network.go @@ -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,