mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-13 22:11:06 +00:00
Companion for pallet-mmr: generate historical proofs (#6061)
* BEEFY: generate historical proofs Signed-off-by: Serban Iorga <serban@parity.io> * cargo update -p sp-io * Properly set max proof size for runtimes * Properly set max proof size for mocks * cargo fmt * Set appropriate UMP service total proof size weight * Disable zombienet-tests-parachains-disputes CI * Add comment explaining weight math * Use MAX_POV_SIZE for max proof size * Cast to u64 * Remove comment Signed-off-by: Serban Iorga <serban@parity.io> Co-authored-by: Keith Yeung <kungfukeith11@gmail.com>
This commit is contained in:
@@ -97,7 +97,7 @@ mod tests {
|
||||
weight.base_extrinsic = Weight::from_ref_time(100);
|
||||
})
|
||||
.for_class(DispatchClass::non_mandatory(), |weight| {
|
||||
weight.max_total = Some(Weight::from_ref_time(1024));
|
||||
weight.max_total = Some(Weight::from_ref_time(1024).set_proof_size(u64::MAX));
|
||||
})
|
||||
.build_or_panic();
|
||||
pub BlockLength: limits::BlockLength = limits::BlockLength::max(2 * 1024);
|
||||
|
||||
Reference in New Issue
Block a user