test: add NodeURI for clientCtx (#18930)
This commit is contained in:
parent
7dcbda4663
commit
24a8123c22
@ -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
|
||||
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user