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 RPC error on starknet_getBlockTransactionCount #497

Merged
merged 2 commits into from
Jun 24, 2024

Conversation

tonypony220
Copy link
Contributor

@tonypony220 tonypony220 commented Jun 17, 2024

Usage related changes

resolves #496

Development related changes

Checklist:

  • Checked out the contribution guidelines
  • Applied formatting - ./scripts/format.sh
  • No linter errors - ./scripts/clippy_check.sh
  • No unused dependencies - ./scripts/check_unused_deps.sh
  • No spelling errors - ./scripts/check_spelling.sh
  • Performed code self-review
  • Rebased to the latest commit of the target branch (or merged it into my branch)
  • Updated the docs if needed - ./website/README.md
  • Linked the issues resolvable by this PR - linking info
  • Updated the tests if needed; all passing - execution info

Copy link
Contributor

@FabijanC FabijanC left a comment

Choose a reason for hiding this comment

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

There are unchecked checkboxes in the PR description. If your PR is not yet reviewable, convert it to draft. I agree that the change you made is needed, but the tests for sure need to be updated:

  • If there were tests checking if NoBlocks is returned, they should be changed to checking BlockNotFound is returned)
  • If there were no tests for this case, they need to be added.

@FabijanC FabijanC changed the title fix Fix RPC error on starknet_getBlockTransactionCount Jun 17, 2024
@tonypony220 tonypony220 marked this pull request as draft June 17, 2024 14:03
@FabijanC
Copy link
Contributor

@tonypony220 how is it going? should someone else take over?

@tonypony220
Copy link
Contributor Author

@FabijanC in progress, are you in rush for resolving this?

@FabijanC
Copy link
Contributor

@FabijanC in progress, are you in rush for resolving this?

Ok! Not in a rush, just want to prevent this from becoming stale.

@tonypony220 tonypony220 force-pushed the fix_get_block_txs_count_error branch from 9a40ad3 to 951e57a Compare June 22, 2024 10:54
@tonypony220 tonypony220 marked this pull request as ready for review June 22, 2024 10:56
@FabijanC FabijanC merged commit 205e738 into 0xSpaceShard:main Jun 24, 2024
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.

fix get_block_txs_count endpoint error code
2 participants