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

Runtime_update using compact version does not work #10120

Closed
Yithis opened this issue Oct 29, 2021 · 2 comments
Closed

Runtime_update using compact version does not work #10120

Yithis opened this issue Oct 29, 2021 · 2 comments
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.

Comments

@Yithis
Copy link
Contributor

Yithis commented Oct 29, 2021

I tried to perform a runtime update following this tutorial from branch "polkadot-v0.9.9" to "polkadot-v0.9.12", but due to changes between branches it is not simply possible. Every attempt ends up with a chain crash with the following error:
Screenshot from 2021-10-29 14-41-30
It is connected to changes introduced here 9391, where the function secp256k1_ecdsa_recover_compressed got a newer version.

I managed to overcome this problem by using "node_runtime.wasm" instead of "node_runtime.compact.wasm". Should I understand it is a bug or the tutorial is inaccurate? Why does "wasm-gc" remove this function as unused?

@github-actions github-actions bot added the J2-unconfirmed Issue might be valid, but it’s not yet known. label Oct 29, 2021
@bkchr
Copy link
Member

bkchr commented Oct 29, 2021

If there are host functions being added, you can not upgrade without updating the client before.

@bkchr bkchr closed this as completed Oct 29, 2021
@Yithis
Copy link
Contributor Author

Yithis commented Nov 5, 2021

How to check if there were any changes in host functions? Is there any documentations about current list of all host functions?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
J2-unconfirmed Issue might be valid, but it’s not yet known.
Projects
None yet
Development

No branches or pull requests

2 participants