Commit b67da12b authored by Alexader's avatar Alexader

refactor(*): remove unused replace in go.mod

parent 35a7c375
......@@ -20,13 +20,13 @@ import (
"github.com/hyperledger/fabric/common/util"
"github.com/meshplus/bitxhub-kit/log"
"github.com/meshplus/bitxhub-model/pb"
"github.com/meshplus/pier/pkg/plugins/client"
"github.com/meshplus/pier/pkg/plugins"
"github.com/sirupsen/logrus"
)
var logger = log.NewWithModule("client")
var _ client.Client = (*Client)(nil)
var _ plugins.Client = (*Client)(nil)
const (
GetInnerMetaMethod = "getInnerMeta" // get last index of each source chain executing tx
......@@ -434,10 +434,12 @@ func (h *handler) HandleMessage(deliveries *fab.CCEvent, payload []byte) {
func main() {
plugin.Serve(&plugin.ServeConfig{
HandshakeConfig: client.Handshake,
HandshakeConfig: plugins.Handshake,
Plugins: map[string]plugin.Plugin{
"fabric-plugin": &client.AppchainGRPCPlugin{Impl: &Client{}},
plugins.PluginName: &plugins.AppchainGRPCPlugin{Impl: &Client{}},
},
GRPCServer: plugin.DefaultGRPCServer,
})
logger.Println("Plugin server down")
}
......@@ -3,13 +3,12 @@ module github.com/meshplus/pier-client-fabric
go 1.13
require (
github.com/hashicorp/go-plugin v1.3.0
github.com/Rican7/retry v0.1.0
github.com/VividCortex/gohistogram v1.0.0 // indirect
github.com/cloudflare/cfssl v0.0.0-20180223231731-4e2dcbde5004
github.com/golang/protobuf v1.4.0
github.com/golangci/golangci-lint v1.23.0 // indirect
github.com/google/certificate-transparency-go v1.1.0 // indirect
github.com/hashicorp/go-plugin v1.3.0
github.com/hyperledger/fabric v2.0.1+incompatible
github.com/hyperledger/fabric-chaincode-go v0.0.0-20200511190512-bcfeb58dd83a
github.com/hyperledger/fabric-lib-go v1.0.0 // indirect
......@@ -17,29 +16,9 @@ require (
github.com/hyperledger/fabric-sdk-go v1.0.0-alpha5
github.com/meshplus/bitxhub-kit v1.0.1-0.20200525112026-df2160653e23
github.com/meshplus/bitxhub-model v1.0.0-rc4.0.20200707045101-18b88b80efb1
github.com/meshplus/pier v1.0.0-rc1.0.20200707085406-951dc93be28b
github.com/meshplus/pier v1.0.0-rc1.0.20200717044435-de24cfbef0f3
github.com/sirupsen/logrus v1.5.0
github.com/spf13/viper v1.6.1
)
replace github.com/golang/protobuf => github.com/golang/protobuf v1.3.2
replace google.golang.org/grpc => google.golang.org/grpc v1.27.1
replace gopkg.in/yaml.v2 => gopkg.in/yaml.v2 v2.2.7
replace golang.org/x/net => golang.org/x/net v0.0.0-20200202094626-16171245cfb2
replace golang.org/x/text => golang.org/x/text v0.3.0
replace golang.org/x/sys => golang.org/x/sys v0.0.0-20200509044756-6aff5f38e54f
replace github.com/spf13/afero => github.com/spf13/afero v1.1.2
replace github.com/spf13/pflag => github.com/spf13/pflag v1.0.5
replace github.com/pelletier/go-toml => github.com/pelletier/go-toml v1.2.0
replace github.com/spf13/jwalterweatherman => github.com/spf13/jwalterweatherman v1.0.0
replace github.com/mholt/archiver => github.com/mholt/archiver v0.0.0-20180417220235-e4ef56d48eb0
\ No newline at end of file
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment