Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

To polkadot-stable2407 #1643

Merged
merged 44 commits into from
Dec 30, 2024
Merged
Changes from 1 commit
Commits
Show all changes
44 commits
Select commit Hold shift + click to select a range
3cdde97
Part.1
aurexav Dec 17, 2024
ad06f78
Companion of paritytech/polkadot-sdk#3052
aurexav Dec 17, 2024
ca15b06
Companion of paritytech/polkadot-sdk#3221
aurexav Dec 17, 2024
b6e7cd4
Companion of paritytech/polkadot-sdk#3002
aurexav Dec 17, 2024
0702a44
Companion of paritytech/polkadot-sdk#1781
aurexav Dec 17, 2024
bc4d286
Companion of paritytech/polkadot-sdk#3505
aurexav Dec 17, 2024
3ef19e6
Companion of paritytech/polkadot-sdk#3696
aurexav Dec 17, 2024
66184fc
Companion of paritytech/polkadot-sdk#3607
aurexav Dec 17, 2024
df28cf1
Companion of paritytech/polkadot-sdk#3844
aurexav Dec 17, 2024
66f3256
Companion of paritytech/polkadot-sdk#3854
aurexav Dec 17, 2024
ab6fdaa
Companion of paritytech/polkadot-sdk#3858
aurexav Dec 17, 2024
84d1f43
Companion of paritytech/polkadot-sdk#2714
aurexav Dec 18, 2024
153dcff
Fix nostd compile
aurexav Dec 18, 2024
735f466
Companion of paritytech/polkadot-sdk#3660
aurexav Dec 18, 2024
b17ee23
Companion of paritytech/polkadot-sdk#4238
aurexav Dec 18, 2024
5ab0f08
Companion of paritytech/polkadot-sdk#4177
aurexav Dec 18, 2024
855735b
Companion of paritytech/polkadot-sdk#4156
aurexav Dec 18, 2024
be7fbda
Companion of paritytech/polkadot-sdk#4346
aurexav Dec 18, 2024
658fdc5
Companion of paritytech/polkadot-sdk#4355
aurexav Dec 18, 2024
3f2b3a6
Companion of paritytech/polkadot-sdk#3952
aurexav Dec 25, 2024
b0b9249
Companion of paritytech/polkadot-sdk#4410
aurexav Dec 25, 2024
3b94aad
Companion of paritytech/polkadot-sdk#4634
aurexav Dec 25, 2024
b4ac1a3
Companion of paritytech/polkadot-sdk#4666
aurexav Dec 25, 2024
33b3fee
Companion of paritytech/polkadot-sdk#3820
aurexav Dec 25, 2024
22ed2e6
Companion of paritytech/polkadot-sdk#4831
aurexav Dec 25, 2024
e6e1e38
Companion of paritytech/polkadot-sdk#4730
aurexav Dec 25, 2024
6cac042
Companion of paritytech/polkadot-sdk#4857
aurexav Dec 25, 2024
cf85cbc
Companion of paritytech/polkadot-sdk#4805
aurexav Dec 25, 2024
5b3dcf3
Companion of paritytech/polkadot-sdk#3350
aurexav Dec 25, 2024
9bccc9b
Add missing updates
aurexav Dec 25, 2024
fe387bf
Fix XCM related
jiguantong Dec 25, 2024
54606af
Compile all runtime
aurexav Dec 25, 2024
91a0ec4
Fixes
aurexav Dec 27, 2024
64fa8f4
Fixes
aurexav Dec 27, 2024
447b568
Companion of paritytech/polkadot-sdk#2944
aurexav Dec 27, 2024
50e9d5c
Fix tests
aurexav Dec 27, 2024
7726226
Format
aurexav Dec 27, 2024
8e088c6
Fix unit test cases
boundless-forest Dec 27, 2024
57f64f2
Format
aurexav Dec 29, 2024
cbb0388
Format
aurexav Dec 29, 2024
04d2b1b
Add missing features
aurexav Dec 29, 2024
47d8cb5
Fixes
aurexav Dec 30, 2024
a36af4a
Update Cargo.toml to include EVM patches and fix tracing test assertions
boundless-forest Dec 30, 2024
a3443f0
Remove unnecessary console.log from EVM tracing test
boundless-forest Dec 30, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
aurexav committed Dec 17, 2024
commit bc4d28670d6d87af9a52a872d2748bf9376429f5
2 changes: 1 addition & 1 deletion node/src/service/mod.rs
Original file line number Diff line number Diff line change
@@ -405,7 +405,6 @@ where
timestamp.timestamp(),
SlotDuration::from_millis(RELAY_CHAIN_SLOT_DURATION_MILLIS as u64),
);

// Create a mocked parachain inherent data provider to pass all validations in the
// parachain system.
// Without this, the pending functionality will fail.
@@ -428,6 +427,7 @@ where
downward_messages: Default::default(),
horizontal_messages: Default::default(),
};

Ok((timestamp, parachain_inherent_data))
};

2 changes: 1 addition & 1 deletion pallet/account-migration/src/mock.rs
Original file line number Diff line number Diff line change
@@ -37,7 +37,7 @@ pub const VERSION: sp_version::RuntimeVersion = sp_version::RuntimeVersion {
frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}
#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
2 changes: 1 addition & 1 deletion pallet/deposit/src/mock.rs
Original file line number Diff line number Diff line change
@@ -24,7 +24,7 @@ use frame_support::derive_impl;
use sp_io::TestExternalities;
use sp_runtime::BuildStorage;

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type Block = frame_system::mocking::MockBlock<Self>;
2 changes: 1 addition & 1 deletion pallet/ethtx-forwarder/src/mock.rs
Original file line number Diff line number Diff line change
@@ -32,7 +32,7 @@ use sp_std::prelude::*;
pub type AccountId = sp_core::H160;
pub type Balance = u64;

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
2 changes: 1 addition & 1 deletion pallet/staking/src/mock.rs
Original file line number Diff line number Diff line change
@@ -72,7 +72,7 @@ impl Display for AccountId {
write!(f, "{}", self.0)
}
}
#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
2 changes: 1 addition & 1 deletion precompile/assets/src/mock.rs
Original file line number Diff line number Diff line change
@@ -63,7 +63,7 @@ impl From<Account> for sp_core::H256 {
}
}

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
2 changes: 1 addition & 1 deletion precompile/state-storage/src/mock.rs
Original file line number Diff line number Diff line change
@@ -48,7 +48,7 @@ impl Into<H160> for Account {
}
}

#[derive_impl(frame_system::config_preludes::TestDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::TestDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
2 changes: 1 addition & 1 deletion runtime/crab/src/pallets/system.rs
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}

#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
2 changes: 1 addition & 1 deletion runtime/darwinia/src/pallets/system.rs
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}

#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;
2 changes: 1 addition & 1 deletion runtime/koi/src/pallets/system.rs
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ frame_support::parameter_types! {
pub const Version: sp_version::RuntimeVersion = VERSION;
}

#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig as frame_system::DefaultConfig)]
#[derive_impl(frame_system::config_preludes::ParaChainDefaultConfig)]
impl frame_system::Config for Runtime {
type AccountData = pallet_balances::AccountData<Balance>;
type AccountId = AccountId;