Skip to content

Commit c17a305

Browse files
authored
Cleanup some spelling errors and codify bindings generation (#133)
* Fix a bunch of spelling errors * Cleanup bindings generation * forge fmt
1 parent d63222a commit c17a305

16 files changed

+273
-416
lines changed

Makefile

+9
Original file line numberDiff line numberDiff line change
@@ -34,3 +34,12 @@ checkout-op-commit:
3434
git remote add origin https://github.com/ethereum-optimism/optimism.git; \
3535
git fetch --depth=1 origin $(OP_COMMIT); \
3636
git reset --hard FETCH_HEAD
37+
38+
.PHONY: bindings
39+
bindings:
40+
go install github.com/ethereum/go-ethereum/cmd/[email protected]
41+
forge build
42+
mkdir -p bindings
43+
abigen --abi out/BalanceTracker.sol/BalanceTracker.abi.json --pkg bindings --type BalanceTracker --out bindings/balance_tracker.go
44+
abigen --abi out/FeeDisburser.sol/FeeDisburser.abi.json --pkg bindings --type FeeDisburser --out bindings/fee_disburser.go
45+
cd bindings && go mod tidy

bindings/BalanceTracker.abi

-194
This file was deleted.

0 commit comments

Comments
 (0)