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

Abort blocks by ID #541

Merged
merged 12 commits into from
Jul 11, 2024
Merged

Abort blocks by ID #541

merged 12 commits into from
Jul 11, 2024

Conversation

3alpha
Copy link
Contributor

@3alpha 3alpha commented Jul 6, 2024

Usage related changes

Adds functionality so that blocks can be aborted by number in addition to hash.

Development related changes

Resolves #512

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)
    • Once you make the PR reviewable, please prefer merging over rebasing
  • 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

crates/starknet-devnet-core/src/starknet/mod.rs Outdated Show resolved Hide resolved
crates/starknet-devnet/tests/test_abort_blocks.rs Outdated Show resolved Hide resolved
crates/starknet-devnet-server/src/api/http/models.rs Outdated Show resolved Hide resolved
@3alpha
Copy link
Contributor Author

3alpha commented Jul 9, 2024

Added testing for aborting on tag, If I am not missing something, aborting on tag looks pretty straight forward.

website/docs/blocks.md Outdated Show resolved Hide resolved
crates/starknet-devnet/tests/test_abort_blocks.rs Outdated Show resolved Hide resolved
website/docs/blocks.md Outdated Show resolved Hide resolved
@mikiw
Copy link
Contributor

mikiw commented Jul 10, 2024

@3alpha I see that good PR is cooking, once you finish please send the re-request review (the right top of page)

@FabijanC FabijanC changed the title Abort blocks by number Abort blocks by ID Jul 11, 2024
@FabijanC FabijanC merged commit faef394 into main Jul 11, 2024
1 check passed
@FabijanC FabijanC deleted the add-abort-by-number branch July 11, 2024 07:55
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.

Abort blocks by block number
3 participants