diff --git a/crates/pallets/starknet/runtime_api/src/lib.rs b/crates/pallets/starknet/runtime_api/src/lib.rs index 81137fad02..38de0e529e 100644 --- a/crates/pallets/starknet/runtime_api/src/lib.rs +++ b/crates/pallets/starknet/runtime_api/src/lib.rs @@ -1,5 +1,6 @@ //! Definition of the runtime API for the StarkNet pallet. +// #![cfg_attr(not(feature = "std"), no_std)] // Adding allow unused type parameters to avoid clippy errors // generated by the `decl_runtime_apis` macro. // Specifically, the macro generates a trait (`StarknetRuntimeApi`) with unused type parameters.