Skip to content

Commit

Permalink
feat: pin abigen version
Browse files Browse the repository at this point in the history
  • Loading branch information
tremarkley committed Oct 23, 2024
1 parent 1040bb0 commit 82d18ed
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 13 deletions.
5 changes: 4 additions & 1 deletion Justfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ test-go:
start:
go run ./...

install-abigen:
go install github.com/ethereum/go-ethereum/cmd/abigen@$(jq -r .abigen < versions.json)

force-install-monorepo-version:
cd contracts/lib/optimism && \
forge install ethereum-optimism/optimism@$(cat ../../../monorepo-commit-hash) --no-commit
Expand All @@ -29,7 +32,7 @@ calculate-artifact-url:
checksum=$(bash scripts/ops/calculate-checksum.sh) && \
echo "https://storage.googleapis.com/oplabs-contract-artifacts/artifacts-v1-$checksum.tar.gz"
generate-monorepo-bindings:
generate-monorepo-bindings: install-abigen
./scripts/generate-bindings.sh -u $(just calculate-artifact-url) -n CrossL2Inbox,L2ToL2CrossDomainMessenger,L1BlockInterop,SuperchainWETH,SuperchainERC20,SuperchainTokenBridge -o ./bindings

generate-genesis: build-contracts
Expand Down
5 changes: 3 additions & 2 deletions bindings/crossl2inbox.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions bindings/l1blockinterop.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions bindings/l2tol2crossdomainmessenger.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions bindings/superchainerc20.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions bindings/superchaintokenbridge.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions bindings/superchainweth.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions versions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"abigen": "v1.14.11"
}

0 comments on commit 82d18ed

Please sign in to comment.