mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 12:51:02 +00:00
fix disable-runtime-api feature flag (#5773)
This commit is contained in:
@@ -121,7 +121,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
#[cfg(not(feature = "disable-runtime-api"))]
|
#[cfg(not(feature = "disable-runtime-api"))]
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
#[cfg(feature = "disable-runtime-api")]
|
#[cfg(feature = "disable-runtime-api")]
|
||||||
apis: version::create_apis_vec![[]],
|
apis: sp_version::create_apis_vec![[]],
|
||||||
transaction_version: 12,
|
transaction_version: 12,
|
||||||
state_version: 0,
|
state_version: 0,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
#[cfg(not(feature = "disable-runtime-api"))]
|
#[cfg(not(feature = "disable-runtime-api"))]
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
#[cfg(feature = "disable-runtime-api")]
|
#[cfg(feature = "disable-runtime-api")]
|
||||||
apis: version::create_apis_vec![[]],
|
apis: sp_version::create_apis_vec![[]],
|
||||||
transaction_version: 13,
|
transaction_version: 13,
|
||||||
state_version: 0,
|
state_version: 0,
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -110,7 +110,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
|
|||||||
#[cfg(not(feature = "disable-runtime-api"))]
|
#[cfg(not(feature = "disable-runtime-api"))]
|
||||||
apis: RUNTIME_API_VERSIONS,
|
apis: RUNTIME_API_VERSIONS,
|
||||||
#[cfg(feature = "disable-runtime-api")]
|
#[cfg(feature = "disable-runtime-api")]
|
||||||
apis: version::create_apis_vec![[]],
|
apis: sp_version::create_apis_vec![[]],
|
||||||
transaction_version: 11,
|
transaction_version: 11,
|
||||||
state_version: 0,
|
state_version: 0,
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user