diff --git a/README.md b/README.md index 3a840cda6..2f75eddbf 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -#plugchain +# plugchain test_plugchain This repository hosts `plugchain`, the implementation of theplugchain based on the [Cosmos SDK 0.42.4](https://github.com/cosmos/cosmos-sdk). diff --git a/app/app.go b/app/app.go index f9247f6e3..87bf9b63c 100644 --- a/app/app.go +++ b/app/app.go @@ -2,13 +2,11 @@ package app import ( "io" - "net/http" "os" "github.com/cosmos/cosmos-sdk/client" "github.com/cosmos/cosmos-sdk/codec/types" "github.com/spf13/cast" - "github.com/tendermint/spm/openapiconsole" abci "github.com/tendermint/tendermint/abci/types" "github.com/tendermint/tendermint/libs/log" tmos "github.com/tendermint/tendermint/libs/os" @@ -80,7 +78,6 @@ import ( upgradeclient "github.com/cosmos/cosmos-sdk/x/upgrade/client" upgradekeeper "github.com/cosmos/cosmos-sdk/x/upgrade/keeper" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - "github.com/oracleNetworkProtocol/plugchain/docs" tmjson "github.com/tendermint/tendermint/libs/json" tmproto "github.com/tendermint/tendermint/proto/tendermint/types" @@ -555,8 +552,8 @@ func (app *App) RegisterAPIRoutes(apiSvr *api.Server, apiConfig config.APIConfig ModuleBasics.RegisterGRPCGatewayRoutes(clientCtx, apiSvr.GRPCGatewayRouter) // register app's OpenAPI routes. - apiSvr.Router.Handle("/static/openapi.yml", http.FileServer(http.FS(docs.Docs))) - apiSvr.Router.HandleFunc("/", openapiconsole.Handler(Name, "/static/openapi.yml")) + // apiSvr.Router.Handle("/static/openapi.yml", http.FileServer(http.FS(docs.Docs))) + // apiSvr.Router.HandleFunc("/", docs.Handler(Name, "/static/openapi.yml")) } // RegisterTxService implements the Application.RegisterTxService method. diff --git a/go.mod b/go.mod index fda6f05fb..770c53dfb 100644 --- a/go.mod +++ b/go.mod @@ -11,7 +11,6 @@ require ( github.com/spf13/cobra v1.1.3 github.com/spf13/pflag v1.0.5 github.com/stretchr/testify v1.7.0 - github.com/tendermint/spm v0.0.0-20210524110815-6d7452d2dc4a github.com/tendermint/tendermint v0.34.10 github.com/tendermint/tm-db v0.6.4 google.golang.org/genproto v0.0.0-20210426193834-eac7f76ac494 diff --git a/go.sum b/go.sum index 57349e1f1..3f99ce07f 100644 --- a/go.sum +++ b/go.sum @@ -564,8 +564,6 @@ github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15 h1:hqAk8riJvK4RM github.com/tendermint/crypto v0.0.0-20191022145703-50d29ede1e15/go.mod h1:z4YtwM70uOnk8h0pjJYlj3zdYwi9l03By6iAIF5j/Pk= github.com/tendermint/go-amino v0.16.0 h1:GyhmgQKvqF82e2oZeuMSp9JTN0N09emoSZlb2lyGa2E= github.com/tendermint/go-amino v0.16.0/go.mod h1:TQU0M1i/ImAo+tYpZi73AU3V/dKeCoMC9Sphe2ZwGME= -github.com/tendermint/spm v0.0.0-20210524110815-6d7452d2dc4a h1:zy/l4N++BcIAqcZYR42BhUnl8XE8RcyjWS71Ujl0BU0= -github.com/tendermint/spm v0.0.0-20210524110815-6d7452d2dc4a/go.mod h1:Cu18wgpxjFMnVwQA1xBpHE75CfVrle8s1UxuchfzBF0= github.com/tendermint/tendermint v0.34.0-rc4/go.mod h1:yotsojf2C1QBOw4dZrTcxbyxmPUrT4hNuOQWX9XUwB4= github.com/tendermint/tendermint v0.34.0-rc6/go.mod h1:ugzyZO5foutZImv0Iyx/gOFCX6mjJTgbLHTwi17VDVg= github.com/tendermint/tendermint v0.34.0/go.mod h1:Aj3PIipBFSNO21r+Lq3TtzQ+uKESxkbA3yo/INM4QwQ=