CoinCulture/evm-tools

Installation Error

maxrobot opened this issue · 2 comments

Hi after running, dep ensure and make is get the error:

user97@sandmann:~/go/src/github.com/CoinCulture/evm-tools$ make
# github.com/CoinCulture/evm-tools/vendor/github.com/ethereum/go-ethereum/crypto/ecies
vendor/github.com/ethereum/go-ethereum/crypto/ecies/asn1.go:123:24: cannot use secp256k1.S256() (type *secp256k1.BitCurve) as type elliptic.Curve in return argument:
	*secp256k1.BitCurve does not implement elliptic.Curve (missing Add2 method)
vendor/github.com/ethereum/go-ethereum/crypto/ecies/asn1.go:142:2: invalid case secp256k1.S256() in switch on curve (mismatched types *secp256k1.BitCurve and elliptic.Curve)
vendor/github.com/ethereum/go-ethereum/crypto/ecies/params.go:103:16: cannot use secp256k1.S256() (type *secp256k1.BitCurve) as type elliptic.Curve in map key:
	*secp256k1.BitCurve does not implement elliptic.Curve (missing Add2 method)
Makefile:6: recipe for target 'install' failed
make: *** [install] Error 2

Weird, that Add2 method isn't part of any elliptic.Curve interface I can find. Is it possible you have a modified version of Go or some unclean GOPATH or something? Can you provide more info like the output of go version and go env ? Thanks!

That's a great point actually I forgot I had been building go from source some time ago.

Apologies!