Skip to content

Commit

Permalink
Reduce number of levels to 9
Browse files Browse the repository at this point in the history
  • Loading branch information
LogvinovLeon committed Feb 16, 2024
1 parent 8deecb6 commit f9303fc
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion ethereum_history_api/circuits/lib/src/account.nr
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use dep::u2b::{u64_to_u8, u120_to_u8};
use crate::misc::arrays::{alter_array, sub_array_equals_up_to_length};
use crate::HASH_LENGTH;

global PROOF_LEN = 5320;
global PROOF_LEN = 4788;

struct Account {
nonce: u64,
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { padArray } from '../../util/array.js';
import { NoirArguments } from './oracles.js';

const PROOF_ONE_LEVEL_LENGTH = 532;
const MAX_PROOF_LEVELS = 10;
const MAX_PROOF_LEVELS = 9;
const PROOF_LENGTH = PROOF_ONE_LEVEL_LENGTH * MAX_PROOF_LEVELS;
const MAX_ACCOUNT_STATE_LENGTH = 134;
const ZERO_PAD_VALUE = '0x0';
Expand Down

0 comments on commit f9303fc

Please sign in to comment.