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: Add check in ZK create to check if it's the test contract #585

Merged
merged 4 commits into from
Sep 24, 2024

Conversation

Jrigada
Copy link
Contributor

@Jrigada Jrigada commented Sep 19, 2024

Motivation

The motivation of this PR is to solve the issue 579 that raised that a script that was meant to fail was not when not passing an rpc-url or fork-url

Solution

Check wether we are dealing with the test contract to avoid deploying it in Zk-vm and later try to execute in EVM.

nbaztec
nbaztec previously approved these changes Sep 20, 2024
crates/script/src/runner.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@Karrq Karrq left a comment

Choose a reason for hiding this comment

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

This has my implicit approval, so would like an explicit one from someone else :)

@Jrigada Jrigada merged commit 082b6a3 into main Sep 24, 2024
11 checks passed
@Jrigada Jrigada deleted the fix-jrigada-script-not-failing-when-no-fork-url branch September 24, 2024 22:46
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.

3 participants