-
Notifications
You must be signed in to change notification settings - Fork 1
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
[ABW-4135] Export method to derive public keys #350
Conversation
crates/uniffi/uniffi_SPLIT_ME/src/system/sargon_os/sargon_os_derive_public_keys.rs
Outdated
Show resolved
Hide resolved
1a8e46d
to
e9f57e4
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #350 +/- ##
==========================================
- Coverage 92.68% 92.57% -0.11%
==========================================
Files 1166 1169 +3
Lines 26084 26143 +59
Branches 81 81
==========================================
+ Hits 24175 24202 +27
- Misses 1898 1930 +32
Partials 11 11
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
e9f57e4
to
5b9a9b1
Compare
/// | ||
/// # Emits Event | ||
/// Emits `Event::ProfileModified { change: EventProfileModified::PersonaAdded }` | ||
pub async fn create_and_save_new_persona_with_bdfs( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename it to _main_bdfs
/// | ||
/// # Emits Event | ||
/// Emits `Event::ProfileModified { change: EventProfileModified::AccountAdded }` | ||
pub async fn create_and_save_new_account_with_bdfs( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename it to _main_bdfs
5877c75
to
2b47db8
Compare
/// Checks if it is Main Babylon Device Factor Source (BDFS). | ||
pub fn is_main_bdfs(&self) -> bool { | ||
self.supports_babylon() && self.is_main() | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed on latest design session, this check shouldn't be part of FactorSourceCommon
, since it only matters for DeviceFactorSource
. The logic in such file has been updated to check what we were previously delegating here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Interesting what you did in tests using double _
to "group" them.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, nice work!
6bfb375
to
e5e23f8
Compare
[email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] Generated by cargo-workspaces
JIRA ticket: ABW-4135
Changelog
HostInteractor
.bdfs
tomain_bdfs
.Notes
A lot of the file diff comes from the latest change mentioned, so you may want to review that commit independently. You can review the 16 previous commits here.