Skip to content

Commit

Permalink
Merge pull request #52 from Polimec/feature/disable-ct-extrinsics
Browse files Browse the repository at this point in the history
Feature/disable ct extrinsics
  • Loading branch information
JuaniRios authored Jul 26, 2023
2 parents 7e3c429 + d5ac1f8 commit 33d9ccc
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ members = [
"runtimes/*",
"integration-tests"
]
resolver = "2"

[workspace.package]
authors = ['Polimec Foundation <info@polimec.org>']
Expand Down
6 changes: 3 additions & 3 deletions runtimes/standalone/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
/// up by `pallet_aura` to implement `fn slot_duration()`.
///
/// Change this to adjust the block time.
pub const MILLISECS_PER_BLOCK: u64 = 6000;
pub const MILLISECS_PER_BLOCK: u64 = 3000;

// NOTE: Currently it is not possible to change the slot duration after the chain has started.
// Attempting to do so will brick block production.
Expand Down Expand Up @@ -268,7 +268,7 @@ impl pallet_grandpa::Config for Runtime {
}

impl pallet_timestamp::Config for Runtime {
type MinimumPeriod = MinimumPeriod;
type MinimumPeriod = ConstU64<{ SLOT_DURATION / 2 }>;
type Moment = u64;
type OnTimestampSet = Aura;
type WeightInfo = ();
Expand Down Expand Up @@ -572,7 +572,7 @@ construct_runtime!(
Sudo: pallet_sudo,
Utility: pallet_utility,
Multisig: pallet_multisig,
Assets: pallet_assets,
Assets: pallet_assets exclude_parts { Call },
Vesting: pallet_vesting,

Aura: pallet_aura,
Expand Down
2 changes: 1 addition & 1 deletion runtimes/testnet/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,7 +570,7 @@ construct_runtime!(
Balances: pallet_balances::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 11,
AssetTxPayment: pallet_asset_tx_payment::{Pallet, Storage, Event<T>} = 12,
LocalAssets: pallet_assets::<Instance1>::{Pallet, Call, Storage, Event<T>} = 13,
LocalAssets: pallet_assets::<Instance1>::{Pallet, Storage, Event<T>} = 13,
StatemintAssets: pallet_assets::<Instance2>::{Pallet, Call, Storage, Event<T>} = 14,
Vesting: pallet_vesting::{Pallet, Call, Storage, Event<T>, Config<T>} = 16,

Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[toolchain]
channel = "1.69.0"
channel = "nightly"
components = [ "rustfmt", "clippy" ]
targets = [ "wasm32-unknown-unknown" ]

0 comments on commit 33d9ccc

Please sign in to comment.