From d6113b370b4862cba14d7a2e8080d486720aef04 Mon Sep 17 00:00:00 2001 From: Artur Troian Date: Wed, 17 Jul 2024 08:05:44 -0500 Subject: [PATCH] fix: disable config seal Signed-off-by: Artur Troian --- go/sdkutil/config.go | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/go/sdkutil/config.go b/go/sdkutil/config.go index d3be973e..53d263a3 100644 --- a/go/sdkutil/config.go +++ b/go/sdkutil/config.go @@ -1,16 +1,16 @@ package sdkutil -import ( - sdk "github.com/cosmos/cosmos-sdk/types" -) +// import ( +// sdk "github.com/cosmos/cosmos-sdk/types" +// ) // init atm SDK configs is instantiated with const values, so it sealed within init below // it helps for all tests as well as packages relying on this api to always have the same config // as soon as sdkutil is imported -func init() { - config := sdk.GetConfig() - config.SetBech32PrefixForAccount(Bech32PrefixAccAddr, Bech32PrefixAccPub) - config.SetBech32PrefixForValidator(Bech32PrefixValAddr, Bech32PrefixValPub) - config.SetBech32PrefixForConsensusNode(Bech32PrefixConsAddr, Bech32PrefixConsPub) - config.Seal() -} +// func init() { +// config := sdk.GetConfig() +// config.SetBech32PrefixForAccount(Bech32PrefixAccAddr, Bech32PrefixAccPub) +// config.SetBech32PrefixForValidator(Bech32PrefixValAddr, Bech32PrefixValPub) +// config.SetBech32PrefixForConsensusNode(Bech32PrefixConsAddr, Bech32PrefixConsPub) +// config.Seal() +// }