-
Notifications
You must be signed in to change notification settings - Fork 21
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
feat: allow proposal creation only on premium networks #1120
base: master
Are you sure you want to change the base?
feat: allow proposal creation only on premium networks #1120
Conversation
1bf3090
to
435f21b
Compare
> | ||
<div> | ||
You cannot create proposals. | ||
<br /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We dont need a new line here
<br /> | ||
The space is configured with | ||
<b>{{ unsupportedProposalNetworks[0].name }}</b> | ||
, a non-premium network. Change to a premium network or upgrade |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There shouldn't be a space between the network name and the ","
export const PROPOSALS_NETWORK_WHITELIST: ChainId[] = [ | ||
1, //Ethereum | ||
42161, // Arbitrum | ||
137 // Polygon | ||
]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe we should add a param premium
or subscribed
on networks.json instead of a separate list?
Summary
Closes: https://github.com/snapshot-labs/workflow/issues/389
This PR blocks the proposal creation on offchain spaces using non-premium networks
The message error should superseed all other messages (like voting validation, etc ...)
How to test
TODO