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

Use hexadecimal format for opcode values #86

Merged
merged 1 commit into from
Oct 8, 2020

Conversation

hug-dev
Copy link
Member

@hug-dev hug-dev commented Oct 8, 2020

Also adds a link checker on the CI.

Close #82

Signed-off-by: Hugues de Valon [email protected]

Also adds a link checker on the CI.

Signed-off-by: Hugues de Valon <[email protected]>
@hug-dev hug-dev requested a review from ionut-arm October 8, 2020 13:05
@paulhowardarm paulhowardarm self-requested a review October 8, 2020 13:17
/// ListKeys operations
ListKeys = 26,
ListKeys = 0x001A,
Copy link
Collaborator

Choose a reason for hiding this comment

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

Any reason why there's a sudden discontiguous jump from 19 to 26 here? Are we anticipating some missing PSA Crypto operations in the gap?

Copy link
Member

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

It does seem as if some of the operations that are in the book aren't added here yet: https://parallaxsecond.github.io/parsec-book/parsec_client/operations/psa_verify_message.html this is 0x19

Copy link

Choose a reason for hiding this comment

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

The book contains documentation for all operations (and there are protobuf contracts too), including ones not yet present in Parsec but I had to pick op codes, which is why there is a gap. e.g.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Thank you very much! This looks fine to me, in that case.

@hug-dev hug-dev merged commit 3603b5c into parallaxsecond:master Oct 8, 2020
@hug-dev hug-dev deleted the opcodes-hexa branch October 8, 2020 14:46
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.

Write opcode numbers in hexadecimal format
4 participants