diff --git a/crates/pallets/starknet/runtime_api/Cargo.toml b/crates/pallets/starknet/runtime_api/Cargo.toml index df3e60a365..160f4c4c0b 100644 --- a/crates/pallets/starknet/runtime_api/Cargo.toml +++ b/crates/pallets/starknet/runtime_api/Cargo.toml @@ -8,7 +8,10 @@ edition = "2021" [dependencies] # Madara primitives mp-felt = { workspace = true, features = ["parity-scale-codec", "serde"] } -mp-transactions = { workspace = true, features = ["parity-scale-codec", "scale-info"] } +mp-transactions = { workspace = true, features = [ + "parity-scale-codec", + "scale-info", +] } # Starknet blockifier = { workspace = true, features = [ 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.