In the stellar-xdr the values to be passed for auth are:
struct SorobanAddressCredentials
{
SCAddress address;
int64 nonce;
uint32 signatureExpirationLedger;
SCVal signature;
};
But it seems we still specify the custom account interface as:
pub trait CustomAccountInterface {
type Signature;
type Error: Into<Error>;
fn __check_auth(
env: Env,
signature_payload: BytesN<32>,
signatures: Vec<Self::Signature>,
auth_contexts: Vec<Context>
) -> Result<(), Self::Error>;
}
Ref: https://docs.rs/soroban-sdk/20.0.0-rc2/soroban_sdk/auth/trait.CustomAccountInterface.html
The signatures is a Vec<Self::Signature> but should probably be Self::Signature.
Wdyt @lusty fjord ?