-
Notifications
You must be signed in to change notification settings - Fork 248
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
RUNTIME_APIS
is empty when expanded with wasm path
#1858
Comments
/cc @pkhry any idea? |
Let me take a quick look |
The reason for this is that the WASM loader thing calls |
* use "metadata_at_version" closes #1858
@ShoyuVanilla if you get the chance, would you be able to try again with the |
Actually, I've tried with pkhry's PR branch already and it worked nicely 😄 Thanks for your great work! |
#1720 introduced a way to generate metadata from runtime wasm files, but when I try generate it like;
The resulting code expanded with
cargo-expand
shows aswhile expanding macros in previous ways like
the
RUNTIME_APIS
is filled likeI've tried with wasm files from https://github.com/polkadot-fellows/runtimes/releases/ and https://github.com/paritytech/subxt/blob/master/artifacts/westend_runtime.wasm but all of them are expanded into empty
RUNTIME_APIS
The text was updated successfully, but these errors were encountered: