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

Wallet: finalize kp #18991

Merged
merged 20 commits into from
Mar 1, 2024
Merged

Wallet: finalize kp #18991

merged 20 commits into from
Mar 1, 2024

Conversation

OmarBasem
Copy link
Contributor

@OmarBasem OmarBasem commented Feb 26, 2024

fixes: #18813

This PR implements the following:

  • Finalizing the keypair creation
  • Creating a new wallet account for the newly created keypair
  • Removes mock data from keypairs list screen and replaces with real data

Designs

Selecting an already created keypair to create a new wallet account will be implemented in another issue #18993

Demo:

Screen_Recording_20240226_132554_Status.mp4

@OmarBasem OmarBasem self-assigned this Feb 26, 2024
@OmarBasem OmarBasem changed the title Wallet: finalize kp [WIP] Wallet: finalize kp Feb 26, 2024
@status-im-auto
Copy link
Member

status-im-auto commented Feb 26, 2024

Jenkins Builds

Click to see older builds (54)
Commit #️⃣ Finished (UTC) Duration Platform Result
68235be #1 2024-02-26 05:08:15 ~1 min tests 📄log
✔️ 68235be #1 2024-02-26 05:13:20 ~7 min android-e2e 🤖apk 📲
✔️ 68235be #1 2024-02-26 05:13:28 ~7 min android 🤖apk 📲
✔️ 68235be #1 2024-02-26 05:15:20 ~9 min ios 📱ipa 📲
e6e4a29 #2 2024-02-26 08:15:49 ~1 min tests 📄log
✔️ e6e4a29 #2 2024-02-26 08:21:00 ~6 min android-e2e 🤖apk 📲
✔️ e6e4a29 #2 2024-02-26 08:21:20 ~7 min android 🤖apk 📲
✔️ e6e4a29 #2 2024-02-26 08:22:32 ~8 min ios 📱ipa 📲
3b40d67 #3 2024-02-26 09:27:13 ~1 min tests 📄log
✔️ 3b40d67 #3 2024-02-26 09:33:30 ~8 min android 🤖apk 📲
✔️ 3b40d67 #3 2024-02-26 09:33:46 ~8 min ios 📱ipa 📲
✔️ 3b40d67 #3 2024-02-26 09:33:52 ~8 min android-e2e 🤖apk 📲
014d665 #4 2024-02-26 09:37:47 ~1 min tests 📄log
a3160b0 #5 2024-02-26 09:41:41 ~1 min tests 📄log
✔️ a3160b0 #5 2024-02-26 09:46:30 ~6 min android 🤖apk 📲
✔️ a3160b0 #5 2024-02-26 09:46:57 ~7 min android-e2e 🤖apk 📲
✔️ a3160b0 #5 2024-02-26 09:48:25 ~8 min ios 📱ipa 📲
750d8ba #7 2024-02-27 13:55:31 ~14 min tests 📄log
✔️ 750d8ba #7 2024-02-27 13:56:32 ~15 min android-e2e 🤖apk 📲
✔️ 750d8ba #7 2024-02-27 13:58:58 ~17 min android 🤖apk 📲
✔️ 750d8ba #7 2024-02-27 15:08:54 ~1 hr 27 min ios 📱ipa 📲
9cc1863 #8 2024-02-28 11:16:29 ~1 min tests 📄log
✔️ 9cc1863 #8 2024-02-28 11:21:57 ~7 min android-e2e 🤖apk 📲
✔️ 9cc1863 #8 2024-02-28 11:23:05 ~8 min android 🤖apk 📲
✔️ 9cc1863 #8 2024-02-28 11:23:57 ~9 min ios 📱ipa 📲
afa6b3b #9 2024-02-29 03:54:09 ~1 min tests 📄log
1a4761d #10 2024-02-29 03:58:59 ~1 min tests 📄log
✔️ 1a4761d #10 2024-02-29 04:03:47 ~6 min android 🤖apk 📲
✔️ 1a4761d #10 2024-02-29 04:04:05 ~6 min android-e2e 🤖apk 📲
✔️ 1a4761d #10 2024-02-29 04:08:44 ~11 min ios 📱ipa 📲
576d73b #11 2024-02-29 06:27:17 ~1 min tests 📄log
✔️ 576d73b #11 2024-02-29 06:32:13 ~6 min android-e2e 🤖apk 📲
✔️ 576d73b #11 2024-02-29 06:32:14 ~6 min android 🤖apk 📲
✔️ 576d73b #11 2024-02-29 06:35:29 ~9 min ios 📱ipa 📲
13f331a #12 2024-02-29 06:41:10 ~1 min tests 📄log
✔️ 13f331a #12 2024-02-29 06:46:46 ~7 min android-e2e 🤖apk 📲
✔️ 13f331a #12 2024-02-29 06:46:50 ~7 min android 🤖apk 📲
✔️ 13f331a #12 2024-02-29 06:49:04 ~9 min ios 📱ipa 📲
a2ebdf2 #13 2024-02-29 06:55:04 ~1 min tests 📄log
✔️ a2ebdf2 #13 2024-02-29 07:00:00 ~6 min android-e2e 🤖apk 📲
✔️ a2ebdf2 #13 2024-02-29 07:00:00 ~6 min android 🤖apk 📲
✔️ a2ebdf2 #13 2024-02-29 07:03:24 ~10 min ios 📱ipa 📲
8dcb35b #14 2024-02-29 08:15:51 ~1 min tests 📄log
✔️ 8dcb35b #14 2024-02-29 08:20:53 ~6 min android 🤖apk 📲
✔️ 8dcb35b #14 2024-02-29 08:21:03 ~6 min android-e2e 🤖apk 📲
✔️ 8dcb35b #14 2024-02-29 08:26:08 ~11 min ios 📱ipa 📲
3a4840d #15 2024-02-29 08:42:05 ~2 min tests 📄log
✔️ 3a4840d #15 2024-02-29 08:46:29 ~6 min android-e2e 🤖apk 📲
✔️ 3a4840d #15 2024-02-29 08:47:20 ~7 min android 🤖apk 📲
✔️ 3a4840d #15 2024-02-29 08:53:20 ~13 min ios 📱ipa 📲
ff0b283 #16 2024-02-29 08:58:32 ~1 min tests 📄log
✔️ ff0b283 #16 2024-02-29 09:04:10 ~7 min android-e2e 🤖apk 📲
✔️ ff0b283 #16 2024-02-29 09:04:14 ~7 min android 🤖apk 📲
✔️ ff0b283 #16 2024-02-29 09:09:31 ~12 min ios 📱ipa 📲
Commit #️⃣ Finished (UTC) Duration Platform Result
2665786 #18 2024-02-29 13:04:12 ~6 min tests 📄log
✔️ 2665786 #18 2024-02-29 13:05:31 ~7 min android-e2e 🤖apk 📲
✔️ 2665786 #18 2024-02-29 13:06:09 ~8 min android 🤖apk 📲
✔️ 2665786 #18 2024-02-29 13:09:12 ~11 min ios 📱ipa 📲
✔️ 8fc025b #19 2024-03-01 03:45:39 ~7 min android-e2e 🤖apk 📲
✔️ 8fc025b #19 2024-03-01 03:45:48 ~7 min android 🤖apk 📲
✔️ 8fc025b #19 2024-03-01 03:48:17 ~10 min ios 📱ipa 📲
✔️ 8fc025b #20 2024-03-01 04:04:56 ~6 min tests 📄log

