mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-21 13:54:44 +00:00
Enable large_stack_frames lint (#6343)
* Enable `large_stack_frames` lint
This commit is contained in:
@@ -26,6 +26,7 @@ const DENEB_FORK_EPOCH: u64 = 2;
|
||||
const SUGGESTED_FEE_RECIPIENT: [u8; 20] =
|
||||
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1];
|
||||
|
||||
#[allow(clippy::large_stack_frames)]
|
||||
pub fn run_basic_sim(matches: &ArgMatches) -> Result<(), String> {
|
||||
let node_count = matches
|
||||
.get_one::<String>("nodes")
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
/// - `mod tests`: runs all the test vectors locally.
|
||||
macro_rules! vectors_and_tests {
|
||||
($($name: ident, $test: expr),*) => {
|
||||
#[allow(clippy::large_stack_frames)]
|
||||
pub async fn vectors() -> Vec<TestVector> {
|
||||
let mut vec = vec![];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user