New answers tagged runtime
0
votes
How to parse a raw signature from PolkadotJS in Substrate runtime
This is how we verify the signature in runtime.
Darwinia uses this to migrate the old accounts to new EVM chain.
https://github.com/darwinia-network/darwinia/blob/...
1
vote
Accepted
Invalid JSON blob: unknown field `allianceMotion`
The expected strings are listing out the pallets included in your runtime.
It seems that allianceMotion is not a pallet included in the runtime inside your node, and thus rejects this field when ...
1
vote
Alternative to BlakeTwo256 for WASM Compatibility in a no_std Environment in Rust
sp-runtime-interface compiled without std will force to be compiled in a 32bits environment, but you want to compile to wasm which is 32bits AFAIK.
So you can compile to std for testing with:
cargo ...
0
votes
Alternative to BlakeTwo256 for WASM Compatibility in a no_std Environment in Rust
Try another version of sp_runtime: https://paritytech.github.io/polkadot-sdk/master/src/sp_runtime/traits.rs.html#1028
Latest version no longer requires std for BlakeTwo256
Top 50 recent answers are included
Related Tags
runtime × 258pallet × 63
substrate-node-template × 23
wasm × 22
storage × 19
polkadot × 17
runtime-upgrade × 17
parachain × 13
benchmark × 10
rust × 9
extrinsic × 8
weight × 8
migration × 7
no-std × 7
runtime-api × 7
substrate-node × 6
ink × 6
offchain-worker × 6
call × 6
light-client × 6
polkadot-js × 5
kusama × 5
api × 5
account × 5
evm × 5