-
Notifications
You must be signed in to change notification settings - Fork 106
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
dev: batch RPC requests linked to storage queries #940
Comments
can I take this one? @greged93 @tcoratger |
hey @hhamud this is quite a complicated issue so probably better not if you don't have a lot of experience with our stack. This is actually still blocked for now anyway, waiting for this xJonathanLEI/starknet-rs#600 PR on starknet-rs. |
Time spent on this PR: 0.5 ## Pull request type Please check the type of change your PR introduces: - [ ] Bugfix - [x] Feature - [ ] Code style update (formatting, renaming) - [ ] Refactoring (no functional changes, no api changes) - [ ] Build related changes - [ ] Documentation content changes - [ ] Other (please describe): ## What is the current behavior? Not possible to return `model.EVM` from a test Resolves kkrt-labs#940 ## What is the new behavior? Serialize model.EVM + included struct + fix when returning struct and not struct* <!-- Reviewable:start --> - - - This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/kkrt-labs/kakarot/995) <!-- Reviewable:end -->
What is the status of this one @greged93 |
I think batch calls were merged in starknet-rs 3 weeks ago so this is unblocked and open for contribution |
Might need to check if this is supported on the release we are using for starknet-rs |
done here |
as I understand this, we are now able to move forward with this issue? cc @greged93 |
I looked into this but actually there isn't really a place where we need this now, we could have used this before when we were querying two storage slots or two nonces but we don't anymore |
how do we query storage slots? we don't need to query them two by two? |
No via the |
We could actually use this in the retrieval of all the nonces for the relayers. |
Describe the enhancement request
The json RPC standard allows to send a batch of request (see link and link). This would allow us to batch the requests to the node for storage requests in the context of a call for example.
Describe Preferred Solution
Links
The text was updated successfully, but these errors were encountered: