Skip to content

Commit

Permalink
enable chain extension in parachain runtime too
Browse files Browse the repository at this point in the history
Signed-off-by: Cyrill Leutwiler <[email protected]>
  • Loading branch information
xermicus committed Jan 9, 2024
1 parent 68d4554 commit ad6da01
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,3 +130,7 @@ cumulus-primitives-utility = { version = "0.3.0", default-features = false }
cumulus-relay-chain-interface = { version = "0.3.0" }
pallet-collator-selection = { version = "5.0.0", default-features = false }
parachain-info = { package = "staging-parachain-info", version = "0.3.0", default-features = false }

# Chain extension
bn = { package = "substrate-bn", version = "0.6", default-features = false }
ff_wasm_unknown_unknown = { features = ["derive"], version = "0.12.2" }
1 change: 1 addition & 0 deletions parachain-runtime/src/bn128.rs
1 change: 1 addition & 0 deletions parachain-runtime/src/chain_ext.rs
4 changes: 4 additions & 0 deletions parachain-runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ mod contracts_config;
mod weights;
mod xcm_config;

mod bn128;
mod chain_ext;
mod mimc;

use cumulus_pallet_parachain_system::RelayNumberStrictlyIncreases;
use smallvec::smallvec;
use sp_api::impl_runtime_apis;
Expand Down
1 change: 1 addition & 0 deletions parachain-runtime/src/mimc.rs

0 comments on commit ad6da01

Please sign in to comment.