-
Notifications
You must be signed in to change notification settings - Fork 19
Update Testnet and Dev Schemas from Mainnet
Wil Wade edited this page Oct 10, 2024
·
2 revisions
To maintain alignment with Mainnet, when a new schema is deployed on Mainnet, Testnet data and Dev Genesis are set to have those exact same schemas.
- In the Frequency codebase:
cd tools/state-copy
npm i
- Edit
schemas.mjs
- Use the Testnet
DEST_URL
:const DEST_URL = "wss://0.rpc.testnet.amplica.io";
- Update the
const SUDO_URI = "//Alice";
to be the SUDO key for Testnet
npm run schemas
- Remove the changes
make genesis-schemas
- Check that only
resources/genesis-schemas.json
changed - PR to merge to main
- Release