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

Westend transaction validation failure #873

Closed
tomaka opened this issue Jul 9, 2023 · 1 comment · Fixed by #879
Closed

Westend transaction validation failure #873

tomaka opened this issue Jul 9, 2023 · 1 comment · Fixed by #879

Comments

@tomaka
Copy link
Contributor

tomaka commented Jul 9, 2023

[10:01:34.101] [tx-service-westend2] Failed to validate transaction 0x06f3…f83d: One or more entries are missing from the call proof

@tomaka
Copy link
Contributor Author

tomaka commented Jul 10, 2023

The problem seems to be that the trie root calculation requires values that aren't in the proof.
We perform a trie root calculation because the validation modifies the storage, and not because it's requested by the runtime.
Not performing the calculation fixes the issue.

tomaka added a commit to tomaka/smoldot that referenced this issue Jul 10, 2023
This was referenced Jul 10, 2023
github-merge-queue bot pushed a commit that referenced this issue Jul 10, 2023
* Add a failing test for #873

* Add `runtime_host::Config::calculate_trie_changes`

* CHANGELOG

* PR link

* Docfix
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