Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
Closed
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
default impl for max_access_poll_per_block
  • Loading branch information
muharem committed Jan 15, 2023
commit cc7e9ead9ad52711034abfabcfdddd124dfa8b5e
4 changes: 3 additions & 1 deletion frame/support/src/traits/voting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -189,5 +189,7 @@ pub trait Polling<Tally> {

/// The maximum number of the access poll invocations possible per block.
#[cfg(feature = "runtime-benchmarks")]
fn max_access_poll_per_block() -> u32;
fn max_access_poll_per_block() -> u32 {
u32::max_value()
}
}