remove disable-runtime-api (#1328)

This commit is contained in:
Ignacio Palacios
2023-08-31 12:48:01 +02:00
committed by GitHub
parent aabed6757e
commit 80a19bec6a
8 changed files with 0 additions and 40 deletions
-4
View File
@@ -121,10 +121,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
authoring_version: 2,
spec_version: 9430,
impl_version: 0,
#[cfg(not(feature = "disable-runtime-api"))]
apis: RUNTIME_API_VERSIONS,
#[cfg(feature = "disable-runtime-api")]
apis: sp_version::create_apis_vec![[]],
transaction_version: 22,
state_version: 1,
};
@@ -1494,7 +1491,6 @@ mod benches {
);
}
#[cfg(not(feature = "disable-runtime-api"))]
sp_api::impl_runtime_apis! {
impl sp_api::Core<Block> for Runtime {
fn version() -> RuntimeVersion {