Bug description
The grants-by-grantee endpoint of the authz module on Terra is returning an incomplete list of authz grants for a given grantee:
https://terra-rest.publicnode.com/cosmos/authz/v1beta1/grants/grantee/terra1305e92ng6a9pdh3ttc3ld459ckxupxt33gqrc8
This becomes obvious when comparing the above response with a response of a designated granter-grantee pair:
https://terra-rest.publicnode.com/cosmos/authz/v1beta1/grants?granter=terra17gcjmzpz2sfjj9waa6f2e8pr7s70v3hchac2hu&grantee=terra1305e92ng6a9pdh3ttc3ld459ckxupxt33gqrc8
Note that the grant for granter terra17gcjmzpz2sfjj9waa6f2e8pr7s70v3hchac2hu is missing from the grants-by-grantee response for the given grantee terra1305e92ng6a9pdh3ttc3ld459ckxupxt33gqrc8
Unfortunately this breaks restake functionality for some users.
Expected behavior
The grants-by-grantee endpoint should return the complete list of authz grants for the given grantee
Bug description
The
grants-by-granteeendpoint of theauthzmodule on Terra is returning an incomplete list of authz grants for a given grantee:https://terra-rest.publicnode.com/cosmos/authz/v1beta1/grants/grantee/terra1305e92ng6a9pdh3ttc3ld459ckxupxt33gqrc8
This becomes obvious when comparing the above response with a response of a designated granter-grantee pair:
https://terra-rest.publicnode.com/cosmos/authz/v1beta1/grants?granter=terra17gcjmzpz2sfjj9waa6f2e8pr7s70v3hchac2hu&grantee=terra1305e92ng6a9pdh3ttc3ld459ckxupxt33gqrc8
Note that the grant for granter
terra17gcjmzpz2sfjj9waa6f2e8pr7s70v3hchac2huis missing from thegrants-by-granteeresponse for the given granteeterra1305e92ng6a9pdh3ttc3ld459ckxupxt33gqrc8Unfortunately this breaks restake functionality for some users.
Expected behavior
The
grants-by-granteeendpoint should return the complete list of authz grants for the given grantee