Skip to content

Use a shared StateIdResult struct for all State ID proofer calls#7088

Merged
jmhooper merged 4 commits intomainfrom
jmhooper-state-id-result
Oct 5, 2022
Merged

Use a shared StateIdResult struct for all State ID proofer calls#7088
jmhooper merged 4 commits intomainfrom
jmhooper-state-id-result

Conversation

@jmhooper
Copy link
Contributor

@jmhooper jmhooper commented Oct 4, 2022

We had issues where we were raising NoMethodErrors because the API between the proofer result objects had drifted. This commit helps to address that problem in the future by collapsing all of the state ID result objects into a single struct and building out the result in the proofer.

We had issues where we were raising NoMethodErrors because the API between the proofer result objects had drifted. This commit helps to address that problem in the future by collapsing all of the state ID result objects into a single struct and building out the result in the proofer.
@jmhooper jmhooper requested a review from kbighorse October 4, 2022 20:51
jmhooper added a commit that referenced this pull request Oct 5, 2022
This commit is a follow-up to #7088. It creates a struct which handles results for all proofers. This helps prevent issues where the result objects for proofers get out of sync.

[skip changelog]
Copy link
Contributor

@zachmargolis zachmargolis left a comment

Choose a reason for hiding this comment

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

LGTM

jmhooper added a commit that referenced this pull request Oct 5, 2022
This commit is a follow-up to #7088. It creates a struct which handles results for all proofers. This helps prevent issues where the result objects for proofers get out of sync.

[skip changelog]
jmhooper added a commit that referenced this pull request Oct 5, 2022
This commit adds a shared struct for the address proofer calls. This commits make sure that all of our adapters return a result with the same public API.

See also: #7088, #7092

[skip changelog]
@jmhooper jmhooper merged commit 6bb2402 into main Oct 5, 2022
@jmhooper jmhooper deleted the jmhooper-state-id-result branch October 5, 2022 20:57
jmhooper added a commit that referenced this pull request Oct 6, 2022
This commit adds a shared struct for the address proofer calls. This commits make sure that all of our adapters return a result with the same public API.

See also: #7088, #7092

[skip changelog]
jskinne3 pushed a commit that referenced this pull request Oct 12, 2022
This commit is a follow-up to #7088. It creates a struct which handles results for all proofers. This helps prevent issues where the result objects for proofers get out of sync.

[skip changelog]
jskinne3 pushed a commit that referenced this pull request Oct 12, 2022
We had issues where we were raising NoMethodErrors because the API between the proofer result objects had drifted. This commit helps to address that problem in the future by collapsing all of the state ID result objects into a single struct and building out the result in the proofer.

[skip changelog]
jskinne3 pushed a commit that referenced this pull request Oct 12, 2022
This commit adds a shared struct for the address proofer calls. This commits make sure that all of our adapters return a result with the same public API.

See also: #7088, #7092

[skip changelog]
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.

2 participants