provenance-io / explorer-frontend

The frontend side of the blockchain Explorer app.
Apache License 2.0
5 stars 6 forks source link

Bug: the vote transaction executed by grantee is not displayed in the proposal vote #485

Open heejin-github opened 1 year ago

heejin-github commented 1 year ago

Summary of Bug

If grantee vote on proposal represent granter, explorer cannot display it on proposal votes.

  1. DSRV Validator grant vote authorization to grantee address.

  2. execute vote transaction for proposal 46 from grantee

  3. check vote status in explorer. but, cannot found DSRV Validator(granter) vote status

  4. check vote status from on-chain. voted well.

    $ provenanced q gov vote 46 pb1s9f4e20xtqrk9tdfhhpavrf26cqjr4eyyxgzpj --node https://rpc.provenance.io:443
    metadata: ""
    options:
    - option: VOTE_OPTION_YES
    weight: "1.000000000000000000"
    proposal_id: "46"
    voter: pb1s9f4e20xtqrk9tdfhhpavrf26cqjr4eyyxgzpj

Version

v3.5.0

Steps to Reproduce

  1. granter grant the vote authorization for /cosmos.gov.v1.MsgVote type of Msg to grantee.
    $ provenanced tx authz grant <GRANTEE> generic --msg-type=/cosmos.gov.v1.MsgVote --from <GRANTER> --chain-id pio-mainnet-1
  2. grantee execute vote transaction represent granter.
    provenanced tx authz exec <VOTE DATA JSON> --from <GRANTEE> --gas auto --gas-prices 1905nhash --chain-id pio-mainnet-1
  3. find proposal vote status in governance proposal details.

For Admin Use

heejin-github commented 1 year ago

This issue was fixed. authz vote tx displayed well in proposal dashboard.