Skip to content

Add zksync compilation scripts #3

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
Apr 22, 2025
Merged

Add zksync compilation scripts #3

merged 26 commits into from
Apr 22, 2025

Conversation

ilanolkies
Copy link
Contributor

@ilanolkies ilanolkies commented Apr 7, 2025

  • Enable forge --zksync command
  • Compile some contracts
  • Create wrappers to deploy with zksync2-go
  • Run generation script in CI

Follows smartcontractkit/chainlink#17047
Enables smartcontractkit/chainlink-ccip#833

@ilanolkies ilanolkies closed this Apr 8, 2025
@ilanolkies ilanolkies reopened this Apr 8, 2025
@ilanolkies ilanolkies marked this pull request as ready for review April 8, 2025 19:46
@ilanolkies ilanolkies requested a review from a team as a code owner April 8, 2025 19:46
@ilanolkies ilanolkies requested a review from pavel-raykov April 8, 2025 19:46
@ilanolkies ilanolkies marked this pull request as draft April 8, 2025 19:46
@ilanolkies ilanolkies requested a review from Copilot April 8, 2025 19:47
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 15 out of 19 changed files in this pull request and generated 1 comment.

Files not reviewed (4)
  • contracts/.gitignore: Language not supported
  • contracts/GNUmakefile: Language not supported
  • contracts/scripts/zksync_compile_all: Language not supported
  • go.mod: Language not supported

@ilanolkies ilanolkies requested a review from Copilot April 8, 2025 20:08
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 15 out of 19 changed files in this pull request and generated 1 comment.

Files not reviewed (4)
  • contracts/.gitignore: Language not supported
  • contracts/GNUmakefile: Language not supported
  • contracts/scripts/zksync_compile_all: Language not supported
  • go.mod: Language not supported
Comments suppressed due to low confidence (1)

gethwrappers/generation/generate/zksync/zksyncwrapper.go:77

  • Only replacing two occurrences of 'PlaceholderContractName' may leave additional placeholders (e.g. in NewPlaceholderContractName and related metadata) unreplaced, potentially causing inconsistencies in the generated bindings. Consider using a global replacement or confirming that only two substitutions are needed.
template = strings.Replace(template, "PlaceholderContractName", contractName, 2)

@ilanolkies ilanolkies requested a review from Copilot April 8, 2025 20:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot reviewed 15 out of 19 changed files in this pull request and generated 2 comments.

Files not reviewed (4)
  • contracts/.gitignore: Language not supported
  • contracts/GNUmakefile: Language not supported
  • contracts/scripts/zksync_compile_all: Language not supported
  • go.mod: Language not supported

@ilanolkies ilanolkies marked this pull request as ready for review April 8, 2025 20:15
@ilanolkies ilanolkies requested a review from a team as a code owner April 21, 2025 15:02
This enables using bytcode from other kind of artifacts
RensR
RensR previously approved these changes Apr 22, 2025
DylanTinianov
DylanTinianov previously approved these changes Apr 22, 2025
chainchad
chainchad previously approved these changes Apr 22, 2025
RensR
RensR previously approved these changes Apr 22, 2025
skudasov
skudasov previously approved these changes Apr 22, 2025
ChrisAmora
ChrisAmora previously approved these changes Apr 22, 2025
jmank88
jmank88 previously approved these changes Apr 22, 2025
@ilanolkies ilanolkies merged commit 830158e into develop Apr 22, 2025
47 checks passed
@ilanolkies ilanolkies deleted the zksync branch April 22, 2025 16:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.