Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

ValidateUnsigned vs SignedExtension #6102

Open
xlc opened this issue May 21, 2020 · 0 comments
Open

ValidateUnsigned vs SignedExtension #6102

xlc opened this issue May 21, 2020 · 0 comments
Labels
Z7-question Issue is a question. Closer should answer.

Comments

@xlc
Copy link
Contributor

xlc commented May 21, 2020

I have implemented validate_unsigned in SignedExtension but it still does not accept unsigned transaction.

https://github.com/open-web3-stack/open-runtime-module-library/blob/6292542bf340997c97976e574684b0d39f19ee9a/oracle/src/lib.rs#L300

Seems like I have to implement ValidateUnsigned to get it working but I don't think it should be required.

Or ValidateUnsigned is the preferred way to implement validation logic for unsigned transaction and we shouldn't use SignedExtension for that?

@xlc xlc added the Z7-question Issue is a question. Closer should answer. label Jun 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Z7-question Issue is a question. Closer should answer.
Projects
None yet
Development

No branches or pull requests

1 participant