You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But when I upload a ink! contract using the chain extension, it throws error:
CodeRejected
The contract's code was found to be invalid during validation.The most likely cause of this is that an API was used which is not supported by thenode. This happens if an older node is used with a new version of ink!. Try updatingyour node to the newest available version.A more detailed error can be found on the node console if debug messages are enabledby supplying `-lruntime::contracts=debug`.
Module uses chain extensions but chain extensions are disabled
Was fixed upstream by paritytech/substrate#14642. It was backported to the polkadot-v1.0.0 branch. If you are compiling from source you can just cargo update.
Error:
Reproduce
runtime/src/lib.rs
runtime/src/extension.rs
But when I upload a ink! contract using the chain extension, it throws error:
Also:
Output:
Version:
The text was updated successfully, but these errors were encountered: