Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update README.md #11

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 15 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,23 @@ This repository stores and tests the snapshot settings for CoW DAO.

## How to update the space settings

Upfront note: Only CoW DAO can update snapshot settings - hence, any changes have to go through CIP/voting.

1. Update the json file in `src/settings.json` and upload it to IPFS
1. (A nice addition is to release the newest settings with the CIP-Number for easy tracking)
2. Uploading to IPFS can be done via Pinata (download this final json linked above and upload to pinata service)
3. Once they are pinned, it's nice to do a check on the difference from the current settings to the to-be-updated settings
- New one from the previous step
- Current ones available [here](https://app.ens.domains/cow.eth)
- Use a json diff comparison to easily verify the changes (e.g., [JSON Diff](https://jsondiff.com/))
c3rnst marked this conversation as resolved.
Show resolved Hide resolved

2. Update the ENS `snapshot` text record to point to the new file (for testing this could be done on any space like cowtesting.eth, for production, this needs to happen through a governance proposal on cow.eth)
3. Once the above transaction is successful, update the below link with your ENS domain and paste it in the browser to update the space settings: https://hub.snapshot.org/api/spaces/YOUR_ENS_DOMAIN/poke
4. Done
- How to do that for CoW's snapshot space?
1. Impersonate the CoW DAO Safe and use the ENS Safe App to create a new link
2. Create a transaction to be included into the CIP (add via "raw Transaction" from the transaction builder from Safe)

3. Once the above transaction is successful, update the link below with your ENS domain and paste it in the browser to update the space settings:
https://hub.snapshot.org/api/spaces/YOUR_ENS_DOMAIN/poke

> Relevant [docs](https://docs.snapshot.org/user-guides/spaces/create/alternative-way-to-create-a-space) on Snapshot

Expand Down
Loading