Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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: ensure we init rpc client with timeout #2602
fix: ensure we init rpc client with timeout #2602
Changes from all commits
5e7038a
9d28be8
ab9be68
b10fd79
4faa650
84251fe
5d96621
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Check warning on line 81 in bin/sozo/src/commands/execute.rs
Codecov / codecov/patch
bin/sozo/src/commands/execute.rs#L81
Check warning on line 83 in bin/sozo/src/commands/execute.rs
Codecov / codecov/patch
bin/sozo/src/commands/execute.rs#L83
Check warning on line 91 in bin/sozo/src/commands/execute.rs
Codecov / codecov/patch
bin/sozo/src/commands/execute.rs#L91
Check warning on line 123 in bin/sozo/src/commands/execute.rs
Codecov / codecov/patch
bin/sozo/src/commands/execute.rs#L123
Check warning on line 60 in bin/sozo/src/commands/migrate.rs
Codecov / codecov/patch
bin/sozo/src/commands/migrate.rs#L53-L60
Check warning on line 65 in bin/sozo/src/commands/migrate.rs
Codecov / codecov/patch
bin/sozo/src/commands/migrate.rs#L64-L65
Check warning on line 42 in bin/sozo/src/commands/options/starknet.rs
Codecov / codecov/patch
bin/sozo/src/commands/options/starknet.rs#L38-L42
Check warning on line 148 in bin/sozo/src/utils.rs
Codecov / codecov/patch
bin/sozo/src/utils.rs#L148
Check warning on line 159 in bin/sozo/src/utils.rs
Codecov / codecov/patch
bin/sozo/src/utils.rs#L157-L159
Check warning on line 169 in bin/sozo/src/utils.rs
Codecov / codecov/patch
bin/sozo/src/utils.rs#L167-L169
Check warning on line 106 in crates/dojo/utils/src/tx/declarer.rs
Codecov / codecov/patch
crates/dojo/utils/src/tx/declarer.rs#L106
Check warning on line 76 in crates/dojo/utils/src/tx/deployer.rs
Codecov / codecov/patch
crates/dojo/utils/src/tx/deployer.rs#L75-L76
Check warning on line 63 in crates/dojo/utils/src/tx/invoker.rs
Codecov / codecov/patch
crates/dojo/utils/src/tx/invoker.rs#L62-L63
Check warning on line 91 in crates/dojo/utils/src/tx/invoker.rs
Codecov / codecov/patch
crates/dojo/utils/src/tx/invoker.rs#L90-L91
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.
🛠️ Refactor suggestion
Consider extracting common transaction waiting logic, sensei!
The transaction waiting logic is duplicated between
invoke()
andmulticall()
. Consider extracting this into a private helper method to improve maintainability.