Governance txs don't follow tags standard
While most of the transactions from a delegator can be queried using the delegator=<address> tag. Governance txs don't follow this standard and thus clients have to additionally query each single tx independently. For eg:
For all txs from a delegator but governance:
GET /txs?delegator=<address>
For gov txs:
GET /txs?action=submit_proposal&proposer=<address>
GET /txs?action=deposit&depositor=<address>
GET /txs?action=vote&voter=<address>
I don't quite follow the proposal @fedekunze. Where is the bug here?
removed label as it's technically not a bug _per se_
We should one tag that can be queried to return the list of transactions involving an address. Maybe this is something we could add as a flag to gaiacli q account
Or have a --from flag on gaiacli q txs
Like this call
I'm not sure if we should have --from as that may be confusing. Why not just query txs with sender=foo?
We already have that tag, but it’s not standard across all the modules
Also I’d like to get not only the ones I send but also the ones I receive, so maybe address=foo could be a better approach
@faboweb said we should use sender on all transactions, it can be either a validator or delegator address. I like that idea
There should be an easy way to query all txns involving one address.