diff --git a/Makefile b/Makefile index 2e9e8533e7..ccfd24bfdd 100644 --- a/Makefile +++ b/Makefile @@ -169,7 +169,7 @@ release-dry-run: SIMAPP = github.com/crypto-org-chain/cronos/app # Install the runsim binary with a temporary workaround of entering an outside -# directory as the "go get" command ignores the -mod option and will polute the +# directory as the "go get" command ignores the -mod option and will pollute the # go.{mod, sum} files. # # ref: https://github.com/golang/go/issues/30515 diff --git a/app/app.go b/app/app.go index 9cbd1d83ea..1e3f95eb96 100644 --- a/app/app.go +++ b/app/app.go @@ -49,6 +49,7 @@ import ( evmhandlers "github.com/crypto-org-chain/cronos/x/cronos/keeper/evmhandlers" cronosprecompiles "github.com/crypto-org-chain/cronos/x/cronos/keeper/precompiles" "github.com/crypto-org-chain/cronos/x/cronos/middleware" + // force register the extension json-rpc. _ "github.com/crypto-org-chain/cronos/x/cronos/rpc" cronostypes "github.com/crypto-org-chain/cronos/x/cronos/types" @@ -57,6 +58,7 @@ import ( e2eekeyring "github.com/crypto-org-chain/cronos/x/e2ee/keyring" e2eetypes "github.com/crypto-org-chain/cronos/x/e2ee/types" "github.com/ethereum/go-ethereum/common" + // Force-load the tracer engines to trigger registration "github.com/ethereum/go-ethereum/core/vm" _ "github.com/ethereum/go-ethereum/eth/tracers/js" diff --git a/app/legacy/icaauth/types/tx.pb.go b/app/legacy/icaauth/types/tx.pb.go index 2eb00b8d40..4dfb7bcf54 100644 --- a/app/legacy/icaauth/types/tx.pb.go +++ b/app/legacy/icaauth/types/tx.pb.go @@ -6,6 +6,11 @@ package types import ( context "context" fmt "fmt" + io "io" + math "math" + math_bits "math/bits" + time "time" + _ "github.com/cosmos/cosmos-proto" types "github.com/cosmos/cosmos-sdk/codec/types" _ "github.com/cosmos/cosmos-sdk/types/msgservice" @@ -17,10 +22,6 @@ import ( codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" _ "google.golang.org/protobuf/types/known/durationpb" - io "io" - math "math" - math_bits "math/bits" - time "time" ) // Reference imports to suppress errors if they are not otherwise used.