-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make ECDSA signature verification host call customizable #2016
Comments
This is a bit complicated, because smoldot simply calls Since the
|
Does it make sense for you if, when you're trying to mock an ECDSA signature, smoldot asks you to provide the associated public key? |
@xlc I don't think there's a need to change anything on smoldot. Chopsticks mock signature is creating signature with 64 bytes while ecdsa is 65. I think that might be the issue. Checking now |
my bad, seems like |
yeah that’s fine. we can modify the mock signature format to include a public key |
paritytech/smoldot#2955 covers many host calls but not
ext_crypto_secp256k1_ecdsa_recover_version_2
, which is used by Moonbeam for their Ethereum signature verification. This means Chopsticks won't be able to mock their signature.cc @albertov19 AcalaNetwork/chopsticks#845
The text was updated successfully, but these errors were encountered: