Skip to content
This repository was archived by the owner on May 22, 2023. It is now read-only.

Commit 37de275

Browse files
authored
Merge pull request #481 from ElderOrb/master
Use package-specific version of abigen Running go run github.com/ethereum/go-ethereum/cmd/abigen should run the package-specific version of abigen and we can avoid problems with incompatible abigen versions this way.
2 parents 198fd21 + 13d1986 commit 37de275

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

pkg/chain/gen/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ abi/%.abi: ${solidity_dir}/contracts/%.sol
4242

4343

4444
abi/%.go: abi/%.abi
45-
abigen --abi $< --pkg abi --type $* --out $@
45+
go run github.com/ethereum/go-ethereum/cmd/abigen --abi $< --pkg abi --type $* --out $@
4646

4747
contract/%.go cmd/%.go: abi/%ImplV1.abi abi/%ImplV1.go abi/%.go *.go
4848
go run github.com/keep-network/keep-common/tools/generators/ethereum $< contract/$*.go cmd/$*.go

0 commit comments

Comments
 (0)