Skip to content

Commit

Permalink
match number of funcs
Browse files Browse the repository at this point in the history
  • Loading branch information
rachel-bousfield committed Jan 16, 2024
1 parent 58d0527 commit b50bdaa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arbitrator/prover/src/binary.rs
Original file line number Diff line number Diff line change
Expand Up @@ -630,10 +630,10 @@ impl<'a> WasmBinary<'a> {
}

let table_entries = bin.tables.iter().map(|x| x.initial).saturating_sum();
limit!(1024, table_entries, "table entries");
limit!(4096, table_entries, "table entries");

let elem_entries = bin.elements.iter().map(|x| x.range.len()).saturating_sum();
limit!(1024, elem_entries, "element entries");
limit!(4096, elem_entries, "element entries");

let max_len = 512;
macro_rules! too_long {
Expand Down

0 comments on commit b50bdaa

Please sign in to comment.