Skip to content

Governance API: The Proposal JSON response does not include who submitted the proposal #3027

Closed
@jmdfm

Description

@jmdfm

Summary of Bug

The API response for calling proposal does not include who submitted the proposal. That would be useful information to know.

Steps to Reproduce

  1. Create proposal.
  2. Call API:
cosmos-sdk HEAD % curl -k https://0.0.0.0:1317/gov/proposals/4
{
  "type": "gov/TextProposal",
  "value": {
    "proposal_id": "4",
    "title": "Stupid Test Proposal",
    "description": "This is a description of my proposal to move to the Yukon and disappear.",
    "proposal_type": "Text",
    "proposal_status": "VotingPeriod",
    "tally_result": {
      "yes": "0.0000000000",
      "abstain": "0.0000000000",
      "no": "0.0000000000",
      "no_with_veto": "0.0000000000"
    },
    "submit_time": "2018-12-06T02:53:14.9623162Z",
    "deposit_end_time": "2018-12-08T02:53:14.9623162Z",
    "total_deposit": [
      {
        "denom": "STAKE",
        "amount": "10"
      },
      {
        "denom": "node0Token",
        "amount": "500"
      }
    ],
    "voting_start_time": "2018-12-06T02:53:14.9623162Z",
    "voting_end_time": "2018-12-08T02:53:14.9623162Z"
  }
}%

For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned

Activity

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions