Skip to content
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

Validation for unsinged Tx doesn't work. #132

Closed
wangjj9219 opened this issue Feb 28, 2020 · 0 comments · Fixed by #133
Closed

Validation for unsinged Tx doesn't work. #132

wangjj9219 opened this issue Feb 28, 2020 · 0 comments · Fixed by #133
Assignees

Comments

@wangjj9219
Copy link
Member

wangjj9219 commented Feb 28, 2020

I did some tests, I dont know why the SignedExtension doesn't work to validate unsigned tx,
In fact, the offchain worker successfully submit the unsigned tx, no errors are thrown during the submission process. But tx pool report errors:

WARN txpool  (offchain call) Error submitting a transaction to the pool: Pool(UnknownTransaction(UnknownTransaction::NoUnsignedValidator))

Then I switch deprecated ValidateUnsigned just like im-online module in polkadot, It works.

There is no example that use SignedExtension to validate unsigned tx submitted by offchain worker in srml at the moment , I will switch to ValidateUnsigned first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant