You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:660:33: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:664:34: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:668:35: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:672:36: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:912:10: assignment mismatch: 1 variable but _abi.Unpack returns 2 values
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:912:24: too many arguments in call to _abi.Unpack
have (interface {}, string, []byte)
want (string, []byte)
github.com/0xProject/0x-mesh/ethereum/wrappers
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:142:78: cannot use result (type interface {}) as type *[]interface {} in argument to _CoordinatorRegistry.Contract.CoordinatorRegistryCaller.contract.Call: need type assertion
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:161:52: cannot use result (type interface {}) as type *[]interface {} in argument to _CoordinatorRegistry.Contract.contract.Call: need type assertion
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:183:43: cannot use out (type *string) as type *[]interface {} in argument to _CoordinatorRegistry.contract.Call
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/dev_utils.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/dummy_erc721_token.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/erc1155_mintable.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/exchange.go:24:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/weth9.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/zrx_token.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:183:43: too many errors
The text was updated successfully, but these errors were encountered:
Looked into the ethereum Go packages that you reference like abi for example, and there is no U256 in it, .. also the UnPack function in the wrapper doesn't take an interface as a first parameter as your code attempts to do. So this leads me to believe this goLang package requires an older version of go-ethereum abi etc. Its not immediately clear to me how to get this to compile or work.
Any help appreciated.
PS: All I am trying to do is make a goLang GraphQL client to talk to the mesh thats running in docker, using your published golang graphql mod.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Context
Please provide any relevant information about your setup
I am running mesh as a standalone server inside the docker container as shown in the documentation.
8.0.1
instead oflatest
or8
).11.1.0
Golang client 1.0.7 / golang version 1.16.3
Expected Behavior
go build should work?
Current Behavior
Currently there are a bunch of errors compiling the 0xmesh golang graphQL client.
Failure Information (for bugs)
Looks like it just doesn't compile the module / supporting files...
Steps to Reproduce
Please provide detailed steps for reproducing the issue.
Failure Logs
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:660:33: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:664:34: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:668:35: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:672:36: cannot call non-function event.ID (type common.Hash)
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:912:10: assignment mismatch: 1 variable but _abi.Unpack returns 2 values
../../../go/pkg/mod/github.com/0x!project/[email protected]/zeroex/orderwatch/decoder/event_decoder.go:912:24: too many arguments in call to _abi.Unpack
have (interface {}, string, []byte)
want (string, []byte)
github.com/0xProject/0x-mesh/ethereum/wrappers
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:142:78: cannot use result (type interface {}) as type *[]interface {} in argument to _CoordinatorRegistry.Contract.CoordinatorRegistryCaller.contract.Call: need type assertion
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:161:52: cannot use result (type interface {}) as type *[]interface {} in argument to _CoordinatorRegistry.Contract.contract.Call: need type assertion
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:183:43: cannot use out (type *string) as type *[]interface {} in argument to _CoordinatorRegistry.contract.Call
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/dev_utils.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/dummy_erc721_token.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/erc1155_mintable.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/exchange.go:24:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/weth9.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/zrx_token.go:23:6: undefined: abi.U256
../../../go/pkg/mod/github.com/0x!project/[email protected]/ethereum/wrappers/coordinator_registry.go:183:43: too many errors
The text was updated successfully, but these errors were encountered: