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

fix: Cli settings not passing correctly to ZK #23

Merged

Conversation

Jrigada
Copy link

@Jrigada Jrigada commented Aug 22, 2024

This PR replicates the struct Foundry uses for managing the settings and cli_settings needed for the compilation process. It creates the ZKSettings and ZkSolcSettings and use them accordingly.

@Jrigada Jrigada changed the base branch from zksync-v0.10.0 to zksync-v0.3.9 August 22, 2024 16:26
@Jrigada Jrigada changed the base branch from zksync-v0.3.9 to zksync-v0.10.0 August 22, 2024 16:26
@@ -296,6 +297,7 @@ impl ZkSolc {
pub fn compile_output(&self, input: &ZkSolcInput) -> Result<Vec<u8>> {
let mut cmd = Command::new(&self.zksolc);

println!("ALLOW PATHS: {:?}", self.allow_paths);
Copy link

Choose a reason for hiding this comment

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

Is this left from debugging?

Copy link
Author

Choose a reason for hiding this comment

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

Yes sorry my bad!

@Jrigada Jrigada merged commit 7719a78 into zksync-v0.10.0 Aug 22, 2024
4 checks passed
@Jrigada Jrigada deleted the fix-jrigada-use-cli-settings-on-zk-compilation branch August 22, 2024 20:25
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.

2 participants