A new code bounty hunter is @LaurentTrk from Github.
Hunter: LaurentTrk
Bounty: 100 PHA tip
Add support for ed25519 and Ecdsa signatures
As discussed in the Phala Dev discord, only sr25519 signatures are supported for signing the certificate.
This PR adds support for ed25519 and Ecdsa signatures, by deducing signature type from the account type:
- Add
account
andsignature_type
optional parameters forsignCertificate
- Deduce
address
andsignature_type
from the account if given- Default signature type is Sr25519WrapBytes (default for Polkdaot JS extension)
signature_type
parameter has precedence over deduced type