-
Notifications
You must be signed in to change notification settings - Fork 189
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
feat(katana): added chunk size limit to events method #2644
Merged
kariy
merged 25 commits into
dojoengine:main
from
PoulavBhowmick03:feat/katana-chunk_size_limit
Nov 18, 2024
Merged
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
0c70748
added chunk size limit to events method
PoulavBhowmick03 32597b7
Merge branch 'dojoengine:main' into feat/katana-chunk_size_limit
PoulavBhowmick03 4abd447
Merge branch 'dojoengine:main' into feat/katana-chunk_size_limit
PoulavBhowmick03 1afd693
fixed changes
PoulavBhowmick03 86150ed
fixed changes
PoulavBhowmick03 c90845d
fixed changes for the StarknetApiConfig
PoulavBhowmick03 fd4c2e7
changed page_size to Some(...) instead of None and enhanced rpc_config
PoulavBhowmick03 ccb0c81
Update bin/katana/src/cli/node.rs
PoulavBhowmick03 4987d1c
Update crates/katana/rpc/rpc-types/src/error/starknet.rs
PoulavBhowmick03 3d170b8
Update bin/katana/src/cli/options.rs
PoulavBhowmick03 86134fc
Update crates/katana/node/src/config/rpc.rs
PoulavBhowmick03 07f2b79
Update crates/katana/rpc/rpc/src/starknet/mod.rs
PoulavBhowmick03 66bfe44
Update crates/katana/rpc/rpc/src/starknet/mod.rs
PoulavBhowmick03 606a544
Update crates/katana/rpc/rpc/src/starknet/mod.rs
PoulavBhowmick03 6d82fbd
fixed merge conflicts
PoulavBhowmick03 8772aa0
fixed failing tests
PoulavBhowmick03 a8288d3
Merge branch 'dojoengine:main' into feat/katana-chunk_size_limit
PoulavBhowmick03 acccb45
Update crates/katana/node/src/lib.rs
PoulavBhowmick03 e1103ea
Merge branch 'main' into feat/katana-chunk_size_limit
PoulavBhowmick03 099be6a
ran the commands for passing the tests
PoulavBhowmick03 d92ce69
ran the commands for passing the tests
PoulavBhowmick03 4761298
Merge branch 'dojoengine:main' into feat/katana-chunk_size_limit
PoulavBhowmick03 f2923de
fixed failing tests
PoulavBhowmick03 7752466
fix test and bump defualt page size
kariy 56b8cb7
remove redundant default
kariy File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
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 preserving actual values in error conversion.
The current implementation uses default values (0, 0) when converting from
StarknetRsError::PageSizeTooBig
. This could be misleading for debugging purposes, sensei.Consider modifying the
StarknetRsError
in the upstream library to include these fields, or retrieving the values from the context where the error is generated.