- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Sep 13 2024
Rebase
Fix flow
Rebase before landing
Apply suggestion
Rebase, make type readonly
Rename type
Replace ternaries to make conditions more readable
Rename user_id to userID
Sep 11 2024
I'm letting others review as well.
Generally feels alright and solves the original issue. Left one comment that's concerning to me
Sep 10 2024
Sep 9 2024
Rebase
Rebase
Rebase on feedback: Merge RPCs into one
- Merged RPCs into one
- Made the RPC accept userID
Besides that one thing, device removal logic looks good
In D13221#373423, @ashoat wrote:Discussed my above feedback with @bartek today in our 1:1. We identified several potential paths forward for unifying these two RPCs:
- Take userID as input here instead of username
- The backup service could return the userID in the initial RPC
- Alternately, if that is too complicated for some reason, the client could get the userID via FindUserID, but this would require an additional RPC
- Take oneof identifier as input here, to match FindUserIDRequest
- This is probably slightly worse as it might require us to change / update this RPC later as part of ENG-8414
Based on this discussion it looks like the backup service doesn't query for the userID at all currently, and instead just uses the username. We'll need to update that as part of this work, so it's probably a good time to consider option 1a.
Sep 5 2024
In D13228#373308, @ashoat wrote:This is meant to be called by other services, right? After ENG-9129 is resolved, it should only be possible to access from other services?
In D13221#373282, @ashoat wrote:Overall I don't think the dichotomy between password and Ethereum users makes sense here, given the protocol is substantially similar, and given that we're trying to get rid of this distinction going forward.
Maybe we could have a single RPC that has an optional input of a social proof? If the account is using an Ethereum wallet as their display name, then the RPC will fail without a new social proof. What do you think?