Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Commit b042f0b

Browse files
committed
Revert default proof size back to 64 KB (#7115)
* Revert default proof size back to 64 KB * Fix test expectations * Enhance unit test * cargo fmt * Fix comment
1 parent 8c7e95d commit b042f0b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

xcm/src/v3/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,9 +1224,9 @@ impl<Call> TryFrom<OldXcm<Call>> for Xcm<Call> {
12241224
}
12251225
}
12261226

1227-
/// Default value for the proof size weight component. Set at 0 KB.
1227+
/// Default value for the proof size weight component when converting from V2. Set at 64 KB.
12281228
/// NOTE: Make sure this is removed after we properly account for PoV weights.
1229-
const DEFAULT_PROOF_SIZE: u64 = 0;
1229+
const DEFAULT_PROOF_SIZE: u64 = 64 * 1024;
12301230

12311231
// Convert from a v2 instruction to a v3 instruction.
12321232
impl<Call> TryFrom<OldInstruction<Call>> for Instruction<Call> {

0 commit comments

Comments
 (0)