-
Notifications
You must be signed in to change notification settings - Fork 408
Allow simulating unsigned transactions #4279
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
Comments
Is that really what we said? I think we said we just want to expect a valid signature, nope? |
I thought we said that the Signature should have the correct |
Good news. It's already the case that the GnoVM only verifies the transaction signature if not simulating. To estimate gas, the transaction only needs the public key, not the signature bytes. No need to get permission unlock the private key and sign. We did a PR to take advantage of this in Gno Native Kit (used by Gnokey Mobile). If this makes sense, I think we can close this issue as resolved. |
@jefft0 This is not really the UX we want, or expect. The ideal flow is, when simulating:
|
Description
We have a UX challenge currently in which a user must sign a transaction using a key with funds in order to estimate gas for the transaction.
The proposed solution from today's Contributor call was to modify gnokey logic as follows:
The text was updated successfully, but these errors were encountered: