Move owner validation from individual functions to the execute entry point on the vault factory
Closed this issue · 0 comments
kerber0x commented
Every message on the vault factory can only be triggered by the owner. As of now we have the owner validation inside of each function triggered by the different ExecuteMsg
s. We could move that validation before the match
in the execute
entry point to optimize the code and don't repeat ourselves.