Page MenuHomePhabricator

[lib] Update genesis constant id to new schema
ClosedPublic

Authored by michal on Jul 17 2023, 3:32 AM.
Tags
None
Referenced Files
F3500014: D8519.id28777.diff
Fri, Dec 20, 12:43 AM
F3500013: D8519.id28731.diff
Fri, Dec 20, 12:43 AM
F3499984: D8519.id.diff
Fri, Dec 20, 12:42 AM
F3499918: D8519.diff
Fri, Dec 20, 12:38 AM
Unknown Object (File)
Thu, Dec 19, 1:04 AM
Unknown Object (File)
Wed, Dec 18, 10:32 PM
Unknown Object (File)
Sat, Dec 14, 7:11 AM
Unknown Object (File)
Fri, Dec 13, 3:17 AM
Subscribers

Details

Summary

ENG-4394

After the id schema migration, the genesis.id constant needs to be different on clients, but remain the same on the keyserver. This diff adds a new env var to check if the code is running in the keyserver and if not, changes the genesis id.

Test Plan

console.log on web, keyserver dev and keyserver prod, and check if they are correct

Diff Detail

Repository
rCOMM Comm
Lint
No Lint Coverage
Unit
No Test Coverage