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

fix: initial deposit for v1 props #444

Merged
merged 5 commits into from
Mar 7, 2024
Merged

Conversation

fragwuerdig
Copy link
Collaborator

Summary of changes

This fixes a gap in the min initial deposit check in the ante handler. While the current ante handler checks v1beta1.MsgSubmitProposal proposals correctly it just ignored v1.MsgSubmitProposal to date.

  • add the fix
  • add tests to check v1 proposals as well

custom/auth/ante/min_initial_deposit.go Outdated Show resolved Hide resolved
custom/auth/ante/min_initial_deposit.go Outdated Show resolved Hide resolved
custom/auth/ante/min_initial_deposit_test.go Outdated Show resolved Hide resolved
custom/auth/ante/min_initial_deposit_test.go Outdated Show resolved Hide resolved
fragwuerdig and others added 2 commits March 7, 2024 09:04
Co-authored-by: StrathCole <7449529+StrathCole@users.noreply.github.com>
@fragwuerdig fragwuerdig merged commit ec9105c into main Mar 7, 2024
22 checks passed
@fragwuerdig fragwuerdig deleted the frag/fix-initial-deposit branch March 7, 2024 08:58
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