Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: pin abigen version #353

Merged
merged 1 commit into from
Dec 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion dev/up
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,19 @@ if ! which mockery &>/dev/null; then go install github.com/vektra/mockery/v2; fi
if ! which sqlc &> /dev/null; then go install github.com/sqlc-dev/sqlc/cmd/sqlc; fi
if ! which buf &> /dev/null; then go install github.com/bufbuild/buf/cmd/buf; fi
if ! which golines &>/dev/null; then go install github.com/segmentio/golines@latest; fi
if ! which abigen &>/dev/null; then go install github.com/ethereum/go-ethereum/cmd/abigen; fi
if ! which jq &>/dev/null; then brew install jq; fi

# Pin abigen version at can introduce breaking changes between releases, rendering different ABIs.
if ! which abigen &>/dev/null; then
go install github.com/ethereum/go-ethereum/cmd/[email protected]
fi

abigen_version=$(abigen --version | awk '{print $3}')
if [[ ${abigen_version} != "1.14.12-stable" ]]; then
echo "ERROR: abigen version is not 1.14.12. Please install the correct version."
exit 1
fi
fbac marked this conversation as resolved.
Show resolved Hide resolved

dev/docker/up
dev/contracts/deploy-local
dev/register-local-node
Expand Down
1 change: 0 additions & 1 deletion dev/update-tools
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,5 @@ go mod tidy
go install github.com/vektra/mockery/v2
go install github.com/sqlc-dev/sqlc/cmd/sqlc
go install github.com/segmentio/golines@latest
go install github.com/ethereum/go-ethereum/cmd/abigen
go install github.com/golang-migrate/migrate/v4/cmd/migrate
go install github.com/bufbuild/buf/cmd/buf
Loading