Skip to content

Commit 452eef0

Browse files
add abigen to generate go bindings
1 parent eeb23b4 commit 452eef0

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

rolling-shutter/Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ GOLINT_CONCURRENCY ?= 0
1313
TOOL_VERSTION_GOENUM ?= 0.6.0
1414
TOOL_VERSION_PROTOCGENGO ?= 1.36.5
1515
TOOL_VERSION_OAPICODEGEN ?= 1.16.1
16+
TOOL_VERSION_ABIGEN ?= 1.15.7
1617

1718

1819
build:
@@ -81,6 +82,9 @@ ${GOPATH}/bin/go-enum:
8182
${GO} install github.com/abice/go-enum@v${TOOL_VERSTION_GOENUM}
8283
install-go-enum: ${GOPATH}/bin/go-enum
8384

85+
${GOPATH}/bin/abigen:
86+
${GO} install github.com/ethereum/go-ethereum/cmd/abigen@v${TOOL_VERSION_ABIGEN}
87+
install-abigen: ${GOPATH}/bin/abigen
8488

8589
${GOPATH}/bin/protoc-gen-go:
8690
${GO} install google.golang.org/protobuf/cmd/protoc-gen-go@v${TOOL_VERSION_PROTOCGENGO}

rolling-shutter/contract/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
// package contract contains the abigen generated bindings for rolling shutter's smart contracts
22
package contract
33

4-
// disabled //go:generate node ../../contracts/scripts/abigen.js
4+
//go:generate node ../../contracts/scripts/abigen.js

0 commit comments

Comments
 (0)