Skip to content

Conversation

@giunatale
Copy link
Collaborator

This PR fixes an inconsistency in the update logic of UpdateParams for the min deposit and min initial deposit where if the floor value is set to be higher than the current value, this is not reflected in the updated amounts.

@giunatale
Copy link
Collaborator Author

I added another bit of code that only sets the lastMinDeposit and lastMinInitialDeposit if the params update make the new deposit amounts differ from the previous value

julienrbrt added a commit to atomone-hub/cosmos-sdk that referenced this pull request Nov 21, 2025
julienrbrt added a commit to atomone-hub/cosmos-sdk that referenced this pull request Dec 1, 2025
* feat(x/gov): add fork protos

* chore: coredao proto changes

* add all logic changes except in msg server and endblocker

* build

* wire quorum

* params + build

* go mod tidy all

* updates

* go mod tidy

* refactor: add empty checks for genesis field and fix min deposit
validation

* test: resolve tests

* fix: bump tiems voting period extended, and quorum check queue

* chore: remove deprecated rpc

* test: resolve more tests

* add changelog + re-add command in autocli, use correct min deposit in
test

* fix: re-setup cancel proposal params

* test: resolve todo on min deposit tests

* revert

* cherry-pick atomone-hub/atomone#243

* chore: temp comment x/gov new commands

* test: fix simulation randomVotingOption helper

* feedback (1/n)

* chore: fill in tally deprecated tally params

* refactor: allow legacy query with 0 params key, fix genesis test

* fix: re-add `skipMinDepositRatioCheck` (feedback 3/n)

* re-add some manual cli to not update cosmossdk.io/api

* test: remove no with veto option from e2e

* test: fix more tests and linting

* test: fix typo

* test: no min deposit

* test: fix sims

* refactor: improve collection handling and add migrations

* chore: align v1beta1 params

* test: fix tally tests

* fix: typo

* test: total vote option e2e = 1

* test: e2e

* fix: wire `NewCmdGenerateConstitutionAmendment`
@giunatale
Copy link
Collaborator Author

NOTE: this PR won't be merged due to the migration to the x/gov module of the AtomOne SDK fork.

Waiting on #248 to be merged to close this since it should be included between atomone-hub/cosmos-sdk#17 and #248.

@julienrbrt
Copy link
Collaborator

This already got cherry-picked in atomone-hub/cosmos-sdk#17 :)

atomone-hub/cosmos-sdk@62acf4e

@giunatale giunatale closed this Dec 11, 2025
@giunatale giunatale deleted the giunatale/fix/dynamic-deposit-update-param branch December 11, 2025 12:24
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.

4 participants