Page MenuHomePhabricator

[identity][proto] addWallet RPC
Needs RevisionPublic

Authored by varun on Tue, Jun 25, 2:11 PM.
Tags
None
Referenced Files
F2170309: D12575.id.diff
Tue, Jul 2, 1:45 PM
F2169234: D12575.diff
Tue, Jul 2, 10:46 AM
F2162865: D12575.diff
Mon, Jul 1, 5:46 PM
Unknown Object (File)
Sun, Jun 30, 6:17 PM
Unknown Object (File)
Sun, Jun 30, 11:38 AM
Unknown Object (File)
Sat, Jun 29, 3:34 PM
Unknown Object (File)
Sat, Jun 29, 3:28 PM
Unknown Object (File)
Sat, Jun 29, 12:21 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.Tue, Jun 25, 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.Mon, Jul 1, 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.Mon, Jul 1, 11:31 AM