Skip to content

Commit

Permalink
fix: update runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
nakul1010 committed Aug 8, 2023
1 parent 7fc2352 commit a98799a
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 46 deletions.
54 changes: 27 additions & 27 deletions Cargo.lock

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

20 changes: 10 additions & 10 deletions parachain/runtime/interlay/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
#![recursion_limit = "256"]
#![recursion_limit = "512"]

// Make the WASM binary available.
#[cfg(feature = "std")]
Expand Down Expand Up @@ -1208,17 +1208,17 @@ impl loans::Config for Runtime {
construct_runtime! {
pub enum Runtime
{
System: frame_system::{Pallet, Call, Storage, Event<T>} = 0,
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 1,
Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 2,
Utility: pallet_utility::{Pallet, Call, Event} = 3,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 4,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Config<T>, Event<T>} = 4,
Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event<T>} = 5,
Preimage: pallet_preimage::{Pallet, Call, Storage, Event<T>} = 6,
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 7,
Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 8,
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>} = 9,
TxPause: tx_pause::{Pallet, Call, Storage, Event<T>} = 10,
TxPause: tx_pause::{Pallet, Call, Config<T>, Storage, Event<T>} = 10,

// # Tokens & Balances
Currency: currency::{Pallet} = 20,
Expand Down Expand Up @@ -1253,7 +1253,7 @@ construct_runtime! {
Replace: replace::{Pallet, Call, Config<T>, Storage, Event<T>} = 65,
Fee: fee::{Pallet, Call, Config<T>, Storage} = 66,
// Refund: 67
Nomination: nomination::{Pallet, Call, Storage, Event<T>} = 68,
Nomination: nomination::{Pallet, Call, Storage, Config<T>, Event<T>} = 68,
ClientsInfo: clients_info::{Pallet, Call, Storage, Event<T>} = 69,

// # Governance
Expand All @@ -1267,7 +1267,7 @@ construct_runtime! {
Session: pallet_session::{Pallet, Call, Storage, Event, Config<T>} = 82,
Aura: pallet_aura::{Pallet, Storage, Config<T>} = 83,
AuraExt: cumulus_pallet_aura_ext::{Pallet, Storage, Config<T>} = 84,
ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config<T>, Storage, Inherent, Event<T>} = 85,
ParachainSystem: cumulus_pallet_parachain_system::{Pallet, Call, Config<T>, Storage, Inherent, Event<T>,ValidateUnsigned} = 85,
ParachainInfo: parachain_info::{Pallet, Storage, Config<T>} = 86,

// # XCM Helpers
Expand All @@ -1286,10 +1286,10 @@ construct_runtime! {
DexSwapRouter: dex_swap_router::{Pallet, Call, Event<T>} = 103,

// # Smart contracts
BaseFee: pallet_base_fee::{Pallet, Call, Storage, Event} = 111,
Ethereum: pallet_ethereum::{Pallet, Call, Storage, Event, Origin} = 112,
EVM: pallet_evm::{Pallet, Call, Storage, Event<T>} = 113,
EVMChainId: pallet_evm_chain_id::{Pallet, Storage} = 114,
BaseFee: pallet_base_fee::{Pallet, Call, Storage, Event,Config<T> } = 111,
Ethereum: pallet_ethereum::{Pallet, Call, Storage, Event,Config<T>, Origin} = 112,
EVM: pallet_evm::{Pallet, Call, Storage, Event<T>, Config<T>} = 113,
EVMChainId: pallet_evm_chain_id::{Pallet, Storage, Config<T>} = 114,
}
}

Expand Down
18 changes: 9 additions & 9 deletions parachain/runtime/kintsugi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#![cfg_attr(not(feature = "std"), no_std)]
// `construct_runtime!` does a lot of recursion and requires us to increase the limit to 256.
#![recursion_limit = "256"]
#![recursion_limit = "512"]

// Make the WASM binary available.
#[cfg(feature = "std")]
Expand Down Expand Up @@ -1208,17 +1208,17 @@ impl loans::Config for Runtime {
construct_runtime! {
pub enum Runtime
{
System: frame_system::{Pallet, Call, Storage, Event<T>} = 0,
System: frame_system::{Pallet, Call, Config<T>, Storage, Event<T>} = 0,
Timestamp: pallet_timestamp::{Pallet, Call, Storage, Inherent} = 1,
Utility: pallet_utility::{Pallet, Call, Event} = 2,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Event<T>} = 3,
TransactionPayment: pallet_transaction_payment::{Pallet, Storage, Config<T>, Event<T>} = 3,
Scheduler: pallet_scheduler::{Pallet, Call, Storage, Event<T>} = 4,
Preimage: pallet_preimage::{Pallet, Call, Storage, Event<T>} = 5,
Multisig: pallet_multisig::{Pallet, Call, Storage, Event<T>} = 6,
Identity: pallet_identity::{Pallet, Call, Storage, Event<T>} = 7,
Proxy: pallet_proxy::{Pallet, Call, Storage, Event<T>} = 8,
Sudo: pallet_sudo::{Pallet, Call, Storage, Config<T>, Event<T>} = 9,
TxPause: tx_pause::{Pallet, Call, Storage, Event<T>} = 10,
TxPause: tx_pause::{Pallet, Call, Storage, Config<T>, Event<T>} = 10,

// # Tokens & Balances
Currency: currency::{Pallet} = 20,
Expand Down Expand Up @@ -1254,7 +1254,7 @@ construct_runtime! {
Replace: replace::{Pallet, Call, Config<T>, Storage, Event<T>} = 65,
Fee: fee::{Pallet, Call, Config<T>, Storage} = 66,
// Refund: 67
Nomination: nomination::{Pallet, Call, Storage, Event<T>} = 68,
Nomination: nomination::{Pallet, Call, Storage, Config<T>, Event<T>} = 68,
ClientsInfo: clients_info::{Pallet, Call, Storage, Event<T>} = 69,

// # Governance
Expand Down Expand Up @@ -1289,10 +1289,10 @@ construct_runtime! {

// # Smart contracts
Contracts: pallet_contracts::{Pallet, Call, Storage, Event<T>} = 110,
BaseFee: pallet_base_fee::{Pallet, Call, Storage, Event} = 111,
Ethereum: pallet_ethereum::{Pallet, Call, Storage, Event, Origin} = 112,
EVM: pallet_evm::{Pallet, Call, Storage, Event<T>} = 113,
EVMChainId: pallet_evm_chain_id::{Pallet, Storage} = 114,
BaseFee: pallet_base_fee::{Pallet, Call, Storage, Event, Config<T>} = 111,
Ethereum: pallet_ethereum::{Pallet, Call, Storage, Event, Config<T>, Origin} = 112,
EVM: pallet_evm::{Pallet, Call, Storage, Event<T>, Config<T>} = 113,
EVMChainId: pallet_evm_chain_id::{Pallet, Storage, Config<T>} = 114,
}
}

Expand Down

0 comments on commit a98799a

Please sign in to comment.