-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix/zksync tx fail #90
Conversation
@@ -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": |
There was a problem hiding this comment.
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__
There was a problem hiding this comment.
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.
Co-authored-by: Daniel Schiavini <daniel.schiavini@gmail.com>
Co-authored-by: Daniel Schiavini <daniel.schiavini@gmail.com>
Co-authored-by: Daniel Schiavini <daniel.schiavini@gmail.com>
Co-authored-by: Daniel Schiavini <daniel.schiavini@gmail.com>
No description provided.