Page MenuHomePhabricator

[native] initialize crypto account before any crypto-related operation
ClosedPublic

Authored by kamil on Jan 10 2024, 7:12 AM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 18, 1:24 AM
Unknown Object (File)
Fri, Oct 18, 1:24 AM
Unknown Object (File)
Fri, Oct 18, 1:24 AM
Unknown Object (File)
Fri, Oct 18, 1:24 AM
Unknown Object (File)
Sep 6 2024, 6:22 PM
Unknown Object (File)
Sep 6 2024, 6:22 PM
Unknown Object (File)
Sep 6 2024, 6:22 PM
Unknown Object (File)
Sep 6 2024, 5:09 PM
Subscribers

Details

Summary

The entire stack worked fine because of D10327, adding this to make sure the crypto thread is always present.

Created ENG-6419 to discuss alternatives.

Depends on D10526

Test Plan

Make sure app does not crash with recent changes

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

kamil held this revision as a draft.
kamil published this revision for review.Jan 10 2024, 7:33 AM
kamil edited the summary of this revision. (Show Details)

I think this approach is inefficient. Here is my suggestion: https://linear.app/comm/issue/ENG-6419/initialize-crypto-account-on-native#comment-07e9238a

Can we, for now, follow the existing convention to unblock my stack, discuss the best solution, and implement it in ENG-6419?

Accepting since this diff works and it will unblock @kamil but it would be nice if someone implemented the right approach in February as a small project since it doesn't seem to be too much of a hassle.

This revision is now accepted and ready to land.Jan 11 2024, 4:22 AM