Skip to content

Commit

Permalink
chore: nit
Browse files Browse the repository at this point in the history
  • Loading branch information
leovct committed Nov 22, 2024
1 parent 41c67bb commit 95959dc
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions contracts/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ build: ## Build the smart contracts

##@ Gen go bindings

.PHONY: gen-go-bindings
gen-go-bindings: build gen-funder-go-bindings gen-tester-go-bindings gen-tokens-go-bindings ## Generate go bindings.

.PHONY: gen-funder-go-bindings
gen-funder-go-bindings: ## Generatego go bindings for the funder contract.
cat ./out/Funder.sol/Funder.json | jq -r '.abi' > ../bindings/funder/Funder.abi
Expand Down Expand Up @@ -55,7 +58,3 @@ gen-ulxly-go-bindings:
cat ./out/PolygonZkEVMBridge.sol/PolygonZkEVMBridge.json | jq -r '.bytecode.object' > ../bindings/ulxly/PolygonZkEVMBridge.bin
abigen --abi ../bindings/ulxly/PolygonZkEVMBridge.abi --bin ../bindings/ulxly/PolygonZkEVMBridge.bin --pkg ulxly --type legacy --out ../bindings/ulxly/PolygonZkEVMBridge.go
@echo "✅ ulxly/PolygonZkEVMBridge.go generated"


.PHONY: gen-go-bindings
gen-go-bindings: build gen-funder-go-bindings gen-tester-go-bindings gen-tokens-go-bindings ## Generate go bindings.

0 comments on commit 95959dc

Please sign in to comment.