diff --git a/CHANGELOG.md b/CHANGELOG.md index b4df25b7bb0..e1fa00c3364 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,6 +80,7 @@ Ref: https://keepachangelog.com/en/1.0.0/ * (staking) [#18506](https://github.com/cosmos/cosmos-sdk/pull/18506) Detect the length of the ed25519 pubkey in CreateValidator to prevent panic. * (tx) [#18772](https://github.com/cosmos/cosmos-sdk/pull/18772) Remove misleading gas wanted from tx simulation failure log. * (tx) [#18852](https://github.com/cosmos/cosmos-sdk/pull/18852) Add `WithFromName` to tx factory. +* (testutil) [#18930](https://github.com/cosmos/cosmos-sdk/pull/18930) Add NodeURI for clientCtx. ### Bug Fixes diff --git a/testutil/network/network.go b/testutil/network/network.go index 12e2bb8c0bb..d7342d79cb6 100644 --- a/testutil/network/network.go +++ b/testutil/network/network.go @@ -557,7 +557,8 @@ func New(l Logger, baseDir string, cfg Config) (NetworkI, error) { WithAccountRetriever(cfg.AccountRetriever). WithAddressCodec(cfg.AddressCodec). WithValidatorAddressCodec(cfg.ValidatorAddressCodec). - WithConsensusAddressCodec(cfg.ValidatorAddressCodec) + WithConsensusAddressCodec(cfg.ValidatorAddressCodec). + WithNodeURI(cmtCfg.RPC.ListenAddress) // Provide ChainID here since we can't modify it in the Comet config. ctx.Viper.Set(flags.FlagChainID, cfg.ChainID)