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 governance script #263

Merged
merged 3 commits into from
Nov 13, 2023
Merged

Update governance script #263

merged 3 commits into from
Nov 13, 2023

Conversation

guibescos
Copy link
Contributor

@guibescos guibescos commented Nov 12, 2023

Just updating the create governance script for the current deployment

Copy link

vercel bot commented Nov 12, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
staking ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2023 2:13pm
staking-devnet ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 13, 2023 2:13pm


async function main() {
const tx = new Transaction();

let governanceConfig = new GovernanceConfig({
communityVoteThreshold: new VoteThreshold({
type: VoteThresholdType.YesVotePercentage,
value: 50,
}), // 50% of the locked supply
value: 10, // 10%
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this seems wrong?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe change this back if you changed it for devnet to prevent accidents

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's ok to start it with 10% and adjust it later

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants