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

cmd/network/governance: Parameter change proposal support #162

Merged
merged 1 commit into from
Nov 27, 2023

Conversation

ptrus
Copy link
Member

@ptrus ptrus commented Nov 24, 2023

Adds support for submitting a parameter change proposal (requires oasisprotocol/oasis-core#5472 for pretty printing transaction body to work)

$ cat desc.json
{
        "upgrade_cancel_min_epoch_diff": 15
}

$ oasis network governance create-proposal parameter-change governance ./desc.json
You are about to sign the following transaction:
Method: governance.SubmitProposal
Body:
  Change Parameters:
    Module: governance
    Changes:
      - Parameter: upgrade_cancel_min_epoch_diff
        Value: 15
Nonce:  61
Fee:
  Amount: 0.0 TEST
  Gas limit: 1321
  (gas price: 0.0 TEST per gas unit)

@ptrus ptrus force-pushed the ptrus/feature/governance-parameter-change branch 3 times, most recently from 1bda699 to b41efb2 Compare November 27, 2023 14:02
@ptrus ptrus requested a review from kostko November 27, 2023 14:02
@ptrus ptrus force-pushed the ptrus/feature/governance-parameter-change branch 4 times, most recently from f38c84e to 456d98d Compare November 27, 2023 14:30
@ptrus ptrus force-pushed the ptrus/feature/governance-parameter-change branch from 456d98d to 3eae47d Compare November 27, 2023 14:34
@ptrus ptrus merged commit accd618 into master Nov 27, 2023
3 checks passed
@ptrus ptrus deleted the ptrus/feature/governance-parameter-change branch November 27, 2023 16:14
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