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
The current x/authz design has modules x/bank and x/staking implementing authz.Authorization, which contains a reference the authz.AcceptResponse. This means that modules implementing Authorizationmust depend on x/authz which is already a bit of an anti-pattern.
CmdGrantAuthorization in x/authz depends on x/bank and /x/staking, forming the cyclic module relationship.
Possible Solutions
Push AcceptResponse down into sdk/types, and change Updated field type to proto.Message. Refactor usages.
ADR-33 style plugin system (details forthcoming)
The text was updated successfully, but these errors were encountered:
Problem
The current x/authz design has modules x/bank and x/staking implementing authz.Authorization, which contains a reference the
authz.AcceptResponse
. This means that modules implementingAuthorization
must depend on x/authz which is already a bit of an anti-pattern.CmdGrantAuthorization in x/authz depends on x/bank and /x/staking, forming the cyclic module relationship.
Possible Solutions
AcceptResponse
down into sdk/types, and changeUpdated
field type toproto.Message
. Refactor usages.The text was updated successfully, but these errors were encountered: