Skip to content

ZK Sync gobindings #833

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

Merged
merged 26 commits into from
May 19, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
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
4 changes: 4 additions & 0 deletions .github/workflows/solidity-build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ jobs:
working-directory: chains/evm
run: make wrappers

- name: Install and run forge --zksync, and generate wrappers
working-directory: chains/evm
run: make wrappers-zksync

- name: Check if Go solidity wrappers are updated
if: ${{ needs.changes.outputs.changes == 'true' }}
working-directory: chains/evm
Expand Down
4 changes: 3 additions & 1 deletion chains/evm/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ lcov.info.pruned
report

scripts/abigen
scripts/forge_zksync
abi
solc
solc
zkout
9 changes: 9 additions & 0 deletions chains/evm/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ snapshot-diff: ## Make a snapshot for a specific product.
foundry: ## Install foundry.
foundryup --install v1.0.0

# it may be necessary to install libusb on your machine as a dependency for this script to work
.PHONY: foundry-zksync
foundry-zksync: ## Install foundry.
./scripts/install_foundry_zksync

ccip-precommit: export FOUNDRY_PROFILE=ccip
.PHONY: ccip-precommit
ccip-precommit:
Expand All @@ -33,6 +38,10 @@ wrappers: pnpmdep mockery abigen
./scripts/compile_all
go generate ./gobindings

.PHONY: wrappers-zksync
wrappers-zksync: pnpmdep foundry-zksync
ZKSYNC=true make wrappers

.PHONY: pnpmdep
pnpmdep: ## Install solidity contract dependencies through pnpm
pnpm i
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading
Loading