Skip to content
This repository has been archived by the owner on Aug 2, 2024. It is now read-only.

Commit

Permalink
make runtime_api crate no_std
Browse files Browse the repository at this point in the history
  • Loading branch information
tdelabro committed Nov 21, 2023
1 parent 1bde982 commit 14ab37d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
5 changes: 4 additions & 1 deletion crates/pallets/starknet/runtime_api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down
1 change: 1 addition & 0 deletions crates/pallets/starknet/runtime_api/src/lib.rs
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 14ab37d

Please sign in to comment.