Skip to content

Commit

Permalink
Event removal and benchmarking balances pallet
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdcosta committed Feb 6, 2023
1 parent 2198a5b commit cce96b8
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 8 deletions.
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion runtime/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ pallet-timestamp = { git = "https://github.com/paritytech/substrate", default-fe
pallet-transaction-payment-rpc-runtime-api = { git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.36" }
pallet-indices = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.36"}
pallet-randomness-collective-flip = { git = "https://github.com/paritytech/substrate", default-features = false , branch = "polkadot-v0.9.36" }
# pallet-utility = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.36"}
pallet-utility = {git = "https://github.com/paritytech/substrate", default-features = false, branch = "polkadot-v0.9.36"}

# Substrate Dependencies
## Substrate Primitive Dependencies
Expand Down
14 changes: 7 additions & 7 deletions runtime/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -392,12 +392,12 @@ impl pallet_transaction_payment::Config for Runtime {

impl pallet_randomness_collective_flip::Config for Runtime {}

// impl pallet_utility::Config for Runtime {
// type RuntimeEvent = RuntimeEvent;
// type RuntimeCall = RuntimeCall;
// type PalletsOrigin = OriginCaller;
// type WeightInfo = pallet_utility::weights::SubstrateWeight<Runtime>;
// }
impl pallet_utility::Config for Runtime {
type RuntimeEvent = RuntimeEvent;
type RuntimeCall = RuntimeCall;
type PalletsOrigin = OriginCaller;
type WeightInfo = pallet_utility::weights::SubstrateWeight<Runtime>;
}

parameter_types! {
pub const ReservedXcmpWeight: Weight = MAXIMUM_BLOCK_WEIGHT.saturating_div(4);
Expand Down Expand Up @@ -517,7 +517,7 @@ construct_runtime!(
ParachainInfo: parachain_info::{Pallet, Storage, Config} = 3,
Sudo: pallet_sudo::{Pallet, Call, Event<T>, Config<T>} = 4,
Indices: pallet_indices::{Pallet, Call, Storage, Event<T>} = 5,
// Utility: pallet_utility = 6,
Utility: pallet_utility = 6,

// Monetary stuff.
Balances: pallet_balances_totem::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,
Expand Down
Binary file added upgrades/v143_compact_compressed.wasm
Binary file not shown.

0 comments on commit cce96b8

Please sign in to comment.