The validation service throws
xmtp_id::associations::verified_signature: Smart contract wallet signature is invalid None
Seen by testnet partners and us.
The None here is really weird:
if response.is_valid {
// set the block the signature was validated on
*block_number = response.block_number;
Ok(Self::new(
MemberIdentifier::eth(account_id.get_account_address())?,
SignatureKind::Erc1271,
signature_bytes.to_vec(),
Some(account_id.get_chain_id_u64()?),
))
} else {
tracing::error!(
"Smart contract wallet signature is invalid {:?}",
response.error
);
Err(SignatureError::Invalid)
}