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