Skip to content

Commit

Permalink
change go.mod module name to Canto-Network-v2
Browse files Browse the repository at this point in the history
  • Loading branch information
nivasan1 committed Jun 28, 2022
1 parent 49e2032 commit 08ab631
Show file tree
Hide file tree
Showing 147 changed files with 370 additions and 370 deletions.
2 changes: 1 addition & 1 deletion app/ante/ante.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
authante "github.com/cosmos/cosmos-sdk/x/auth/ante"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"

"github.com/evmos/ethermint/crypto/ethsecp256k1"
"github.com/Canto-Network/ethermint-v2/crypto/ethsecp256k1"
)

const (
Expand Down
4 changes: 2 additions & 2 deletions app/ante/ante_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/Canto-Network/ethermint-v2/tests"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
"github.com/ethereum/go-ethereum/core/types"
ethparams "github.com/ethereum/go-ethereum/params"
"github.com/evmos/ethermint/tests"
evmtypes "github.com/evmos/ethermint/x/evm/types"
)

func (suite AnteTestSuite) TestAnteHandler() {
Expand Down
8 changes: 4 additions & 4 deletions app/ante/eip712.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ import (
"github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx"
authsigning "github.com/cosmos/cosmos-sdk/x/auth/signing"

"github.com/Canto-Network/ethermint-v2/crypto/ethsecp256k1"
"github.com/Canto-Network/ethermint-v2/ethereum/eip712"
ethermint "github.com/Canto-Network/ethermint-v2/types"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
ethcrypto "github.com/ethereum/go-ethereum/crypto"
"github.com/ethereum/go-ethereum/crypto/secp256k1"
"github.com/evmos/ethermint/crypto/ethsecp256k1"
"github.com/evmos/ethermint/ethereum/eip712"
ethermint "github.com/evmos/ethermint/types"
evmtypes "github.com/evmos/ethermint/x/evm/types"
)

var ethermintCodec codec.ProtoCodecMarshaler
Expand Down
8 changes: 4 additions & 4 deletions app/ante/eth.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ import (
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
authante "github.com/cosmos/cosmos-sdk/x/auth/ante"

ethermint "github.com/evmos/ethermint/types"
evmkeeper "github.com/evmos/ethermint/x/evm/keeper"
"github.com/evmos/ethermint/x/evm/statedb"
evmtypes "github.com/evmos/ethermint/x/evm/types"
ethermint "github.com/Canto-Network/ethermint-v2/types"
evmkeeper "github.com/Canto-Network/ethermint-v2/x/evm/keeper"
"github.com/Canto-Network/ethermint-v2/x/evm/statedb"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"

"github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types"
Expand Down
10 changes: 5 additions & 5 deletions app/ante/eth_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (

sdk "github.com/cosmos/cosmos-sdk/types"

"github.com/evmos/ethermint/app/ante"
"github.com/evmos/ethermint/server/config"
"github.com/evmos/ethermint/tests"
"github.com/evmos/ethermint/x/evm/statedb"
evmtypes "github.com/evmos/ethermint/x/evm/types"
"github.com/Canto-Network/ethermint-v2/app/ante"
"github.com/Canto-Network/ethermint-v2/server/config"
"github.com/Canto-Network/ethermint-v2/tests"
"github.com/Canto-Network/ethermint-v2/x/evm/statedb"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"

ethtypes "github.com/ethereum/go-ethereum/core/types"
)
Expand Down
6 changes: 3 additions & 3 deletions app/ante/fee_market_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package ante_test
import (
"math/big"

"github.com/Canto-Network/ethermint-v2/app/ante"
"github.com/Canto-Network/ethermint-v2/tests"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/evmos/ethermint/app/ante"
"github.com/evmos/ethermint/tests"
evmtypes "github.com/evmos/ethermint/x/evm/types"
)

func (suite AnteTestSuite) TestGasWantedDecorator() {
Expand Down
2 changes: 1 addition & 1 deletion app/ante/fees.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"

evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
ethtypes "github.com/ethereum/go-ethereum/core/types"
evmtypes "github.com/evmos/ethermint/x/evm/types"
)

// MinGasPriceDecorator will check if the transaction's fee is at least as large
Expand Down
6 changes: 3 additions & 3 deletions app/ante/fees_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ package ante_test
import (
"math/big"

"github.com/Canto-Network/ethermint-v2/app/ante"
"github.com/Canto-Network/ethermint-v2/tests"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
banktypes "github.com/cosmos/cosmos-sdk/x/bank/types"
ethtypes "github.com/ethereum/go-ethereum/core/types"
"github.com/evmos/ethermint/app/ante"
"github.com/evmos/ethermint/tests"
evmtypes "github.com/evmos/ethermint/x/evm/types"
)

var execTypes = []struct {
Expand Down
2 changes: 1 addition & 1 deletion app/ante/handler_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
ibcante "github.com/cosmos/ibc-go/v3/modules/core/ante"
ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"

evmtypes "github.com/evmos/ethermint/x/evm/types"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
)

// HandlerOptions extend the SDK's AnteHandler options by requiring the IBC
Expand Down
6 changes: 3 additions & 3 deletions app/ante/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ package ante
import (
"math/big"

"github.com/Canto-Network/ethermint-v2/x/evm/statedb"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
feemarkettypes "github.com/Canto-Network/ethermint-v2/x/feemarket/types"
sdk "github.com/cosmos/cosmos-sdk/types"
tx "github.com/cosmos/cosmos-sdk/types/tx"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/core"
"github.com/ethereum/go-ethereum/core/vm"
"github.com/ethereum/go-ethereum/params"
"github.com/evmos/ethermint/x/evm/statedb"
evmtypes "github.com/evmos/ethermint/x/evm/types"
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
)

// EVMKeeper defines the expected keeper interface used on the Eth AnteHandler
Expand Down
2 changes: 1 addition & 1 deletion app/ante/reject_msgs.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package ante

import (
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
sdk "github.com/cosmos/cosmos-sdk/types"
sdkerrors "github.com/cosmos/cosmos-sdk/types/errors"
evmtypes "github.com/evmos/ethermint/x/evm/types"
)

// RejectMessagesDecorator prevents invalid msg types from being executed
Expand Down
6 changes: 3 additions & 3 deletions app/ante/sigs_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ package ante_test
import (
"math/big"

"github.com/evmos/ethermint/tests"
"github.com/evmos/ethermint/x/evm/statedb"
evmtypes "github.com/evmos/ethermint/x/evm/types"
"github.com/Canto-Network/ethermint-v2/tests"
"github.com/Canto-Network/ethermint-v2/x/evm/statedb"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
)

func (suite AnteTestSuite) TestSignatures() {
Expand Down
18 changes: 9 additions & 9 deletions app/ante/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import (
"testing"
"time"

"github.com/Canto-Network/ethermint-v2/ethereum/eip712"
"github.com/Canto-Network/ethermint-v2/types"
"github.com/cosmos/cosmos-sdk/codec"
"github.com/cosmos/cosmos-sdk/x/auth/legacy/legacytx"
types2 "github.com/cosmos/cosmos-sdk/x/bank/types"
types3 "github.com/cosmos/cosmos-sdk/x/staking/types"
"github.com/ethereum/go-ethereum/crypto"
"github.com/evmos/ethermint/ethereum/eip712"
"github.com/evmos/ethermint/types"

"github.com/ethereum/go-ethereum/common"
ethtypes "github.com/ethereum/go-ethereum/core/types"
Expand All @@ -31,13 +31,13 @@ import (
authtx "github.com/cosmos/cosmos-sdk/x/auth/tx"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"

"github.com/evmos/ethermint/app"
ante "github.com/evmos/ethermint/app/ante"
"github.com/evmos/ethermint/encoding"
"github.com/evmos/ethermint/tests"
"github.com/evmos/ethermint/x/evm/statedb"
evmtypes "github.com/evmos/ethermint/x/evm/types"
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
"github.com/Canto-Network/ethermint-v2/app"
ante "github.com/Canto-Network/ethermint-v2/app/ante"
"github.com/Canto-Network/ethermint-v2/encoding"
"github.com/Canto-Network/ethermint-v2/tests"
"github.com/Canto-Network/ethermint-v2/x/evm/statedb"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
feemarkettypes "github.com/Canto-Network/ethermint-v2/x/feemarket/types"

tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
)
Expand Down
24 changes: 12 additions & 12 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,18 +94,18 @@ import (
ibckeeper "github.com/cosmos/ibc-go/v3/modules/core/keeper"

// unnamed import of statik for swagger UI support
_ "github.com/evmos/ethermint/client/docs/statik"

"github.com/evmos/ethermint/app/ante"
srvflags "github.com/evmos/ethermint/server/flags"
ethermint "github.com/evmos/ethermint/types"
"github.com/evmos/ethermint/x/evm"
evmrest "github.com/evmos/ethermint/x/evm/client/rest"
evmkeeper "github.com/evmos/ethermint/x/evm/keeper"
evmtypes "github.com/evmos/ethermint/x/evm/types"
"github.com/evmos/ethermint/x/feemarket"
feemarketkeeper "github.com/evmos/ethermint/x/feemarket/keeper"
feemarkettypes "github.com/evmos/ethermint/x/feemarket/types"
_ "github.com/Canto-Network/ethermint-v2/client/docs/statik"

"github.com/Canto-Network/ethermint-v2/app/ante"
srvflags "github.com/Canto-Network/ethermint-v2/server/flags"
ethermint "github.com/Canto-Network/ethermint-v2/types"
"github.com/Canto-Network/ethermint-v2/x/evm"
evmrest "github.com/Canto-Network/ethermint-v2/x/evm/client/rest"
evmkeeper "github.com/Canto-Network/ethermint-v2/x/evm/keeper"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
"github.com/Canto-Network/ethermint-v2/x/feemarket"
feemarketkeeper "github.com/Canto-Network/ethermint-v2/x/feemarket/keeper"
feemarkettypes "github.com/Canto-Network/ethermint-v2/x/feemarket/types"

// Force-load the tracer engines to trigger registration due to Go-Ethereum v1.10.15 changes
_ "github.com/ethereum/go-ethereum/eth/tracers/js"
Expand Down
2 changes: 1 addition & 1 deletion app/app_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"

"github.com/evmos/ethermint/encoding"
"github.com/Canto-Network/ethermint-v2/encoding"
)

func TestEthermintAppExport(t *testing.T) {
Expand Down
2 changes: 1 addition & 1 deletion app/benchmark_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"io"
"testing"

"github.com/Canto-Network/ethermint-v2/encoding"
"github.com/cosmos/cosmos-sdk/simapp"
"github.com/evmos/ethermint/encoding"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
dbm "github.com/tendermint/tm-db"
Expand Down
2 changes: 1 addition & 1 deletion app/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import (
"github.com/cosmos/cosmos-sdk/x/staking"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/evmos/ethermint/encoding"
"github.com/Canto-Network/ethermint-v2/encoding"
)

// NewDefaultGenesisState generates the default state for the application.
Expand Down
2 changes: 1 addition & 1 deletion app/simulation_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (

"github.com/stretchr/testify/require"

evmenc "github.com/Canto-Network/ethermint-v2/encoding"
"github.com/cosmos/cosmos-sdk/baseapp"
"github.com/cosmos/cosmos-sdk/simapp"
"github.com/cosmos/cosmos-sdk/simapp/params"
Expand All @@ -28,7 +29,6 @@ import (
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
ibctransfertypes "github.com/cosmos/ibc-go/v3/modules/apps/transfer/types"
ibchost "github.com/cosmos/ibc-go/v3/modules/core/24-host"
evmenc "github.com/evmos/ethermint/encoding"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
Expand Down
8 changes: 4 additions & 4 deletions app/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ import (
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"

"github.com/evmos/ethermint/encoding"
ethermint "github.com/evmos/ethermint/types"
evmtypes "github.com/evmos/ethermint/x/evm/types"
"github.com/Canto-Network/ethermint-v2/encoding"
ethermint "github.com/Canto-Network/ethermint-v2/types"
evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"

"github.com/Canto-Network/ethermint-v2/crypto/ethsecp256k1"
"github.com/cosmos/cosmos-sdk/crypto/keys/ed25519"
sdk "github.com/cosmos/cosmos-sdk/types"
simtypes "github.com/cosmos/cosmos-sdk/types/simulation"
"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/crypto"
"github.com/evmos/ethermint/crypto/ethsecp256k1"
abci "github.com/tendermint/tendermint/abci/types"
"github.com/tendermint/tendermint/libs/log"
tmproto "github.com/tendermint/tendermint/proto/tendermint/types"
Expand Down
6 changes: 3 additions & 3 deletions app/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import (

"github.com/stretchr/testify/require"

evmtypes "github.com/Canto-Network/ethermint-v2/x/evm/types"
"github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/auth"
authkeeper "github.com/cosmos/cosmos-sdk/x/auth/keeper"
authtypes "github.com/cosmos/cosmos-sdk/x/auth/types"
paramstypes "github.com/cosmos/cosmos-sdk/x/params/types"
stakingtypes "github.com/cosmos/cosmos-sdk/x/staking/types"
evmtypes "github.com/evmos/ethermint/x/evm/types"

"github.com/evmos/ethermint/crypto/ethsecp256k1"
ethermint "github.com/evmos/ethermint/types"
"github.com/Canto-Network/ethermint-v2/crypto/ethsecp256k1"
ethermint "github.com/Canto-Network/ethermint-v2/types"

"github.com/cosmos/cosmos-sdk/simapp"
sdk "github.com/cosmos/cosmos-sdk/types"
Expand Down
4 changes: 2 additions & 2 deletions client/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (

"github.com/cosmos/cosmos-sdk/client/flags"

ethermint "github.com/evmos/ethermint/types"
ethermint "github.com/Canto-Network/ethermint-v2/types"
)

// InitConfig adds the chain-id, encoding and output flags to the persistent flag set.
Expand All @@ -26,7 +26,7 @@ func InitConfig(cmd *cobra.Command) error {
_, err = os.Stat(configFile)
if err != nil && !os.IsNotExist(err) {
// Immediately return if the error isn't related to the file not existing.
// See issue https://github.com/evmos/ethermint/issues/539
// See issue https://github.com/Canto-Network/ethermint-v2/issues/539
return err
}
if err == nil {
Expand Down
2 changes: 1 addition & 1 deletion client/docs/statik/init.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
package statik

// This just for fixing the error in importing empty github.com/evmos/ethermint/client/docs/statik
// This just for fixing the error in importing empty github.com/Canto-Network/ethermint-v2/client/docs/statik
4 changes: 2 additions & 2 deletions client/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ import (
ethcrypto "github.com/ethereum/go-ethereum/crypto"
"github.com/spf13/cobra"

"github.com/Canto-Network/ethermint-v2/crypto/ethsecp256k1"
"github.com/Canto-Network/ethermint-v2/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
"github.com/evmos/ethermint/crypto/ethsecp256k1"
"github.com/evmos/ethermint/crypto/hd"
)

// UnsafeExportEthKeyCommand exports a key with the given name as a private key in hex format.
Expand Down
4 changes: 2 additions & 2 deletions client/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (

"github.com/spf13/cobra"

"github.com/Canto-Network/ethermint-v2/crypto/ethsecp256k1"
"github.com/cosmos/cosmos-sdk/client/flags"
"github.com/cosmos/cosmos-sdk/client/input"
"github.com/cosmos/cosmos-sdk/crypto"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
sdk "github.com/cosmos/cosmos-sdk/types"
"github.com/ethereum/go-ethereum/common"
"github.com/evmos/ethermint/crypto/ethsecp256k1"

"github.com/evmos/ethermint/crypto/hd"
"github.com/Canto-Network/ethermint-v2/crypto/hd"
)

// UnsafeImportKeyCommand imports private keys from a keyfile.
Expand Down
4 changes: 2 additions & 2 deletions client/keys.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ import (
"github.com/spf13/cobra"
"github.com/tendermint/tendermint/libs/cli"

clientkeys "github.com/Canto-Network/ethermint-v2/client/keys"
"github.com/Canto-Network/ethermint-v2/crypto/hd"
"github.com/cosmos/cosmos-sdk/crypto/keyring"
clientkeys "github.com/evmos/ethermint/client/keys"
"github.com/evmos/ethermint/crypto/hd"
)

// KeyCommands registers a sub-tree of commands to interact with
Expand Down
2 changes: 1 addition & 1 deletion client/keys/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"fmt"
"sort"

etherminthd "github.com/evmos/ethermint/crypto/hd"
etherminthd "github.com/Canto-Network/ethermint-v2/crypto/hd"

bip39 "github.com/cosmos/go-bip39"
"github.com/spf13/cobra"
Expand Down
Loading

0 comments on commit 08ab631

Please sign in to comment.