Page MenuHomePhabricator

[landing] Reduce code duplication in landing/siwe.react.js
ClosedPublic

Authored by ashoat on Oct 9 2023, 10:09 AM.
Tags
None
Referenced Files
F3330487: D9432.id31819.diff
Wed, Nov 20, 6:57 PM
F3329208: D9432.id31860.diff
Wed, Nov 20, 4:39 PM
F3329207: D9432.id31819.diff
Wed, Nov 20, 4:39 PM
F3329084: D9432.id.diff
Wed, Nov 20, 4:37 PM
F3328891: D9432.diff
Wed, Nov 20, 4:18 PM
Unknown Object (File)
Wed, Nov 13, 9:54 PM
Unknown Object (File)
Wed, Nov 13, 9:49 PM
Unknown Object (File)
Tue, Nov 12, 8:13 PM
Subscribers

Details

Summary

This code is completely duplicated from lib/utils/wagmi-utils.js.

Test Plan
  1. In my local environment, make sure that mobile SIWE still works with Rainbow wallet (mobile SIWE uses landing, but web SIWE doesn't)
  2. In combination with other diffs in the stack, I tested the following on both my local environment, and in a staging environment for my keyserver on comm.domains:
    • Mobile sign in with Rainbow wallet using Rainbow login
    • Mobile sign in with Rainbow wallet using WalletConnect login
    • Web sign in with Rainbow wallet using Rainbow login
    • Web sign in with Rainbow wallet using WalletConnect login
    • Web sign in with Metamask wallet

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable