Files
serai/substrate/runtime
Luke Parker 264bdd46ca Update serai-runtime to compile a minimum subset of itself for non-WASM targets
We only really care about it as a WASM blob, given `serai-abi`, so there's no
need to compile it twice when it's an expensive blob and we don't care about it
at all.
2025-11-12 23:00:00 -05:00
..
2025-08-25 10:06:35 -04:00
2025-09-02 02:17:10 -04:00

Serai Runtime

The on-chain rules for the Serai blockchain.

Compilation

If compilation fails due to borsh, this is likely due to attempting to compile to WASM binary (no-std) while borsh believes it's being compiled in a std context. Serai uses a patched substrate-wasm-builder which clears the CARGO_FEATURE_STD environment variable to prevent this, yet target/ directories may be contaminated if a build ever occurs without the patched substrate-wasm-builder. Please attempt a clean build to resolve the error.