Page MenuHomePhabricator

[identity][proto] addWallet RPC
Needs RevisionPublic

Authored by varun on Jun 25 2024, 2:11 PM.
Tags
None
Referenced Files
F3149217: D12575.diff
Mon, Nov 4, 1:39 PM
Unknown Object (File)
Sun, Oct 20, 8:00 PM
Unknown Object (File)
Wed, Oct 9, 6:24 AM
Unknown Object (File)
Sep 25 2024, 9:48 PM
Unknown Object (File)
Sep 25 2024, 9:48 PM
Unknown Object (File)
Sep 25 2024, 9:48 PM
Unknown Object (File)
Aug 26 2024, 3:22 PM
Unknown Object (File)
Aug 26 2024, 3:20 PM
Subscribers

Details

Reviewers
bartek
ashoat
Summary

https://linear.app/comm/issue/ENG-8306/addwalletstart-rpc

this diff introduces two things:

  1. new RPC
  2. new traits to avoid code duplication
Test Plan

wallet login works. if nonce is expired, i get back the correct tonic status message

Diff Detail

Repository
rCOMM Comm
Branch
master
Lint
No Lint Coverage
Unit
No Test Coverage

Event Timeline

varun requested review of this revision.Jun 25 2024, 2:28 PM

Rust LGTM, nice idea with these traits!

services/identity/src/grpc_services/shared.rs
69
70
services/identity/src/nonce.rs
46

Just curious, what requires Sync?

ashoat requested changes to this revision.Jul 1 2024, 11:31 AM

Passing back with a question: I assume your plan is to land this before the rest of the work. Is that actually safe? Are we okay to launch this publicly accessible endpoint for adding a wallet when the rest of the work is not yet in a landable state?

This revision now requires changes to proceed.Jul 1 2024, 11:31 AM