-
Notifications
You must be signed in to change notification settings - Fork 746
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
sc-executor-polkavm: Migrate into PolkaVM 0.18.0 #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]>
This reverts commit 44e1dab.
I get:
How fix this? Change was:
|
I guess it's produced during the |
Signed-off-by: Jarkko Sakkinen <[email protected]>
Yeah should be good enough for the moment. Otherwise this becomes two-crate problem and that weights worse for the time being... |
Signed-off-by: Jarkko Sakkinen <[email protected]>
OK great. After expanding to 32 kB stack does not overrun. I have now node running. |
Running and not doing much useful work, right? I bet if you put it under some load, it'll start overflowing again. I'd use some conservative stack limit like 2 Mb. Given that we currently use a 256 Mb stack limit for Wasm PVFs, that doesn't sound like too much. Curious to hear @koute's opinion on that. And definitely needs a burn-in before going any closer to production ;) |
Signed-off-by: Jarkko Sakkinen <[email protected]>
Increased to 2 MiB |
It's not the only thing that needs to be possibly tuned after this PR. Node starting is good enough DoD. |
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]>
…c.yml" This reverts commit 82ab893.
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
Signed-off-by: Jarkko Sakkinen <[email protected]>
This reverts commit 14374d0.
bd2c35f
Bump
polkavm
to 0.18.0, and updatesc-polkavm-executor
to be compatible with the API changes. In addition, bump alsopolkavm-derive
andpolkavm-linker
in order to make sure that the all parts of the Polkadot SDK use the exact same ABI for.polkavm
binaries.Purely relying on RV32E/RV64E ABI is not possible, as PolkaVM uses a RISCV-V alike ISA, which is derived from RV32E/RV64E but it is still its own microarchitecture, i.e. not fully binary compatible.