LayerZero-v2
LayerZero-v2 copied to clipboard
Suggestion: Add 2 methods for admin transfer in solana contracts
Right now there is only one method for transferring admin where the signing capability of the new admin is not verified. Though it doesnt pose a security risk in terms of funds, transferring admin capability to an address of which you dont have the signing capability can be risky.
So the solution for this would be having 2 methods with one setting an admin proposal and the other method where the new admin signs it. This makes sure that you always have the signing capability of the new admin.
The other solution could be where you have a method with 2 signers which wouldnt require the storing the new admin proposal and also make sure that you have the signing capability.