diff --git a/Makefile b/Makefile index 59dca2ea..4604e1d6 100644 --- a/Makefile +++ b/Makefile @@ -103,7 +103,7 @@ ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=go-bitsong \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ -X "github.com/cosmos/cosmos-sdk/version.BuildTags=$(build_tags_comma_sep)" \ - -X github.com/tendermint/tendermint/version.TMCoreSemVer=$(TENDERMINT_VERSION) + -X github.com/cometbft/cometbft/version.TMCoreSemVer=$(TENDERMINT_VERSION) ifeq ($(WITH_CLEVELDB),yes) ldflags += -X github.com/cosmos/cosmos-sdk/types.DBBackend=cleveldb diff --git a/app/app.go b/app/app.go index cbc01e0f..a1fdc9f4 100644 --- a/app/app.go +++ b/app/app.go @@ -496,8 +496,6 @@ func (app *BitsongApp) SimulationManager() *module.SimulationManager { func (app *BitsongApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig) { clientCtx := apiSvr.ClientCtx - // rpc.RegisterRoutes(clientCtx, apiSvr.Router) - // Register new tx routes from grpc-gateway. authtx.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) @@ -507,10 +505,6 @@ func (app *BitsongApp) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.AP // Register new tendermint queries routes from grpc-gateway. nodeservice.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) - // Register legacy and grpc-gateway routes for all modules. - ModuleBasics.RegisterLegacyAminoCodec(clientCtx.LegacyAmino) - ModuleBasics.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) - // register swagger API from root so that other applications can override easily if err := server.RegisterSwaggerAPI(apiSvr.ClientCtx, apiSvr.Router, apiConfig.Swagger); err != nil { panic(err)