Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Properly set max proof size for scheduler mock
  • Loading branch information
KiChjang committed Sep 29, 2022
commit 3cc7bfefbdf6aad0a9b9d68ba08dc143de8f0585
4 changes: 3 additions & 1 deletion frame/scheduler/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ impl Contains<RuntimeCall> for BaseFilter {

parameter_types! {
pub BlockWeights: frame_system::limits::BlockWeights =
frame_system::limits::BlockWeights::simple_max(Weight::from_ref_time(2_000_000_000_000));
frame_system::limits::BlockWeights::simple_max(
Weight::from_ref_time(2_000_000_000_000).set_proof_size(u64::MAX),
);
}
impl system::Config for Test {
type BaseCallFilter = BaseFilter;
Expand Down