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

Polkadot v1.1.0 #1756

Merged
merged 84 commits into from
Apr 15, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
84 commits
Select commit Hold shift + click to select a range
fb19264
all dependencies set
lemunozm Mar 1, 2024
21107d8
migrate libs/*
lemunozm Mar 6, 2024
7f16bfd
migrate pallet-anchors
lemunozm Mar 7, 2024
54995e2
migrate pallet-rewards
lemunozm Mar 7, 2024
db1b6d3
migrate pallet-liquidity-rewards
lemunozm Mar 7, 2024
5837309
migrate pallet-fees pallet-bridge
lemunozm Mar 7, 2024
6ac786b
migrate pallet-keystore
lemunozm Mar 7, 2024
12f8f4b
migrate restricted-tokens
lemunozm Mar 11, 2024
102ff72
migrate restricted-xtokens
lemunozm Mar 11, 2024
1926ecd
migrate block-rewards
lemunozm Mar 11, 2024
5ef66c1
migrate-interest-accrual
lemunozm Mar 11, 2024
4400a67
migrate oracle-feed
lemunozm Mar 11, 2024
791f0df
migrate oracle-collection
lemunozm Mar 11, 2024
7587053
migrate collator-allowlist
lemunozm Mar 11, 2024
a9fdc19
migrate transfer-allowlist
lemunozm Mar 12, 2024
c8548cc
migrate crowdloan pallets
lemunozm Mar 12, 2024
7f422be
migrate permissions
lemunozm Mar 12, 2024
4c4d855
migrate order-book
lemunozm Mar 13, 2024
f6e06ec
migrate pallet-swaps
lemunozm Mar 13, 2024
cfa2e8d
migrate pallet-token-mux
lemunozm Mar 13, 2024
1eb9608
migrate investments
lemunozm Mar 13, 2024
be8ead6
migrate foreign-investments
lemunozm Mar 13, 2024
c9c245d
migrate loans
lemunozm Mar 13, 2024
b13a54a
migrate pool-fees
lemunozm Mar 13, 2024
c58d93f
migrate liquidity-pools-gateway
lemunozm Mar 13, 2024
fe1c1c5
migrate axelar-gateway-precompile
lemunozm Mar 13, 2024
bcd02df
migrate liquidity-pools-gateway-routers & patch moonbeam deps
lemunozm Mar 14, 2024
02cc0e5
use precompile-utils from moonbeam from now
lemunozm Mar 14, 2024
624939c
simplify mock initialization
lemunozm Mar 14, 2024
23cba2a
simplify some mocks
lemunozm Mar 14, 2024
f275140
migrate ethereum-transaction
lemunozm Mar 14, 2024
de60ec2
simplify minor stuff
lemunozm Mar 14, 2024
3914c12
disable runtimes by now
lemunozm Mar 14, 2024
70508ba
migrate pool-system
lemunozm Mar 15, 2024
94c1e6f
migrate pool-registry
lemunozm Mar 15, 2024
ae12bce
migrate liquidity-pools
lemunozm Mar 15, 2024
4319b37
polish patch section
lemunozm Mar 18, 2024
acd8e2b
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Mar 18, 2024
975060d
dirty fix for unaccesible Pending storage
lemunozm Mar 18, 2024
b5f03f4
minor dependency update
lemunozm Mar 18, 2024
78a99a0
minor extend comment
lemunozm Mar 18, 2024
6b4e805
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Mar 18, 2024
45d1aa8
migrate runtime-common
lemunozm Mar 19, 2024
ddbe13f
minor fixes
lemunozm Mar 19, 2024
ce5d67e
Revert "dirty fix for unaccesible Pending storage"
lemunozm Mar 19, 2024
101478c
pointing to the updated pallet-ethereum
lemunozm Mar 19, 2024
065f757
fix pool-system compilation with benchmarks
lemunozm Mar 20, 2024
0c4a9c7
fix serde dependencies
lemunozm Mar 20, 2024
97901b8
required changes for runtime to work
lemunozm Mar 21, 2024
f61e302
development runtime failing because of serde
lemunozm Mar 21, 2024
06c28df
patch all required dependencies to make moonbeam works
lemunozm Mar 22, 2024
ff797a6
fix xcm types
lemunozm Mar 22, 2024
884893a
add serde to no_std
lemunozm Mar 22, 2024
7088ef3
minor
lemunozm Mar 22, 2024
70a0ef2
migrate altair & centrifuge
lemunozm Mar 25, 2024
43d2b2b
minor fixes
lemunozm Mar 25, 2024
d9c8aa6
support runtime-benchmarking in runtimes
lemunozm Mar 25, 2024
0463dc9
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Mar 27, 2024
907a6e9
Polkadot v1.1.0: Node required changes (#1789)
lemunozm Apr 2, 2024
fb20056
Polkadot v1.1.0 Integration Tests (#1776)
lemunozm Apr 2, 2024
dea0546
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Apr 2, 2024
2a1b7bc
fixed issues compiling with rust 1.78
lemunozm Apr 3, 2024
d779208
fix clippy
lemunozm Apr 3, 2024
14f705a
taplo
lemunozm Apr 3, 2024
3fae0a8
reading value from deposit_creating
lemunozm Apr 3, 2024
39b3677
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Apr 3, 2024
772ea63
remove locked from taplo-cli
lemunozm Apr 4, 2024
085ef74
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Apr 4, 2024
d6b006d
update scripts
lemunozm Apr 4, 2024
d144594
fix docs
lemunozm Apr 4, 2024
64b6a84
fix integration tests
lemunozm Apr 4, 2024
bafbf71
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Apr 4, 2024
7414cc0
add collator-selection migration
lemunozm Apr 4, 2024
2cfdd69
makes try-runtime idempotent checks work
lemunozm Apr 4, 2024
14cb6c5
revert fixed point serialization, remove unused Location code
lemunozm Apr 5, 2024
6ab12f1
comment TODOs and deprecated until 1.3.0
lemunozm Apr 5, 2024
37afbc2
fix fixed_point serialization for std
lemunozm Apr 5, 2024
9deeab9
correct features for dev dependency
lemunozm Apr 5, 2024
b1b9e65
apply Cosmin NITs
lemunozm Apr 5, 2024
94a6297
remove comments regarding v1.3.0
lemunozm Apr 8, 2024
d4024be
revert benchmarking HostFunction
lemunozm Apr 11, 2024
d4d58e1
Polkadot v1.1.0: Account converter changes (#1806)
lemunozm Apr 11, 2024
83dc357
Merge remote-tracking branch 'origin/main' into polkadot-v1.1.0
lemunozm Apr 12, 2024
399228a
fix: polkadot v1.1.0 client (#1808)
wischli Apr 15, 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
apply Cosmin NITs
  • Loading branch information
lemunozm committed Apr 5, 2024
commit b1b9e65cf8d3e140d05a10275d50213eb274a33f
2 changes: 1 addition & 1 deletion libs/test-utils/src/mocks/orml_asset_registry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

pub mod reexport {
pub use staging_xcm::{
latest::prelude::MultiLocation as __private_MultiLocation,
v3::prelude::MultiLocation as __private_MultiLocation,
VersionedMultiLocation as __private_VersionedMultiLocation,
};
}
Expand Down
2 changes: 0 additions & 2 deletions node/src/service.rs
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,8 @@

use cfg_primitives::{Block, BlockNumber};
use cumulus_client_cli::CollatorOptions;
// use cumulus_client_collator::service::CollatorService;
use cumulus_client_consensus_aura::{AuraConsensus, BuildAuraConsensusParams, SlotProportion};
use cumulus_client_consensus_common::ParachainBlockImport as TParachainBlockImport;
// use cumulus_client_consensus_proposer::Proposer;
use cumulus_primitives_core::ParaId;
use fc_db::Backend as FrontierBackend;
use sc_executor::NativeElseWasmExecutor;
Expand Down Expand Up @@ -177,19 +175,19 @@
overrides,
block_data_cache| {

let slot_duration = sc_consensus_aura::slot_duration(&*client)?;
let target_gas_price = eth_config.target_gas_price;
let pending_create_inherent_data_providers = move |_, ()| async move {
let current = sp_timestamp::InherentDataProvider::from_system_time();
let next_slot = current.timestamp().as_millis() + slot_duration.as_millis();
let timestamp = sp_timestamp::InherentDataProvider::new(next_slot.into());

Check warning on line 183 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L178-L183

Added lines #L178 - L183 were not covered by tests
let slot =
sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
*timestamp,
slot_duration,

Check warning on line 187 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L185-L187

Added lines #L185 - L187 were not covered by tests
);
let dynamic_fee = fp_dynamic_fee::InherentDataProvider(U256::from(target_gas_price));
Ok((slot, timestamp, dynamic_fee))

Check warning on line 190 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L189-L190

Added lines #L189 - L190 were not covered by tests
};

let mut module = rpc::create_full(client.clone(), pool.clone(), deny_unsafe)?;
Expand All @@ -215,7 +213,7 @@
},
overrides,
block_data_cache,
filter_pool: Some(filter_pool),

Check warning on line 216 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L216

Added line #L216 was not covered by tests
max_past_logs: eth_config.max_past_logs,
fee_history_cache,
fee_history_cache_limit: eth_config.fee_history_limit,
Expand Down Expand Up @@ -400,19 +398,19 @@
overrides,
block_data_cache| {

let slot_duration = sc_consensus_aura::slot_duration(&*client)?;
let target_gas_price = eth_config.target_gas_price;
let pending_create_inherent_data_providers = move |_, ()| async move {
let current = sp_timestamp::InherentDataProvider::from_system_time();
let next_slot = current.timestamp().as_millis() + slot_duration.as_millis();
let timestamp = sp_timestamp::InherentDataProvider::new(next_slot.into());

Check warning on line 406 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L401-L406

Added lines #L401 - L406 were not covered by tests
let slot =
sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
*timestamp,
slot_duration,

Check warning on line 410 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L408-L410

Added lines #L408 - L410 were not covered by tests
);
let dynamic_fee = fp_dynamic_fee::InherentDataProvider(U256::from(target_gas_price));
Ok((slot, timestamp, dynamic_fee))

Check warning on line 413 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L412-L413

Added lines #L412 - L413 were not covered by tests
};

let mut module = rpc::create_full(client.clone(), pool.clone(), deny_unsafe)?;
Expand All @@ -438,7 +436,7 @@
},
overrides,
block_data_cache,
filter_pool: Some(filter_pool),

Check warning on line 439 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L439

Added line #L439 was not covered by tests
max_past_logs: eth_config.max_past_logs,
fee_history_cache,
fee_history_cache_limit: eth_config.fee_history_limit,
Expand Down Expand Up @@ -612,19 +610,19 @@
overrides,
block_data_cache| {

let slot_duration = sc_consensus_aura::slot_duration(&*client)?;
let target_gas_price = eth_config.target_gas_price;
let pending_create_inherent_data_providers = move |_, ()| async move {
let current = sp_timestamp::InherentDataProvider::from_system_time();
let next_slot = current.timestamp().as_millis() + slot_duration.as_millis();
let timestamp = sp_timestamp::InherentDataProvider::new(next_slot.into());

Check warning on line 618 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L613-L618

Added lines #L613 - L618 were not covered by tests
let slot =
sp_consensus_aura::inherents::InherentDataProvider::from_timestamp_and_slot_duration(
*timestamp,
slot_duration,

Check warning on line 622 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L620-L622

Added lines #L620 - L622 were not covered by tests
);
let dynamic_fee = fp_dynamic_fee::InherentDataProvider(U256::from(target_gas_price));
Ok((slot, timestamp, dynamic_fee))

Check warning on line 625 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L624-L625

Added lines #L624 - L625 were not covered by tests
};

let mut module = rpc::create_full(client.clone(), pool.clone(), deny_unsafe)?;
Expand Down Expand Up @@ -653,7 +651,7 @@
},
overrides,
block_data_cache,
filter_pool: Some(filter_pool),

Check warning on line 654 in node/src/service.rs

View check run for this annotation

Codecov / codecov/patch

node/src/service.rs#L654

Added line #L654 was not covered by tests
max_past_logs: eth_config.max_past_logs,
fee_history_cache,
fee_history_cache_limit: eth_config.fee_history_limit,
Expand Down
5 changes: 4 additions & 1 deletion runtime/development/src/xcm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ use runtime_common::{
xcm_fees::native_per_second,
};
use sp_core::ConstU32;
use staging_xcm::{latest::Weight as XcmWeight, prelude::*, v3::MultiLocation};
use staging_xcm::{
prelude::*,
v3::{MultiLocation, Weight as XcmWeight},
};
use staging_xcm_builder::{
ConvertedConcreteId, EnsureXcmOrigin, FixedRateOfFungible, FixedWeightBounds, FungiblesAdapter,
NoChecking, RelayChainAsNative, SiblingParachainAsNative, SignedAccountId32AsNative,
Expand Down
Loading