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(requestToJoin): add addressesToShare to requestToJoin call #11224

Merged
merged 1 commit into from
Jun 29, 2023

Conversation

jrainville
Copy link
Member

@jrainville jrainville commented Jun 22, 2023

Fixes #11154

Adds the Nim code and status-go code to enable passing the user's wanted addresses, instead of using all addresses.

Status-go PR status-im/status-go#3656

The new view function is

requestToJoinCommunityWithAuthenticationWithSharedAddresses*
  (self: View, ensName: string, addressesToShare: string) {.slot.}

When addressesToShare is a stringified array of string addresses.

@jrainville jrainville requested review from a team, iurimatias, richard-ramos, 0x-r4bbit and osmaczko and removed request for a team June 22, 2023 18:14
@status-im-auto
Copy link
Member

status-im-auto commented Jun 22, 2023

Jenkins Builds

Click to see older builds (20)
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ 814d809 #1 2023-06-22 18:19:51 ~4 min tests/imports 📄log
✔️ 814d809 #1 2023-06-22 18:20:38 ~5 min tests/nim 📄log
✔️ 814d809 #1 2023-06-22 18:24:10 ~9 min macos/aarch64 🍎dmg
814d809 #1 2023-06-22 18:26:31 ~11 min linux/x86_64 📄log
✔️ 814d809 #1 2023-06-22 18:27:44 ~12 min macos/x86_64 🍎dmg
✔️ 814d809 #1 2023-06-22 18:46:46 ~31 min windows/x86_64 💿exe
✔️ 25aa3ab #2 2023-06-22 19:04:26 ~4 min macos/aarch64 🍎dmg
✔️ 25aa3ab #2 2023-06-22 19:05:39 ~5 min tests/imports 📄log
✔️ 25aa3ab #2 2023-06-22 19:05:46 ~5 min tests/nim 📄log
✔️ 25aa3ab #2 2023-06-22 19:07:56 ~7 min macos/x86_64 🍎dmg
25aa3ab #2 2023-06-22 19:09:50 ~9 min linux/x86_64 📄log
✔️ 25aa3ab #2 2023-06-22 19:23:20 ~23 min windows/x86_64 💿exe
✖️ 25aa3ab #2 2023-06-22 19:24:21 ~24 min tests/e2e 📄log
✔️ 49684a6 #3 2023-06-26 15:00:56 ~4 min tests/imports 📄log
✔️ 49684a6 #3 2023-06-26 15:01:15 ~5 min macos/aarch64 🍎dmg
✔️ 49684a6 #3 2023-06-26 15:02:05 ~5 min tests/nim 📄log
✔️ 49684a6 #3 2023-06-26 15:04:08 ~8 min macos/x86_64 🍎dmg
✔️ 49684a6 #3 2023-06-26 15:09:57 ~13 min linux/x86_64 📦tgz
✔️ 49684a6 #3 2023-06-26 15:23:20 ~27 min windows/x86_64 💿exe
✔️ 49684a6 #3 2023-06-26 15:36:46 ~40 min tests/e2e 📄log
Commit #️⃣ Finished (UTC) Duration Platform Result
✔️ f580fc2 #4 2023-06-27 14:17:26 ~4 min tests/imports 📄log
✔️ f580fc2 #4 2023-06-27 14:18:52 ~6 min tests/nim 📄log
✔️ f580fc2 #4 2023-06-27 14:21:22 ~8 min macos/aarch64 🍎dmg
✔️ f580fc2 #4 2023-06-27 14:23:17 ~10 min macos/x86_64 🍎dmg
✔️ f580fc2 #4 2023-06-27 14:30:33 ~18 min linux/x86_64 📦tgz
✔️ f580fc2 #4 2023-06-27 14:38:04 ~25 min tests/e2e 📄log
✔️ f580fc2 #4 2023-06-27 14:39:52 ~27 min windows/x86_64 💿exe
✔️ c5ed241 #5 2023-06-28 18:39:52 ~4 min macos/aarch64 🍎dmg
✔️ c5ed241 #5 2023-06-28 18:40:01 ~5 min tests/imports 📄log
✔️ c5ed241 #5 2023-06-28 18:40:43 ~5 min tests/nim 📄log
✔️ c5ed241 #5 2023-06-28 18:43:34 ~8 min macos/x86_64 🍎dmg
✔️ c5ed241 #5 2023-06-28 19:02:32 ~27 min windows/x86_64 💿exe
✔️ c5ed241 #5 2023-06-28 19:11:42 ~36 min tests/e2e 📄log

@@ -192,7 +194,7 @@ proc init*(self: Controller) =
let args = SharedKeycarModuleArgs(e)
if args.uniqueIdentifier != UNIQUE_MAIN_MODULE_AUTH_IDENTIFIER:
return
if self.tmpRequestToJoinCommunityId == self.sectionId:
if self.tmpAuthenticationForJoinInProgress == true:
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
if self.tmpAuthenticationForJoinInProgress == true:
if self.tmpAuthenticationForJoinInProgress:

@jrainville jrainville force-pushed the feat/select-shared-address branch 2 times, most recently from 49684a6 to f580fc2 Compare June 27, 2023 14:12
@jrainville
Copy link
Member Author

@osmaczko reminder to review please :)

@jrainville jrainville force-pushed the feat/select-shared-address branch from f580fc2 to c5ed241 Compare June 28, 2023 18:34
@jrainville
Copy link
Member Author

@osmaczko 🙏 🙏 🙏 🙏 🙏

Copy link
Contributor

@osmaczko osmaczko left a comment

Choose a reason for hiding this comment

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

Sorry for delay, I have my inbox full of reviews and missed it completely.

@jrainville jrainville merged commit e35945b into master Jun 29, 2023
@jrainville jrainville deleted the feat/select-shared-address branch June 29, 2023 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants