Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下载运行出现错误 #21

Open
bozzcq opened this issue Feb 15, 2019 · 0 comments
Open

下载运行出现错误 #21

bozzcq opened this issue Feb 15, 2019 · 0 comments

Comments

@bozzcq
Copy link

bozzcq commented Feb 15, 2019

下载安装

clone  https://github.com/icstglobal/plasma.git
cd plasma
glide install
./build.sh



# github.com/icstglobal/plasma/core
core/rootchain.go:180:44: not enough arguments in call to rc.chain.GetContractEvents
	have (context.Context, []byte, *big.Int, nil, string, map[string]reflect.Type)
	want (context.Context, []byte, *big.Int, *big.Int, string, string, reflect.Type)
core/rootchain.go:313:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
core/rootchain.go:326:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
core/rootchain.go:345:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
core/rootchain.go:358:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
# github.com/libp2p/go-libp2p-crypto/pb
../../libp2p/go-libp2p-crypto/pb/crypto.pb.go:104:31: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-crypto/pb/crypto.pb.go:158:32: undefined: proto.InternalMessageInfo
# github.com/multiformats/go-multiaddr
../../multiformats/go-multiaddr/codec.go:140:10: undefined: strings.Builder
../../multiformats/go-multiaddr/component.go:69:8: undefined: strings.Builder
../../multiformats/go-multiaddr/component.go:76:32: undefined: strings.Builder
# github.com/ipfs/go-log/tracer/wire
../../ipfs/go-log/tracer/wire/wire.pb.go:65:33: undefined: proto.InternalMessageInfo
../../ipfs/go-log/tracer/wire/wire.pb.go:97:2: undefined: proto.RegisterMapType
# github.com/libp2p/go-libp2p-circuit/pb
../../libp2p/go-libp2p-circuit/pb/relay.pb.go:186:34: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-circuit/pb/relay.pb.go:255:39: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-libp2p-secio/pb
../../libp2p/go-libp2p-secio/pb/spipe.pb.go:64:29: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-secio/pb/spipe.pb.go:139:30: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-libp2p/p2p/protocol/identify/pb
../../libp2p/go-libp2p/p2p/protocol/identify/pb/identify.pb.go:77:30: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-libp2p-autonat/pb
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:144:29: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:206:38: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:260:34: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:309:42: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-reuseport
../../libp2p/go-reuseport/control_wasm.go:7:58: Control redeclared in this block
	previous declaration at ../../libp2p/go-reuseport/control_unix.go:11:58
../../libp2p/go-reuseport/interface.go:33:20: undefined: net.ListenConfig
../../libp2p/go-reuseport/interface.go:41:2: not enough arguments to return
../../libp2p/go-reuseport/interface.go:48:2: not enough arguments to return
../../libp2p/go-reuseport/interface.go:60:10: unknown field 'Control' in struct literal of type net.Dialer
# github.com/libp2p/go-libp2p-record/pb
../../libp2p/go-libp2p-record/pb/record.pb.go:68:28: undefined: proto.InternalMessageInfo
[root@163-44-165-19 plasma]# go build main.go
# github.com/icstglobal/plasma/core
core/rootchain.go:180:44: not enough arguments in call to rc.chain.GetContractEvents
	have (context.Context, []byte, *big.Int, nil, string, map[string]reflect.Type)
	want (context.Context, []byte, *big.Int, *big.Int, string, string, reflect.Type)
core/rootchain.go:313:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
core/rootchain.go:326:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
core/rootchain.go:345:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
core/rootchain.go:358:16: rc.chain.Query undefined (type chain.Chain has no field or method Query)
# github.com/libp2p/go-libp2p-crypto/pb
../../libp2p/go-libp2p-crypto/pb/crypto.pb.go:104:31: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-crypto/pb/crypto.pb.go:158:32: undefined: proto.InternalMessageInfo
# github.com/multiformats/go-multiaddr
../../multiformats/go-multiaddr/codec.go:140:10: undefined: strings.Builder
../../multiformats/go-multiaddr/component.go:69:8: undefined: strings.Builder
../../multiformats/go-multiaddr/component.go:76:32: undefined: strings.Builder
# github.com/ipfs/go-log/tracer/wire
../../ipfs/go-log/tracer/wire/wire.pb.go:65:33: undefined: proto.InternalMessageInfo
../../ipfs/go-log/tracer/wire/wire.pb.go:97:2: undefined: proto.RegisterMapType
# github.com/libp2p/go-libp2p-circuit/pb
../../libp2p/go-libp2p-circuit/pb/relay.pb.go:186:34: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-circuit/pb/relay.pb.go:255:39: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-libp2p-secio/pb
../../libp2p/go-libp2p-secio/pb/spipe.pb.go:64:29: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-secio/pb/spipe.pb.go:139:30: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-libp2p/p2p/protocol/identify/pb
../../libp2p/go-libp2p/p2p/protocol/identify/pb/identify.pb.go:77:30: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-libp2p-autonat/pb
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:144:29: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:206:38: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:260:34: undefined: proto.InternalMessageInfo
../../libp2p/go-libp2p-autonat/pb/autonat.pb.go:309:42: undefined: proto.InternalMessageInfo
# github.com/libp2p/go-reuseport
../../libp2p/go-reuseport/control_wasm.go:7:58: Control redeclared in this block
	previous declaration at ../../libp2p/go-reuseport/control_unix.go:11:58
../../libp2p/go-reuseport/interface.go:33:20: undefined: net.ListenConfig
../../libp2p/go-reuseport/interface.go:41:2: not enough arguments to return
../../libp2p/go-reuseport/interface.go:48:2: not enough arguments to return
../../libp2p/go-reuseport/interface.go:60:10: unknown field 'Control' in struct literal of type net.Dialer
# github.com/libp2p/go-libp2p-record/pb
../../libp2p/go-libp2p-record/pb/record.pb.go:68:28: undefined: proto.InternalMessageInfo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant