Skip to content

Conversation

@md0x
Copy link
Contributor

@md0x md0x commented Dec 20, 2024

Changes proposed in this PR:

  • Finish the organization of utility functions with constants, helpers, and cctpHelpers shared utilities.
  • Enhance cctpHelpers with data integrity checks.

md0x added 3 commits December 20, 2024 11:43
Signed-off-by: Pablo Maldonado <pablomaldonadoturci@gmail.com>
Signed-off-by: Pablo Maldonado <pablomaldonadoturci@gmail.com>
Signed-off-by: Pablo Maldonado <pablomaldonadoturci@gmail.com>

// Validate the response structure
try {
AttestationResponseStruct.assert(attestationResponse);
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Adding runtime type validation with superstruct to ensure the cctp matches the expected schema.

@md0x md0x marked this pull request as ready for review December 20, 2024 12:36
Copy link
Contributor

@Reinis-FRP Reinis-FRP left a comment

Choose a reason for hiding this comment

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

nice!

@md0x md0x merged commit ddbe2fc into master Dec 20, 2024
9 checks passed
@md0x md0x deleted the pablo/org-remaining-svm-tools branch December 20, 2024 16:05
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