mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 07:31:02 +00:00
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:
@@ -1191,8 +1191,9 @@ impl<Call> TryFrom<OldXcm<Call>> for Xcm<Call> {
|
||||
}
|
||||
}
|
||||
|
||||
/// Default value for the proof size weight component. Set at 64 KB.
|
||||
const DEFAULT_PROOF_SIZE: u64 = 64 * 1024;
|
||||
/// Default value for the proof size weight component. Set at 0 KB.
|
||||
/// NOTE: Make sure this is removed after we properly account for PoV weights.
|
||||
const DEFAULT_PROOF_SIZE: u64 = 0;
|
||||
|
||||
// Convert from a v2 instruction to a v3 instruction.
|
||||
impl<Call> TryFrom<OldInstruction<Call>> for Instruction<Call> {
|
||||
|
||||
Reference in New Issue
Block a user