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

Allow specifying sequences to clear as a list of ranges #3756

Merged
merged 3 commits into from
Jan 9, 2024

Conversation

romac
Copy link
Member

@romac romac commented Jan 8, 2024

See #3672 for the description of the feature and the syntax.

@romac romac requested a review from ancazamfir January 8, 2024 14:17
@romac romac force-pushed the romac/clear-cli-sequence-ranges branch from 6b7abd2 to 31f933e Compare January 8, 2024 15:01
Copy link
Collaborator

@ancazamfir ancazamfir left a comment

Choose a reason for hiding this comment

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

Very cool! Thanks @romac

@romac romac merged commit cf41425 into anca/clear_cli_sequences Jan 9, 2024
35 checks passed
@romac romac deleted the romac/clear-cli-sequence-ranges branch January 9, 2024 10:50
romac added a commit that referenced this pull request Jan 12, 2024
Closes: #3672

* Add list of sequence numbers to clear pending CLI

* With sequences option only clear the packets from the specified chain and not counterparty

* Fix clippy, add sequence test

* Update guide template

* Allow specifying sequences to clear as a list of ranges (#3756)

* Allow specifying sequences to clear as a list of ranges

* Make the ranges inclusive

* Update guide templates

* Add packet-sequences to the packet tx CLIs.

* Align and wording

* Update guide templates

* Improve output of `query packet pending` command

* Add integration test for clearing packets by sequence number ranges

* Add changelog entry

---------

Co-authored-by: Romain Ruetschi <romain@informal.systems>
romac added a commit that referenced this pull request Jan 12, 2024
* Add list of sequence numbers to clear pending CLI

* With sequences option only clear the packets from the specified chain and not counterparty

* Fix clippy, add sequence test

* Update guide template

* Allow specifying sequences to clear as a list of ranges (#3756)

* Allow specifying sequences to clear as a list of ranges

* Make the ranges inclusive

* Update guide templates

* Add packet-sequences to the packet tx CLIs.

* Align and wording

* Update guide templates

* Improve output of `query packet pending` command

* Add integration test for clearing packets by sequence number ranges

* Add changelog entry

---------

Co-authored-by: Romain Ruetschi <romain@informal.systems>
romac added a commit that referenced this pull request Jan 15, 2024
….x (#3772)

* Remove unused code for encoding a `Packet` into a `Vec<abci::EventAttribute>` (#3769)

* Add list of sequence numbers to clear pending CLI (#3751)

* Add list of sequence numbers to clear pending CLI

* With sequences option only clear the packets from the specified chain and not counterparty

* Fix clippy, add sequence test

* Update guide template

* Allow specifying sequences to clear as a list of ranges (#3756)

* Allow specifying sequences to clear as a list of ranges

* Make the ranges inclusive

* Update guide templates

* Add packet-sequences to the packet tx CLIs.

* Align and wording

* Update guide templates

* Improve output of `query packet pending` command

* Add integration test for clearing packets by sequence number ranges

* Add changelog entry

---------

Co-authored-by: Romain Ruetschi <romain@informal.systems>

* Fix clippy warnings

---------

Co-authored-by: Anca Zamfir <ancazamfir@users.noreply.github.com>
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.

2 participants