Skip to content

Commit bc8f3e6

Browse files
mergify[bot]mmsqejulienrbrt
authored
test: add NodeURI for clientCtx (backport #18930) (#18988)
Co-authored-by: mmsqe <tqd0800210105@gmail.com> Co-authored-by: Julien Robert <julien@rbrt.fr>
1 parent 67aee75 commit bc8f3e6

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,15 @@ Ref: https://keepachangelog.com/en/1.0.0/
3737

3838
## [Unreleased]
3939

40-
### Bug Fixes
41-
42-
* (server) [#18920](https://github.com/cosmos/cosmos-sdk/pull/18920) fixes consensus failure while restart node with wrong `chainId` in genesis
43-
4440
### Improvements
4541

4642
* (client/tx) [#18852](https://github.com/cosmos/cosmos-sdk/pull/18852) Add `WithFromName` to tx factory.
47-
* (types) [#18875](https://github.com/cosmos/cosmos-sdk/pull/18875) Speedup coins.Sort() if len(coins) <= 1
43+
* (types) [#18875](https://github.com/cosmos/cosmos-sdk/pull/18875) Speedup coins.Sort() if len(coins) <= 1.
44+
* (testutil) [#18930](https://github.com/cosmos/cosmos-sdk/pull/18930) Add NodeURI for clientCtx.
45+
46+
### Bug Fixes
47+
48+
* (server) [#18920](https://github.com/cosmos/cosmos-sdk/pull/18920) fixes consensus failure while restart node with wrong `chainId` in genesis.
4849

4950
## [v0.47.7](https://github.com/cosmos/cosmos-sdk/releases/tag/v0.47.7) - 2023-12-20
5051

testutil/network/network.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,8 @@ func New(l Logger, baseDir string, cfg Config) (*Network, error) {
550550
WithCodec(cfg.Codec).
551551
WithLegacyAmino(cfg.LegacyAmino).
552552
WithTxConfig(cfg.TxConfig).
553-
WithAccountRetriever(cfg.AccountRetriever)
553+
WithAccountRetriever(cfg.AccountRetriever).
554+
WithNodeURI(tmCfg.RPC.ListenAddress)
554555

555556
// Provide ChainID here since we can't modify it in the Comet config.
556557
ctx.Viper.Set(flags.FlagChainID, cfg.ChainID)

0 commit comments

Comments
 (0)