Currently the bdjuno doesn't cover the proposal status change from the deposit to voting. If a user creates a proposal with a minimum deposit the proposal has the status deposit. Later if a user adds more deposit to activate voting, the bdjuno doesn't change the proposals's state, and it remains deposit, however, the correct state is voting. The PR contains changes to update the state of the proposal if the block tx events contain proper events.
[x] updated the relevant documentation or specification
[x] reviewed "Files changed" and left comments if necessary
[x] confirmed all CI checks have passed
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...
[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
Description
Currently the bdjuno doesn't cover the proposal status change from the deposit to voting. If a user creates a proposal with a minimum deposit the proposal has the status
deposit
. Later if a user adds more deposit to activate voting, the bdjuno doesn't change the proposals's state, and it remainsdeposit
, however, the correct state is voting. The PR contains changes to update the state of the proposal if the block tx events contain proper events.Cosmos SDK ref: https://github.com/cosmos/cosmos-sdk/blob/release/v0.47.x/x/gov/keeper/msg_server.go#L182
Resolves: #680
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change