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

remove UniCatchupReq message type #82

Merged
merged 1 commit into from
Jul 25, 2023

Conversation

cce
Copy link
Contributor

@cce cce commented Mar 28, 2023

Requests using the UniCatchupReq message type were removed in algorand/go-algorand#1916 (Feb 2021), and there have been several consensus releases since then, so clients effectively no longer use this message. We recently removed the handler for this tag from the codebase in algorand/go-algorand#4517 (Feb 2023).

This removes this message type from the Ziggurat tests too. (Unless you think it would be better to assert that the UniCatchupReqTag messages were ignored ...?)

@aphelionz
Copy link
Member

IMO we should assert that the messages are ignored to explicitly maintain history/legacy/whatever you want to call it

Copy link
Member

@Rqnsom Rqnsom left a comment

Choose a reason for hiding this comment

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

I agree with @aphelionz here, but on the other hand - how valuable such a test is to you?

I would say it would be one of the least interesting tests - so the effort to adapt to the change - is it really worth it?

If not, I would vote to keep a simple comment about that test so we have it documented in our codebase if anybody ever raises a question.

@@ -89,7 +89,6 @@ The fuzz tests aim to buttress the message conformance tests with extra verifica
| PingReplyTag | WS data (Tag: pj) | ✅ | `C009`, `R003` |
| ProposalPayloadTag | WS data (Tag: PP) | ✅ | `C007`, `C013`, `R003`, `R004` |
| StateProofSigTag | WS data (Tag: SP) | ❌ | `R003` |
| UniCatchupReqTag | WS data (Tag: UC) | ✅ | `C010`, `R003` |
Copy link
Member

Choose a reason for hiding this comment

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

This is what I would maybe leave here (related to my general comment)

| UniCatchupReqTag (deprecated) | WS data (Tag: UC) | ☑️ | Test removed |

Copy link
Member

@Rqnsom Rqnsom left a comment

Choose a reason for hiding this comment

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

And maybe we could update the commit message to (we use the conventional commits specification here):

chore: remove UniCatchupReq message type

in any case, LGTM!

@Rqnsom Rqnsom merged commit dbe7fb0 into runziggurat:main Jul 25, 2023
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.

3 participants