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(smart-wallet): invitation issuer is remote #6155

Merged
merged 1 commit into from
Sep 7, 2022
Merged

Conversation

Chris-Hibbert
Copy link
Contributor

@Chris-Hibbert Chris-Hibbert commented Sep 7, 2022

refs: #6084

Description

Dan and I were trying to make progress on voting based on top of #6084, and ran into two issues, but the PR merged before we could suggestion this correction.

missing E() around an invitationIssuer

(I originally included updating decentral-psm-config to use smartwallet, but that's maybe not for master).

Security Considerations

None

Documentation Considerations

None

Testing Considerations

None

@Chris-Hibbert Chris-Hibbert added this to the Mainnet 1 RC0 milestone Sep 7, 2022
@Chris-Hibbert Chris-Hibbert requested review from turadg and dckc September 7, 2022 22:01
@Chris-Hibbert Chris-Hibbert self-assigned this Sep 7, 2022
Copy link
Member

@dtribble dtribble left a comment

Choose a reason for hiding this comment

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

LGTM

@Chris-Hibbert Chris-Hibbert added the automerge:no-update (expert!) Automatically merge without updates label Sep 7, 2022
missing E(), and update config to use smartwallet
@Chris-Hibbert Chris-Hibbert changed the title fix: two corrections we found by demoing on 6084 fix: correction we found by demoing on 6084 Sep 7, 2022
@Tartuffo Tartuffo removed this from the Mainnet 1 RC0 milestone Sep 7, 2022
Copy link
Member

@turadg turadg left a comment

Choose a reason for hiding this comment

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

Change is okay but I think before merge we should find a way to prevent this error in the future. I can do that if you prefer.

Looks like this type is wrong,

/**
* @callback GetInvitationIssuer
* @returns {Promise<Issuer>}
*/

Should be FarRef<Issuer>?

Is there any way to have this fail in Ava without running a full swingset test?

@Chris-Hibbert Chris-Hibbert removed the automerge:no-update (expert!) Automatically merge without updates label Sep 7, 2022
@Chris-Hibbert
Copy link
Contributor Author

Change is okay but I think before merge we should find a way to prevent this error in the future. I can do that if you prefer.

I removed automerge:. would you prefer to make a new PR?

@turadg turadg added the automerge:squash Automatically squash merge label Sep 7, 2022
@turadg
Copy link
Member

turadg commented Sep 7, 2022

@Chris-Hibbert fixing the type was a rabbit hole. I think this is good to merge since there's no Ava test and the TS will get fixed over time.

I added back the automerge and made it "squash" to the PR title, which I've updated.

@turadg turadg changed the title fix: correction we found by demoing on 6084 fix(smart-wallet): invitation issuer is remote Sep 7, 2022
@mergify mergify bot merged commit 88b1067 into master Sep 7, 2022
@mergify mergify bot deleted the 6084-fixes branch September 7, 2022 23:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
automerge:squash Automatically squash merge wallet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants