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
Unknown Object (File)
Sat, Dec 14, 7:11 AM
Unknown Object (File)
Fri, Dec 13, 3:17 AM
Unknown Object (File)
Fri, Dec 6, 9:44 AM
Unknown Object (File)
Nov 13 2024, 4:41 AM
Unknown Object (File)
Nov 10 2024, 12:33 PM
Unknown Object (File)
Nov 9 2024, 4:19 AM
Unknown Object (File)
Nov 8 2024, 8:03 AM
Unknown Object (File)
Nov 8 2024, 8:03 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
Lint Not Applicable
Unit
Tests Not Applicable