Closed dadamu closed 1 year ago
Patch coverage: 36.36
% and project coverage change: -0.07
:warning:
Comparison is base (
6827291
) 80.84% compared to head (2ee63c0
) 80.78%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
@dadamu I honestly don't understand the rational behind this reason. Why shouldn't we allow subspace administrators to grant other administratos the option to pay for transaction fees when they perform these kind of messages? I think reducing the number of messages supported by SubspaceFeeGrant
only reduces the number of use cases we support, without any actualy benefit. Could you expand on why we want to do that and what pros we might get from this?
@RiccardoM This idea comes from that subspace AllowedFeeTokens
target messages should exclude the subspace management messages. Honestly, I just think the AllowedFeeTokens
situation might be the same as subspace feegrant
and authz
, making them focus on the social messages, excluding management messages. With this PR, we can reuse SocialMsg
inside the AllowedFeeTokens
feature.
@RiccardoM This idea comes from that subspace
AllowedFeeTokens
target messages should exclude the subspace management messages. Honestly, I just think theAllowedFeeTokens
situation might be the same as subspacefeegrant
andauthz
, with this PR, we can reuseSocialMsg
inside theAllowedFeeTokens
feature.
Still, I don't understand what advantages this change will have:
SocialMsg
interface on each message) Unless there's a very good reason why this should be implemented, I'm against this change as I see more cons than pros. Even if there were good reasons, since this is is an important (breaking) change, it should be first discussed into an ADR to keep track of this.
@RiccardoM I see, after rethinking about the PR, target messages to subspace AllowedFeeTokens
should be different from subspaces feegrant
and authz
. There is no advantage with this change. As a result, the PR should be close.
Description
Closes: #XXXX This PR exclude subspace management messages from subspace feegrant since subspace feegrant should only target to the social related messages.
The changes includes:
SubspaceMsg
intoSocialMsg
IsSocialMsg
function to represent if the message is a social message.The social messages are:
Author Checklist
All items are required. Please add a note to the item if the item is not applicable and please add links to any relevant follow up issues.
I have...
!
to the type prefix if API or client breaking changeCHANGELOG.md
Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add your handle next to the items reviewed if you only reviewed selected items.
I have...
!
in the type prefix if API or client breaking change