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

governance: all vps should allow governance changes #3339

Merged
merged 5 commits into from
Jun 6, 2024

Conversation

Fraccaman
Copy link
Member

@Fraccaman Fraccaman commented May 31, 2024

Describe your changes

Superseeds #3328 and #3322.
Governance is now able to modify all VP's sub-storage keys without going though vp validation.

Indicate on which release or other PRs this topic is based on

Checklist before merging to draft

  • I have added a changelog
  • Git history is in acceptable state

@Fraccaman Fraccaman mentioned this pull request May 31, 2024
Copy link

codecov bot commented May 31, 2024

Codecov Report

Attention: Patch coverage is 40.74074% with 32 lines in your changes missing coverage. Please review.

Project coverage is 54.04%. Comparing base (883bd0f) to head (a140a80).

Files Patch % Lines
crates/namada/src/ledger/pgf/mod.rs 0.00% 12 Missing ⚠️
crates/node/src/shell/governance.rs 0.00% 11 Missing ⚠️
crates/trans_token/src/storage_key.rs 0.00% 5 Missing ⚠️
crates/namada/src/ledger/governance/mod.rs 80.00% 1 Missing ⚠️
crates/namada/src/ledger/native_vp/ibc/mod.rs 91.66% 1 Missing ⚠️
crates/namada/src/ledger/native_vp/masp.rs 0.00% 1 Missing ⚠️
crates/namada/src/ledger/native_vp/multitoken.rs 87.50% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3339      +/-   ##
==========================================
- Coverage   54.05%   54.04%   -0.02%     
==========================================
  Files         315      315              
  Lines      106296   106347      +51     
==========================================
+ Hits        57461    57475      +14     
- Misses      48835    48872      +37     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Fraccaman Fraccaman requested a review from tzemanovic May 31, 2024 10:51
@Fraccaman Fraccaman force-pushed the fraccaman/multitoken-allow-governance-changes branch from 4460e5b to a140a80 Compare May 31, 2024 11:29
@Fraccaman Fraccaman marked this pull request as ready for review May 31, 2024 13:31
_ => {
tracing::warn!("not sure what happen");
Copy link
Member

Choose a reason for hiding this comment

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

Let's log this as an error - it's when the tx result is missing for the commitment hash

Fraccaman added a commit that referenced this pull request Jun 3, 2024
* up/fraccaman/multitoken-allow-governance-changes:
  improve integration tests
  governance can modify all vps substorage
  fix pgf vp, let governance upgrade pgf storage
  allow governance to change multitoken storage
  allow governance to change ibc storage
brentstone added a commit that referenced this pull request Jun 5, 2024
* origin/fraccaman/multitoken-allow-governance-changes:
  improve integration tests
  governance can modify all vps substorage
  fix pgf vp, let governance upgrade pgf storage
  allow governance to change multitoken storage
  allow governance to change ibc storage
@brentstone brentstone merged commit 3226cfe into main Jun 6, 2024
15 of 19 checks passed
@brentstone brentstone deleted the fraccaman/multitoken-allow-governance-changes branch June 6, 2024 07:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants