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

feat: add limited key option #150

Merged
merged 6 commits into from
Apr 27, 2023
Merged

feat: add limited key option #150

merged 6 commits into from
Apr 27, 2023

Conversation

itegulov
Copy link
Contributor

No description provided.

@itegulov itegulov force-pushed the daniyar/limited_key branch from 19fd627 to 395e0b1 Compare April 27, 2023 05:33
@itegulov itegulov force-pushed the daniyar/limited_key branch from 395e0b1 to 6e44925 Compare April 27, 2023 05:33
@volovyks
Copy link
Collaborator

CI is failing to load relayer docker image. Looking into that.

@volovyks volovyks marked this pull request as ready for review April 27, 2023 14:01
Copy link
Contributor

@DavidM-D DavidM-D left a comment

Choose a reason for hiding this comment

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

Bar one comment LGTM

.into_iter()
.find(|ak| ak.public_key.to_string() != user_public_key)
.find(|ak| {
Copy link
Contributor

Choose a reason for hiding this comment

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

I'm a bit confused by this, why are we searching for both the FA and the LA key, then assuming we found the FA key?

Copy link
Collaborator

Choose a reason for hiding this comment

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

Because we are creating an account with FA Key A and LA Key B. FA Key C (recovery) is added on the serverside.
So, if we will get all 3 keys, remove FA A and LA B, it should be FA C.

@volovyks volovyks requested a review from esaminu April 27, 2023 15:01
@volovyks volovyks merged commit 776753b into develop Apr 27, 2023
volovyks added a commit that referenced this pull request Apr 27, 2023
* chore: clarify deploy guide (#151)

* chore: pull relayer image from Github Container Registry (#152)

* chore: fix logging (#154)

* feat: add limited key option (#150)

* add limited key support

---------

Co-authored-by: David Millar-Durrant <dmillardurrant@gmail.com>
Co-authored-by: Serhii Volovyk <SergeyVolovyk@gmail.com>

---------

Co-authored-by: Daniyar Itegulov <ditegulov@gmail.com>
Co-authored-by: David Millar-Durrant <dmillardurrant@gmail.com>
@itegulov itegulov deleted the daniyar/limited_key branch July 20, 2023 05:24
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