8000 cmd: update testnet command by fedekunze · Pull Request #105 · evmos/evmos · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cmd: update testnet command #105

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
Nov 23, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@ Ref: https://keepachangelog.com/en/1.0.0/

* (intrarelayer) [\#99](https://github.com/tharsis/evmos/pull/99) Rename `enable_e_v_m_hook` json parameter to `enable_evm_hook`.

## Improvements

* (cmd) [\#105](https://github.com/tharsis/evmos/pull/105) Improve testnet command to include JSON-RPC client.

## Bug Fixes

* (intrarelayer) [\#102](https://github.com/tharsis/evmos/pull/102) Add `convert-erc20` cmd
Expand Down
5 changes: 3 additions & 2 deletions cmd/evmosd/testnet.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ import (
ethermint "github.com/tharsis/ethermint/types"
evmtypes "github.com/tharsis/ethermint/x/evm/types"

"github.com/tharsis/evmos/testutil/network"
"github.com/tharsis/ethermint/testutil/network"
evmosnetwork "github.com/tharsis/evmos/testutil/network"
)

var (
Expand Down Expand Up @@ -519,7 +520,7 @@ func calculateIP(ip string, i int) (string, error) {

// startTestnet starts an in-process testnet
func startTestnet(cmd *cobra.Command, args startArgs) error {
networkConfig := network.DefaultConfig()
networkConfig := evmosnetwork.DefaultConfig()

// Default networkConfig.ChainID is random, and we should only override it if chainID provided
// is non-empty
Expand Down
Loading
0