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

update v0.9.38 to fix max weight #891

Merged
merged 1 commit into from
Mar 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
18 changes: 9 additions & 9 deletions Cargo.dev.toml
Original file line number Diff line number Diff line change
Expand Up @@ -96,12 +96,12 @@ cumulus-pallet-xcm = { git = "https://github.com/paritytech//cumulus", rev = "1b
parachain-info = { git = "https://github.com/paritytech//cumulus", rev = "1b2003d48f753be96471c5f96c4a2307592db49f" }

[patch.'https://github.com/paritytech/polkadot']
pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
xcm = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "72309a2b2e68413305a56dce1097041309bd29c6" }
pallet-xcm = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
polkadot-core-primitives = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
polkadot-runtime-parachains = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
polkadot-parachain = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
polkadot-primitives = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
xcm = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
xcm-executor = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
xcm-builder = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
xcm-simulator = { git = "https://github.com/paritytech//polkadot", rev = "8deef133d3ca1bdea8c6267c4a66ecabb903a18b" }
12 changes: 3 additions & 9 deletions xtokens/src/tests.rs
Original file line number Diff line number Diff line change
Expand Up @@ -663,9 +663,7 @@ fn sending_sibling_asset_to_reserve_sibling_with_relay_fee_works() {
});

let fee_amount: u128 = 200;
// TODO: set the weight limit to 40 until this issue is addressed:
// https://github.com/paritytech/polkadot/issues/6770
let weight: u128 = 40;
let weight: u128 = 50;
let dest_weight: u128 = 40;

ParaA::execute_with(|| {
Expand Down Expand Up @@ -725,9 +723,7 @@ fn sending_sibling_asset_to_reserve_sibling_with_relay_fee_works_with_relative_s
});

let fee_amount: u128 = 200;
// TODO: set the weight limit to 40 until this issue is addressed:
// https://github.com/paritytech/polkadot/issues/6770
let weight: u128 = 40;
let weight: u128 = 50;
let dest_weight: u128 = 40;

ParaD::execute_with(|| {
Expand Down Expand Up @@ -790,9 +786,7 @@ fn sending_sibling_asset_to_reserve_sibling_with_relay_fee_not_enough() {
});

let fee_amount: u128 = 159;
// TODO: set the weight limit to 40 until this issue is addressed:
// https://github.com/paritytech/polkadot/issues/6770
let weight: u128 = 40;
let weight: u128 = 50;
let dest_weight: u128 = 40;

ParaA::execute_with(|| {
Expand Down