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

feat(zk): zksolc linking #800

Merged
merged 69 commits into from
Jan 27, 2025
Merged

feat(zk): zksolc linking #800

merged 69 commits into from
Jan 27, 2025

Conversation

Karrq
Copy link
Contributor

@Karrq Karrq commented Dec 20, 2024

What 💻

  • Add functions to use zksolc --link
  • Process deploy-time linking (both CREATE and CREATE2)
  • Update default zksolc to 1.5.9

Why ✋

  • Allow tests & scripts to rely on contracts with libraries that have not been deployed yet

@Karrq Karrq self-assigned this Dec 20, 2024
@Karrq Karrq requested a review from a team as a code owner December 20, 2024 21:37
crates/evm/evm/src/executors/strategy.rs Show resolved Hide resolved
crates/forge/src/multi_runner.rs Outdated Show resolved Hide resolved
crates/linking/src/lib.rs Outdated Show resolved Hide resolved
crates/linking/src/lib.rs Outdated Show resolved Hide resolved
crates/strategy/zksync/src/executor.rs Outdated Show resolved Hide resolved
crates/zksync/compilers/src/link.rs Show resolved Hide resolved
crates/zksync/compilers/src/link.rs Outdated Show resolved Hide resolved
crates/zksync/compilers/src/link.rs Outdated Show resolved Hide resolved
crates/zksync/compilers/src/link.rs Outdated Show resolved Hide resolved
crates/zksync/core/src/lib.rs Show resolved Hide resolved
crates/config/src/zksync.rs Outdated Show resolved Hide resolved
crates/linking/src/lib.rs Outdated Show resolved Hide resolved
crates/linking/src/lib.rs Outdated Show resolved Hide resolved
crates/linking/src/lib.rs Outdated Show resolved Hide resolved
Karrq added 6 commits January 13, 2025 19:02
fix(strategy): remove get_mut for `DualCompiledContracts`
fix(zk:link): use version from config
refactor(zk:config): extract config -> zksolc compiler logic into
function
chore: lints
@Karrq Karrq requested a review from nbaztec January 23, 2025 16:55
@Jrigada Jrigada self-requested a review January 24, 2025 13:56
nbaztec
nbaztec previously approved these changes Jan 24, 2025
Jrigada
Jrigada previously approved these changes Jan 24, 2025
@Jrigada Jrigada added this to the Release 0.0.5 milestone Jan 24, 2025
@Karrq Karrq linked an issue Jan 24, 2025 that may be closed by this pull request
@Karrq Karrq dismissed stale reviews from Jrigada and nbaztec via 91eb6e7 January 24, 2025 17:07
crates/forge/tests/it/zk/linking.rs Outdated Show resolved Hide resolved
crates/forge/tests/it/zk/linking.rs Outdated Show resolved Hide resolved
crates/script/src/build.rs Outdated Show resolved Hide resolved
crates/script/src/build.rs Outdated Show resolved Hide resolved
crates/script/src/build.rs Show resolved Hide resolved
crates/script/src/runner.rs Show resolved Hide resolved
@Karrq Karrq enabled auto-merge (squash) January 27, 2025 14:25
@Karrq Karrq merged commit b69695a into main Jan 27, 2025
23 checks passed
@Karrq Karrq deleted the feat/zksolc-link branch January 27, 2025 14:28
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.

Support zksolc link
4 participants