Files
serai/substrate/runtime
Luke Parker ff95c58341 Round out the runtime
Ensures the block's size limit is respected.

Defines a policy for weights. While I'm unsure I want to commit to this
forever, I do want to acknowledge it's valid and well-defined.

Cleans up the `serai-runtime` crate a bit with further modules in the `wasm`
folder.
2025-12-02 21:16:34 -05:00
..
2025-12-02 21:16:34 -05:00
2025-12-02 16:46:10 -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.