Skip to content

Commit

Permalink
refactor: use different chain id for in place testnet (#4376)
Browse files Browse the repository at this point in the history
Noticed by @toschdev
  • Loading branch information
julienrbrt authored Sep 30, 2024
1 parent 7739fb3 commit 62726ab
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
- [#4295](https://github.com/ignite/cli/pull/4295) Stop scaffolding `pulsar` files
- [#4317](https://github.com/ignite/cli/pull/4317) Remove xchisel dependency
- [#4361](https://github.com/ignite/cli/pull/4361) Remove unused `KeyPrefix` method
- [#4376](https://github.com/ignite/cli/pull/4376) Set different chain-id for in place testnet

### Fixes

Expand Down
4 changes: 3 additions & 1 deletion ignite/cmd/testnet_inplace.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package ignitecmd

import (
"fmt"

"github.com/spf13/cobra"

sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down Expand Up @@ -121,7 +123,7 @@ func testnetInplace(cmd *cobra.Command, session *cliui.Session) error {
}

args := chain.InPlaceArgs{
NewChainID: chainID,
NewChainID: fmt.Sprintf("local%s", chainID),
NewOperatorAddress: operatorAddress.String(),
AccountsToFund: accounts,
}
Expand Down

0 comments on commit 62726ab

Please sign in to comment.