Currently, signers can be rotated to a new set via AxelarAmplifierGateway.sol#L96-L107.
But when rotating the signers internally, ECDSA is used to verify the signatures here.
However, the problem is that some users would not be able to access this functionality as valid signatures from them wouldnt work since they cant work with EIP 712.
According to EIP1271: Standard Signature Validation Method for Contracts:
So while recovering a valid message signed by these set of users , the return value will be the bytes4(0) for any vote signed by a contract (e.g., Multisig) because contracts that sign messages sticking to the EIP1271 standard use the EIP1271_MAGIC_VALUE as the successful return for a properly recovered signature. A sample of this is shown within the EIP1271 and also within CompatibilityFallbackHandler by GnosisSafe.
As a result of this scenario, these set of signers would not be able to be integrated since the attempt always fails here.
Some intended signers using notable wallet providers would not be addable.
Consider adding contract signature support by implementing a recovery via the suggested isValidSignature()function of the EIP1271 and comparing the recovered value against the MAGIC_VALUE.
