diff --git a/move/axelar_gateway/sources/types/proof.move b/move/axelar_gateway/sources/types/proof.move index bc51da8f..d541a4c2 100644 --- a/move/axelar_gateway/sources/types/proof.move +++ b/move/axelar_gateway/sources/types/proof.move @@ -27,7 +27,6 @@ module axelar_gateway::proof { // ------ /// Invalid length of the bytes const EInvalidLength: u64 = 0; - const EInvalidRecoveryId: u64 = 1; // ---------------- // Public Functions @@ -48,10 +47,6 @@ module axelar_gateway::proof { public(package) fun new_signature(bytes: vector): Signature { assert!(bytes.length() == SIGNATURE_LENGTH, EInvalidLength); - // Check if recovery id matches EVM spec - let recovery_id = bytes[64]; - assert!(recovery_id == 27 || recovery_id == 28, EInvalidRecoveryId); - Signature { bytes: bytes, }