mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-27 15:07:59 +00:00
Companion for Weight v1.5 (#5943)
* fix to latest substrate pr
* update weights
* cargo build -p polkadot-runtime-parachains
* fix xcm-builder
* fix import
* fix a bunch
* fix a bunch of weight stuff
* kusama compile
* unused
* builds
* maybe fix
* cargo test -p polkadot-runtime-parachains
* xcm simulator example
* fix tests
* xcm sim fuzz
* fix runtime tests
* remove unused
* fix integration tests
* scalar div
* update lockfile for {"substrate"}
Co-authored-by: parity-processbot <>
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
#![cfg_attr(not(feature = "std"), no_std)]
|
||||
#![cfg(test)]
|
||||
|
||||
use frame_support::weights::Weight;
|
||||
use polkadot_test_client::{
|
||||
BlockBuilderExt, ClientBlockImportExt, DefaultTestClientBuilderExt, ExecutionStrategy,
|
||||
InitPolkadotBlockBuilder, TestClientBuilder, TestClientBuilderExt,
|
||||
@@ -46,7 +47,7 @@ fn basic_buy_fees_message_executes() {
|
||||
&client,
|
||||
polkadot_test_runtime::Call::Xcm(pallet_xcm::Call::execute {
|
||||
message: Box::new(VersionedXcm::from(msg)),
|
||||
max_weight: 1_000_000_000,
|
||||
max_weight: Weight::from_ref_time(1_000_000_000),
|
||||
}),
|
||||
sp_keyring::Sr25519Keyring::Alice,
|
||||
0,
|
||||
@@ -126,7 +127,7 @@ fn query_response_fires() {
|
||||
&client,
|
||||
polkadot_test_runtime::Call::Xcm(pallet_xcm::Call::execute {
|
||||
message: msg,
|
||||
max_weight: 1_000_000_000,
|
||||
max_weight: Weight::from_ref_time(1_000_000_000),
|
||||
}),
|
||||
sp_keyring::Sr25519Keyring::Alice,
|
||||
1,
|
||||
@@ -214,7 +215,7 @@ fn query_response_elicits_handler() {
|
||||
&client,
|
||||
polkadot_test_runtime::Call::Xcm(pallet_xcm::Call::execute {
|
||||
message: Box::new(VersionedXcm::from(msg)),
|
||||
max_weight: 1_000_000_000,
|
||||
max_weight: Weight::from_ref_time(1_000_000_000),
|
||||
}),
|
||||
sp_keyring::Sr25519Keyring::Alice,
|
||||
1,
|
||||
|
||||
Reference in New Issue
Block a user