You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Move generate_only and simulate from query params to baseReq in POST endpoints
Proposal and Problem Definition
Currently they are set as query parameters, it'd be much simpler to move them within the baseReq with default value false. Then we won't need to parse them or have functions like HasGenerateOnlyArg and HasDryRunArg.
* Move generate_only and simulate to POST body in REST txs
Closes: #3056
* Run make format
* drop extra else block, outdent its block, and make linter happy
* Update PENDING.md
* Update LCD swagger docs
Summary
Move
generate_only
andsimulate
from query params to baseReq in POST endpointsProposal and Problem Definition
Currently they are set as query parameters, it'd be much simpler to move them within the baseReq with default value
false
. Then we won't need to parse them or have functions likeHasGenerateOnlyArg
andHasDryRunArg
.cc: @jackzampolin @alexanderbez @alessio
For Admin Use
The text was updated successfully, but these errors were encountered: