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(plugin-odap-hermes): fix duplicate enum values of OdapMessageType #2554

Merged
merged 1 commit into from
Jul 22, 2023

Conversation

petermetz
Copy link
Contributor

CommitFinalResponse and CommitPreparationResponse
were accidentally having the same enum value, fixed it by
providing the correct enum value (as per the specs) for
CommitFinalResponse.

Links:

  1. https://datatracker.ietf.org/doc/bofreq-hardjono-secure-asset-transfer-protocol/
  2. https://www.ietf.org/archive/id/draft-hargreaves-odap-03.txt

Fixes #2553

Signed-off-by: Peter Somogyvari peter.somogyvari@accenture.com

@petermetz
Copy link
Contributor Author

cc: @RafaelAPB @AndreAugusto11

Copy link
Contributor

@izuru0 izuru0 left a comment

Choose a reason for hiding this comment

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

LGTM

@petermetz petermetz force-pushed the petermetz/issue2553 branch from 6e02703 to 2308dcd Compare July 20, 2023 00:31
auto-merge was automatically disabled July 20, 2023 03:18

Base branch was modified

@petermetz petermetz self-assigned this Jul 21, 2023
CommitFinalResponse and CommitPreparationResponse
were accidentally having the same enum value, fixed it by
providing the correct enum value (as per the specs) for
CommitFinalResponse.

Links:
1. https://datatracker.ietf.org/doc/bofreq-hardjono-secure-asset-transfer-protocol/
2. https://www.ietf.org/archive/id/draft-hargreaves-odap-03.txt

Fixes hyperledger-cacti#2553

Signed-off-by: Peter Somogyvari <peter.somogyvari@accenture.com>
@petermetz petermetz force-pushed the petermetz/issue2553 branch from 2308dcd to 0c8aa20 Compare July 22, 2023 19:58
@petermetz petermetz enabled auto-merge (rebase) July 22, 2023 19:58
@petermetz petermetz merged commit 292d287 into hyperledger-cacti:main Jul 22, 2023
@petermetz petermetz deleted the petermetz/issue2553 branch July 23, 2023 00:14
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(plugin-odap-hermes): fix duplicate enum values of OdapMessageType
3 participants