HomePhabricator
Diffusion Comm 211813b00496

[lib] Update genesis constant id to new schema

Description

[lib] Update genesis constant id to new schema

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

Reviewers: kamil, tomek

Reviewed By: tomek

Subscribers: ashoat

Differential Revision: https://phab.comm.dev/D8519

Details

Provenance
Michal Gniadek <michal.gniadek@swmansion.com>Authored on Jul 14 2023, 3:18 AM
Reviewer
tomek
Differential Revision
D8519: [lib] Update genesis constant id to new schema
Parents
rCOMM45e92a1f5e84: [keyserver] Mark tID in searchMessagesResponder
Branches
Unknown
Tags
Unknown

Event Timeline