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

Changing messages comments/descriptions affects protocol version #70

Open
Roman- opened this issue May 3, 2023 · 1 comment
Open

Changing messages comments/descriptions affects protocol version #70

Roman- opened this issue May 3, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@Roman-
Copy link
Collaborator

Roman- commented May 3, 2023

Here is what protocol version calculator should take into account:

  • Msgs IDs and names
  • Order of msgs fields and their types
  • Fields names (e.g. changing single field name from "uint32 capacity_liters" to "uint32 capacity_ml" must change the hash)

Fields comments and message descriptions must not affect protocol version

@Roman- Roman- added the enhancement New feature or request label May 3, 2023
@Roman- Roman- self-assigned this May 3, 2023
@Roman- Roman- closed this as completed in 4553266 Dec 11, 2023
@Roman-
Copy link
Collaborator Author

Roman- commented Dec 11, 2023

Reverted pull request as it did not consider swapping two consecutive data with same size

@Roman- Roman- reopened this Dec 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant