From d8f01be2118e1007c5eb56073c19927dd57be896 Mon Sep 17 00:00:00 2001 From: Matthew Slipper Date: Tue, 21 Aug 2018 20:44:13 -0700 Subject: [PATCH] Merge PR #2061: Change proposalID to proposal-id in gov REST Close #1963. --- PENDING.md | 1 + x/gov/client/rest/rest.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/PENDING.md b/PENDING.md index cb80119a95..c4b04238cd 100644 --- a/PENDING.md +++ b/PENDING.md @@ -8,6 +8,7 @@ BREAKING CHANGES * Gaia CLI (`gaiacli`) * [x/stake] Validator.Owner renamed to Validator.Operator * [cli] unsafe_reset_all, show_validator, and show_node_id have been renamed to unsafe-reset-all, show-validator, and show-node-id + * [cli] \#2061 changed proposalID in governance REST endpoints to proposal-id * [cli] \#2014 `gaiacli advanced` no longer exists - to access `ibc`, `rest-server`, and `validator-set` commands use `gaiacli ibc`, `gaiacli rest-server`, and `gaiacli tendermint`, respectively * Gaia diff --git a/x/gov/client/rest/rest.go b/x/gov/client/rest/rest.go index a410c7791e..22283a652e 100644 --- a/x/gov/client/rest/rest.go +++ b/x/gov/client/rest/rest.go @@ -17,7 +17,7 @@ import ( // REST Variable names // nolint const ( - RestProposalID = "proposalID" + RestProposalID = "proposal-id" RestDepositer = "depositer" RestVoter = "voter" RestProposalStatus = "status"