Skip to content

Commit

Permalink
fixing spacing
Browse files Browse the repository at this point in the history
  • Loading branch information
seemantaggarwal committed Jan 15, 2025
1 parent e89d0c2 commit 8c6bb70
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion templates/parachain/node/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,11 @@ polkadot-sdk = { workspace = true, features = ["substrate-build-script-utils"] }

[features]
default = ["std"]
std = ["log/std", "parachain-template-runtime/std", "polkadot-sdk/std"]
std = [
"log/std",
"parachain-template-runtime/std",
"polkadot-sdk/std"
]
runtime-benchmarks = [
"parachain-template-runtime/runtime-benchmarks",
"polkadot-sdk/runtime-benchmarks",
Expand Down
4 changes: 1 addition & 3 deletions templates/parachain/runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,7 @@ docify = { workspace = true }
hex-literal = { optional = true, workspace = true, default-features = true }
log = { workspace = true }
scale-info = { features = ["derive"], workspace = true }
serde_json = { workspace = true, default-features = false, features = [
"alloc",
] }
serde_json = { workspace = true, default-features = false, features = ["alloc"] }
smallvec = { workspace = true, default-features = true }

# Local
Expand Down
1 change: 1 addition & 0 deletions templates/parachain/runtime/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ fn main() {
fn main() {
substrate_wasm_builder::WasmBuilder::build_using_defaults();
}

/// The wasm builder is deactivated when compiling
/// this crate for wasm to speed up the compilation.
#[cfg(not(feature = "std"))]
Expand Down
1 change: 1 addition & 0 deletions templates/parachain/runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub use sp_consensus_aura::sr25519::AuthorityId as AuraId;
pub use sp_runtime::{MultiAddress, Perbill, Permill};

use weights::ExtrinsicBaseWeight;

/// Alias to 512-bit hash when used in the context of a transaction signature on the chain.
pub type Signature = MultiSignature;

Expand Down

0 comments on commit 8c6bb70

Please sign in to comment.