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/zksync tx fail #90

Merged
merged 11 commits into from
Oct 15, 2024
Merged

Fix/zksync tx fail #90

merged 11 commits into from
Oct 15, 2024

Conversation

PatrickAlphaC
Copy link
Member

No description provided.

CONTRIBUTING.md Outdated Show resolved Hide resolved
@@ -107,8 +109,11 @@ def _set_boa_env_and_db(self) -> _AnyEnv:

# 3. Finally, "true" networks
elif self.is_zksync:
env = ZksyncEnv(EthereumRPC(self.url), nickname=self.name)
boa.set_env(env)
if self.explorer_type != "zksyncexplorer":
Copy link
Contributor

Choose a reason for hiding this comment

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

the string should be in a constant. Btw, why is it lower case here?
If imported, we could also use ZksyncExplorer.__name__

Copy link
Member Author

Choose a reason for hiding this comment

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

They are able to set the explorer_type in the moccasin.toml. It's hard to know what type of explorer it is based on the URL alone.

moccasin/config.py Outdated Show resolved Hide resolved
moccasin/config.py Show resolved Hide resolved
moccasin/config.py Outdated Show resolved Hide resolved
pyproject.toml Outdated Show resolved Hide resolved
tests/cli/test_cli_deployments_write.py Outdated Show resolved Hide resolved
tests/live/README.md Outdated Show resolved Hide resolved
tests/unit/test_unit_deployments_read.py Outdated Show resolved Hide resolved
PatrickAlphaC and others added 6 commits October 15, 2024 09:23
Co-authored-by: Daniel Schiavini <[email protected]>
Co-authored-by: Daniel Schiavini <[email protected]>
Co-authored-by: Daniel Schiavini <[email protected]>
Co-authored-by: Daniel Schiavini <[email protected]>
@PatrickAlphaC PatrickAlphaC merged commit bf81679 into main Oct 15, 2024
2 checks passed
@PatrickAlphaC PatrickAlphaC deleted the fix/zksync-tx-fail branch October 17, 2024 14:37
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