mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 15:11:02 +00:00
[backport] weights 9400 (#2425)
* [benchmarks] pr with weights (#2373) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights (#2374) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * [benchmarks] pr with weights (#2375) Co-authored-by: paritytech-ci <paritytech-ci@parity.io> * Proof size in test wasn't sufficient (due to updated weights.) --------- Co-authored-by: Paritytech CI <52199148+paritytech-ci@users.noreply.github.com> Co-authored-by: paritytech-ci <paritytech-ci@parity.io> Co-authored-by: Giles Cope <gilescope@gmail.com>
This commit is contained in:
@@ -1131,17 +1131,17 @@ pub fn create_and_manage_foreign_assets_for_local_consensus_parachain_assets_wor
|
||||
BuyExecution { fees: buy_execution_fee.clone().into(), weight_limit: Unlimited },
|
||||
Transact {
|
||||
origin_kind: OriginKind::Xcm,
|
||||
require_weight_at_most: Weight::from_parts(40_000_000_000, 6000),
|
||||
require_weight_at_most: Weight::from_parts(40_000_000_000, 8000),
|
||||
call: foreign_asset_create.into(),
|
||||
},
|
||||
Transact {
|
||||
origin_kind: OriginKind::SovereignAccount,
|
||||
require_weight_at_most: Weight::from_parts(20_000_000_000, 6000),
|
||||
require_weight_at_most: Weight::from_parts(20_000_000_000, 8000),
|
||||
call: foreign_asset_set_metadata.into(),
|
||||
},
|
||||
Transact {
|
||||
origin_kind: OriginKind::SovereignAccount,
|
||||
require_weight_at_most: Weight::from_parts(20_000_000_000, 6000),
|
||||
require_weight_at_most: Weight::from_parts(20_000_000_000, 8000),
|
||||
call: foreign_asset_set_team.into(),
|
||||
},
|
||||
ExpectTransactStatus(MaybeErrorCode::Success),
|
||||
@@ -1248,7 +1248,7 @@ pub fn create_and_manage_foreign_assets_for_local_consensus_parachain_assets_wor
|
||||
BuyExecution { fees: buy_execution_fee.clone().into(), weight_limit: Unlimited },
|
||||
Transact {
|
||||
origin_kind: OriginKind::Xcm,
|
||||
require_weight_at_most: Weight::from_parts(20_000_000_000, 6000),
|
||||
require_weight_at_most: Weight::from_parts(20_000_000_000, 8000),
|
||||
call: foreign_asset_create.into(),
|
||||
},
|
||||
ExpectTransactStatus(MaybeErrorCode::from(DispatchError::BadOrigin.encode())),
|
||||
|
||||
Reference in New Issue
Block a user