-
Notifications
You must be signed in to change notification settings - Fork 710
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
Bump PolkaVM version #6533
base: master
Are you sure you want to change the base?
Bump PolkaVM version #6533
Conversation
cbe0284
to
f8ddde9
Compare
3e5bb53
to
626ada2
Compare
80a60ee
to
39c80c9
Compare
Signed-off-by: Jarkko Sakkinen <[email protected]>
39c80c9
to
f91a828
Compare
Signed-off-by: Jarkko Sakkinen <[email protected]>
BTW, please help me to interpret the CI errors... |
substrate/client/executor/common/src/runtime_blob/runtime_blob.rs
Outdated
Show resolved
Hide resolved
Signed-off-by: Jarkko Sakkinen <[email protected]>
…tats() Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
I'm sure I missed something but did my best ;-) |
Signed-off-by: Jarkko Sakkinen <[email protected]>
2x oldlinux tests failing |
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
substrate/client/executor/common/src/runtime_blob/runtime_blob.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Alexander Theißen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
…stats() Signed-off-by: Jarkko Sakkinen <[email protected]>
let Some(method_index) = self.0.module().lookup_export(name) else { | ||
return ( | ||
Err(format!("cannot call into the runtime: export not found: '{name}'").into()), | ||
None, | ||
); | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Still missing this piece of code.
([edit]Alex told you to get rid of the snippet with find
, but that's actually the preferable way of doing this, so please restore it.[/edit])
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK so then probably something else must be used than call_typed
. Can you give advice on that?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Other issues resolved except this as I'm not sure how to sort this out. Should prepare_call_untyped()
be used?
Fixes based on Jan's review comment except method_index back because we don't know how to do it and what would be the use for it. Issue comments related to this are linked below. Link: paritytech#6533 (comment) Link: paritytech#6533 (comment) Reported-by: Jan Bujak <[email protected]> Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
@athei ready for re-review |
Signed-off-by: Jarkko Sakkinen <[email protected]>
The goal is to bump the PolkaVM version for https://github.com/paritytech/polkadot-sdk/tree/master/substrate/client/executor/polkavm, and thus get rid of Parity's toolchain. NOTE: This pull request is still draft, i.e. being updated and not ready for review (yet).
CallArgs
WIP
StateArgs
Solved with:
Unsorted
SUBSTRATE_RUNTIME_TARGET=riscv SUBSTRATE_ENABLE_POLKAVM=1 RUST_LOG=polkavm=debug cargo check -p sc-executor-polkavm