cosmos-sdk: Convert Tendermint Block Response
Summary of Bug
these endpoints should return the proposer_address in bech32 format according to the swagger docs. this would be ideal for client developers.
block/{height}
block/latest
{
"block_meta": {
"proposer_address": "cosmos1depk54cuajgkzea6zpgkq36tnjwdzv4afc3d27"
For Admin Use
- Not duplicate issue
- Appropriate labels applied
- Appropriate contributors tagged
- Contributor assigned/self-assigned
About this issue
- Original URL
- State: closed
- Created 5 years ago
- Comments: 22 (22 by maintainers)
Commits related to this issue
- refactor: change tmblock to sdkblock (#11390) ## Description Closes: #3544 --- ### Author Checklist *All items are required. Please add a note to the item if the item is not applicable and plea... — committed to cosmos/cosmos-sdk by atheeshp 2 years ago
- refactor: change tmblock to sdkblock (#11390) ## Description Closes: #3544 --- ### Author Checklist *All items are required. Please add a note to the item if the item is not applicable and please... — committed to cosmos/cosmos-sdk by atheeshp 2 years ago
- refactor: change tmblock to sdkblock (backport #11390) (#12549) * refactor: change tmblock to sdkblock (#11390) ## Description Closes: #3544 --- ### Author Checklist *All items are req... — committed to cosmos/cosmos-sdk by mergify[bot] 2 years ago
Let’s convert it to a new structure. The REST API should provide a better experience then just forwarding Tendermint messages imo.
Guys if you want I can start working on this issue as I think it might be useful. Could you please point me in the right direction to do so? How should I intercept the response?
@alexanderbez @faboweb
Thanks @jbibla!