Reduce base proof size weight component to zero (#7081)

* Reduce base proof size weight component to 1KiB

* Create TempFixedXcmWeight and set PoV weight to 0

* Set DEFAULT_PROOF_SIZE to 0

* Fix comment

* Update test expectations

* Fix comment
This commit is contained in:
Keith Yeung
2023-04-21 22:16:50 +08:00
committed by GitHub
parent e277f95b3b
commit 8b0b86651f
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -441,5 +441,5 @@ fn karura_liquid_staking_xcm_has_sane_weight_upper_limt() {
let weight = <XcmConfig as xcm_executor::Config>::Weigher::weight(&mut xcm)
.expect("weighing XCM failed");
assert_eq!(weight, Weight::from_parts(20_313_281_000, 65536));
assert_eq!(weight, Weight::from_parts(20_313_281_000, 0));
}