-
Notifications
You must be signed in to change notification settings - Fork 302
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
refactor: move governance code to penumbra-governance
#3067
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
redshiftzero
had a problem deploying
to
smoke-test
September 20, 2023 21:39 — with
GitHub Actions
Failure
redshiftzero
force-pushed
the
app-governance
branch
from
September 21, 2023 16:55
97f1c4f
to
ad44e0e
Compare
redshiftzero
had a problem deploying
to
smoke-test
September 21, 2023 16:55 — with
GitHub Actions
Failure
redshiftzero
had a problem deploying
to
smoke-test
September 21, 2023 17:00 — with
GitHub Actions
Failure
redshiftzero
had a problem deploying
to
smoke-test
September 21, 2023 17:52 — with
GitHub Actions
Failure
redshiftzero
force-pushed
the
app-governance
branch
from
September 21, 2023 19:03
e3c35b1
to
a802cb3
Compare
redshiftzero
temporarily deployed
to
smoke-test
September 21, 2023 19:03 — with
GitHub Actions
Inactive
This avoids a circular dependency between `penumbra-governance` and `penumbra-transaction`
The reason for this is that previously the `put_dao_transaction` and `pending_dao_transactions` methods were defined in the `StateReadExt` and `StateWriteExt` traits in `penumbra-governance`. However, they require `Transaction` from `penumbra-transaction` which would result in a circular dependency. Instead, we make a tiny extension trait in the app crate with these two functions.
redshiftzero
force-pushed
the
app-governance
branch
from
September 21, 2023 21:01
a802cb3
to
b09eb92
Compare
redshiftzero
had a problem deploying
to
smoke-test
September 21, 2023 21:02 — with
GitHub Actions
Error
redshiftzero
force-pushed
the
app-governance
branch
from
September 21, 2023 21:02
b09eb92
to
6a8634e
Compare
redshiftzero
temporarily deployed
to
smoke-test
September 21, 2023 21:03 — with
GitHub Actions
Inactive
redshiftzero
changed the title
wip: move governance code to
refactor: move governance code to Sep 21, 2023
penumbra-governance
penumbra-governance
Merging in order to allow proto refactoring. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #2950
This addresses the remaining governance items in #2288
Note that there is one non-refactoring change here which is in this commit, which includes
UndelegateClaim
in the list of actions that have proofs and thus should not be possible in aDaoSpend
proposal due to DoS risk. Since claiming undelgate outputs is not possible,Delegate
andUndelegate
actions are also now disallowed.