mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 10:31:04 +00:00
Rococo: Build two versions of the wasm binary (#2229)
One for local networks with `fast-runtime` feature activated (1 minute sessions) and one without the feature activated that will be the default that runs with 1 hour long sessions.
This commit is contained in:
@@ -131,6 +131,14 @@ impl_runtime_weights!(rococo_runtime_constants);
|
||||
#[cfg(feature = "std")]
|
||||
include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs"));
|
||||
|
||||
/// Provides the `WASM_BINARY` build with `fast-runtime` feature enabled.
|
||||
///
|
||||
/// This is for example useful for local test chains.
|
||||
#[cfg(feature = "std")]
|
||||
pub mod fast_runtime_binary {
|
||||
include!(concat!(env!("OUT_DIR"), "/fast_runtime_binary.rs"));
|
||||
}
|
||||
|
||||
/// Runtime version (Rococo).
|
||||
#[sp_version::runtime_version]
|
||||
pub const VERSION: RuntimeVersion = RuntimeVersion {
|
||||
|
||||
Reference in New Issue
Block a user