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

CCQ: High level validation helpers + slight refactor #3537

Merged
merged 4 commits into from
Dec 12, 2023
Merged

Conversation

djb15
Copy link
Collaborator

@djb15 djb15 commented Nov 15, 2023

As discussed I've added some high level helpers that should hopefully make validating a parsed response easier for integrators rather than having to write validation logic from scratch every time.

I've also slightly refactored the passing of the wormhole address to avoid the potential for an integrator accidentally allowing the caller to specify this value.

@djb15 djb15 changed the title [DRAFT] CCQ: High level validation helpers + slight refactor CCQ: High level validation helpers + slight refactor Nov 21, 2023
@djb15 djb15 marked this pull request as ready for review November 21, 2023 23:46
@evan-gray evan-gray dismissed their stale review December 1, 2023 15:41

Comment resolved

SEJeff
SEJeff previously approved these changes Dec 3, 2023
@SEJeff
Copy link
Collaborator

SEJeff commented Dec 3, 2023

@djb15 can you rebase this with the fixes to the tests you did that are in main please?

ethereum/contracts/query/QueryDemo.sol Outdated Show resolved Hide resolved
ethereum/contracts/query/QueryResponse.sol Outdated Show resolved Hide resolved
ethereum/contracts/query/QueryResponse.sol Outdated Show resolved Hide resolved
ethereum/contracts/query/QueryResponse.sol Outdated Show resolved Hide resolved
Copy link
Contributor

@gator-boi gator-boi left a comment

Choose a reason for hiding this comment

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

lgtm

@SEJeff SEJeff merged commit da2bdd6 into main Dec 12, 2023
22 checks passed
@SEJeff SEJeff deleted the ccq/helpers branch December 12, 2023 06:45
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.

5 participants