Open
Description
Summary
On an effort to remove x/auth
( ref: #20058 ), we need to find a way to handle module accounts as it was mangaged by auth
module and modules need to import auth keeper
to be able to fetch module account. As i see that we have idea of moving the permission to be handle by the module that is needed so module accounts dont have to house their own permission list, i propose we would treated module accounts as a list of addresses and this list can be passed to the needing modules. This would remove dependency on auth
from other modules.
Proposed
- Remove old module account stored in auth
- Module imports a module_name -> address map