@OmarBasem OmarBasem changed the title [WIP] Wallet: finalize kp Wallet: finalize kp Feb 26, 2024
@OmarBasem OmarBasem marked this pull request as ready for review February 26, 2024 09:35
Comment on lines +43 to +45
:networks [{:network-name :ethereum :short-name "eth"}
{:network-name :optimism :short-name "opt"}
{:network-name :arbitrum :short-name "arb1"}]
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This is temporary. The account networks are not included in the keypair data returned from status-go, so need to read the account networks in another way. Will be address in that issue: #18993

@J-Son89
Copy link
Contributor

J-Son89 commented Feb 26, 2024

in the video attached there is "Schema Errors" - is it possible to fix these or create issues for them?

Copy link
Member

@smohamedjavid smohamedjavid left a comment

Choose a reason for hiding this comment

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

Nice work @OmarBasem 🚀 . Left some comments.

@OmarBasem
Copy link
Contributor Author

OmarBasem commented Feb 27, 2024

in the video attached there is "Schema Errors" - is it possible to fix these or create issues for them?

I will try to find the cause and open an issue

Opened an issue: #19026

@OmarBasem
Copy link
Contributor Author

@J-Son89 @smohamedjavid I think all comments are addressed. Can you rereview please

@status-im-auto
Copy link
Member

96% of end-end tests have passed

Total executed tests: 48
Failed tests: 1
Expected to fail tests: 1
Passed tests: 46
IDs of failed tests: 702782 
IDs of expected to fail tests: 703503 

Failed tests (1)

Click to expand
  • Rerun failed tests

  • Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_emoji_send_reply_and_open_link, id: 702782

    Device 2: Find `OpenInStatusButton` by `xpath`: `//*[@text="Open in Status"]`
    Device 2: Tap on found: OpenInStatusButton

    critical/chats/test_1_1_public_chats.py:178: in test_1_1_chat_emoji_send_reply_and_open_link
        self.errors.verify_no_errors()
    base_test_case.py:191: in verify_no_errors
        pytest.fail('\n '.join([self.errors.pop(0) for _ in range(len(self.errors))]))
     Reply for 'Test with link: https://status.im/ here should be nothing unusual.' not present in message received in public chat
    



    Device sessions

    Expected to fail tests (1)

    Click to expand

    Class TestCommunityOneDeviceMerged:

    1. test_community_discovery, id: 703503

    Test is not run, e2e blocker  
    

    [[reason: [NOTRUN] Curated communities not loading, https://github.com//issues/17852]]

    Passed tests (46)

    Click to expand

    Class TestOneToOneChatMultipleSharedDevicesNewUiTwo:

    1. test_1_1_chat_delete_via_long_press_relogin, id: 702784
    Device sessions

    2. test_1_1_chat_is_shown_message_sent_delivered_from_offline, id: 702783
    Device sessions

    3. test_1_1_chat_mute_chat, id: 703496
    Device sessions

    Class TestActivityMultipleDevicePR:

    1. test_navigation_jump_to, id: 702936
    Device sessions

    2. test_activity_center_reply_read_unread_delete_filter_swipe, id: 702947
    Device sessions

    Class TestActivityCenterContactRequestMultipleDevicePR:

    1. test_add_contact_field_validation, id: 702777
    Device sessions

    2. test_activity_center_contact_request_accept_swipe_mark_all_as_read, id: 702851
    Device sessions

    3. test_activity_center_contact_request_decline, id: 702850
    Device sessions

    Class TestCommunityMultipleDeviceMergedTwo:

    1. test_community_markdown_support, id: 702809
    Device sessions

    2. test_community_hashtag_links_to_community_channels, id: 702948
    Device sessions

    3. test_community_mentions_push_notification, id: 702786
    Device sessions

    4. test_community_leave, id: 702845
    Device sessions

    5. test_community_join_when_node_owner_offline, id: 703629
    Device sessions

    Class TestActivityMultipleDevicePRTwo:

    1. test_activity_center_mentions, id: 702957
    Device sessions

    2. test_activity_center_admin_notification_accept_swipe, id: 702958
    Device sessions

    Class TestDeepLinksOneDevice:

    1. test_links_open_universal_links_from_chat, id: 704613
    Device sessions

    2. test_links_deep_links, id: 702775
    Device sessions

    Class TestOneToOneChatMultipleSharedDevicesNewUi:

    1. test_1_1_chat_text_message_delete_push_disappear, id: 702733
    Device sessions

    2. test_1_1_chat_push_emoji, id: 702813
    Device sessions

    3. test_1_1_chat_non_latin_messages_stack_update_profile_photo, id: 702745
    Device sessions

    4. test_1_1_chat_edit_message, id: 702855
    Device sessions

    5. test_1_1_chat_send_image_save_and_share, id: 703391
    Device sessions

    6. test_1_1_chat_pin_messages, id: 702731
    Device sessions

    7. test_1_1_chat_message_reaction, id: 702730
    Device sessions

    Class TestGroupChatMultipleDeviceMergedNewUI:

    1. test_group_chat_pin_messages, id: 702732
    Device sessions

    2. test_group_chat_mute_chat, id: 703495
    Device sessions

    3. test_group_chat_send_image_save_and_share, id: 703297
    Device sessions

    4. test_group_chat_reactions, id: 703202
    Device sessions

    5. test_group_chat_join_send_text_messages_push, id: 702807
    Device sessions

    6. test_group_chat_offline_pn, id: 702808
    Device sessions

    Class TestCommunityMultipleDeviceMerged:

    1. test_community_several_images_send_reply, id: 703194
    Device sessions

    2. test_community_one_image_send_reply, id: 702859
    Device sessions

    3. test_community_emoji_send_copy_paste_reply, id: 702840
    Device sessions

    4. test_community_mark_all_messages_as_read, id: 703086
    Device sessions

    5. test_community_contact_block_unblock_offline, id: 702894
    Device sessions

    6. test_community_edit_delete_message_when_offline, id: 704615
    Device sessions

    7. test_community_message_delete, id: 702839
    Device sessions

    8. test_community_message_send_check_timestamps_sender_username, id: 702838
    Device sessions

    9. test_community_links_with_previews_github_youtube_twitter_gif_send_enable, id: 702844
    Device sessions

    10. test_community_message_edit, id: 702843
    Device sessions

    11. test_community_unread_messages_badge, id: 702841
    Device sessions

    Class TestCommunityOneDeviceMerged:

    1. test_restore_multiaccount_with_waku_backup_remove_switch, id: 703133
    Device sessions

    2. test_community_copy_and_paste_message_in_chat_input, id: 702742
    Device sessions

    3. test_community_undo_delete_message, id: 702869
    Device sessions

    4. test_community_navigate_to_channel_when_relaunch, id: 702846
    Device sessions

    5. test_community_mute_community_and_channel, id: 703382
    Device sessions

    @OmarBasem OmarBasem force-pushed the wallet/finalize-kp branch from 2665786 to 8fc025b Compare March 1, 2024 03:37
    @OmarBasem OmarBasem merged commit abd2b43 into develop Mar 1, 2024
    6 checks passed
    @OmarBasem OmarBasem deleted the wallet/finalize-kp branch March 1, 2024 04:09
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    Archived in project
    Archived in project
    Development

    Successfully merging this pull request may close these issues.

    Wallet: Generate Keypair - finalize
    4 participants