Skip to content

Conversation

@vladjdk
Copy link
Member

@vladjdk vladjdk commented Nov 27, 2025

Makes distribution keeper optional. Requires that the distribution keeper is non-nil if the module's address is used as a cancellation fee destination.

Requires #25615 to be merged first.

@codecov
Copy link

codecov bot commented Nov 27, 2025

Codecov Report

❌ Patch coverage is 85.71429% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 70.30%. Comparing base (ca3241e) to head (7a7ee70).

Files with missing lines Patch % Lines
x/gov/keeper/genesis.go 80.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main   #25616      +/-   ##
==========================================
- Coverage   70.30%   70.30%   -0.01%     
==========================================
  Files         821      821              
  Lines       53768    53771       +3     
==========================================
+ Hits        37803    37805       +2     
- Misses      15965    15966       +1     
Files with missing lines Coverage Δ
x/gov/module.go 51.04% <100.00%> (ø)
x/gov/keeper/genesis.go 70.93% <80.00%> (ø)

Impacted file tree graph

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aljo242 aljo242 changed the base branch from main to vlad/decouple-gov-staking November 27, 2025 19:18
Copy link
Contributor

@aljo242 aljo242 left a comment

Choose a reason for hiding this comment

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

Feels like we need to test an e2e app with no distribution in our system tests or large e2e setups

Base automatically changed from vlad/decouple-gov-staking to main November 27, 2025 20:03
@vladjdk vladjdk force-pushed the vlad/decouple-gov-distr branch 2 times, most recently from 2dfde55 to bfa4c80 Compare November 27, 2025 20:43
@vladjdk vladjdk force-pushed the vlad/decouple-gov-distr branch from bfa4c80 to 1976044 Compare November 27, 2025 20:45
v1 "github.com/cosmos/cosmos-sdk/x/gov/types/v1"
)

func (suite *KeeperTestSuite) TestImportExportQueues_ErrorUnconsistentState() {
Copy link
Contributor

Choose a reason for hiding this comment

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

Follow up item should be to test this function more thoroughly

Copy link
Member Author

Choose a reason for hiding this comment

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

Copy link
Contributor

@aljo242 aljo242 left a comment

Choose a reason for hiding this comment

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

@vladjdk need a changelog for this

@vladjdk
Copy link
Member Author

vladjdk commented Nov 27, 2025

@vladjdk need a changelog for this

@aljo242 added: 7a7ee70

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants