Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Align reset variant sizes after constants changes #7340

Merged
merged 1 commit into from
Jul 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ use dep::types::{
}
};

global NOTE_HASH_PENDING_AMOUNT = MAX_NOTE_HASH_READ_REQUESTS_PER_TX; // 128
global NOTE_HASH_PENDING_AMOUNT = MAX_NOTE_HASH_READ_REQUESTS_PER_TX; // 64
global NOTE_HASH_SETTLED_AMOUNT = MAX_NOTE_HASH_READ_REQUESTS_PER_TX;
global NULLIFIER_PENDING_AMOUNT = MAX_NULLIFIER_READ_REQUESTS_PER_TX; // 128
global NULLIFIER_PENDING_AMOUNT = MAX_NULLIFIER_READ_REQUESTS_PER_TX; // 64
global NULLIFIER_SETTLED_AMOUNT = MAX_NULLIFIER_READ_REQUESTS_PER_TX;
global NULLIFIER_KEYS = MAX_KEY_VALIDATION_REQUESTS_PER_TX; // 64

Expand Down
24 changes: 12 additions & 12 deletions noir-projects/noir-protocol-circuits/reset_variants.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,32 +3,32 @@
"tag": "big",
"priority": 98,
"replacements": {
"NOTE_HASH_PENDING_AMOUNT": 64,
"NOTE_HASH_SETTLED_AMOUNT": 64,
"NULLIFIER_PENDING_AMOUNT": 64,
"NULLIFIER_SETTLED_AMOUNT": 64,
"NOTE_HASH_PENDING_AMOUNT": 32,
"NOTE_HASH_SETTLED_AMOUNT": 32,
"NULLIFIER_PENDING_AMOUNT": 32,
"NULLIFIER_SETTLED_AMOUNT": 32,
"NULLIFIER_KEYS": 32
}
},
{
"tag": "medium",
"priority": 99,
"replacements": {
"NOTE_HASH_PENDING_AMOUNT": 32,
"NOTE_HASH_SETTLED_AMOUNT": 32,
"NULLIFIER_PENDING_AMOUNT": 32,
"NULLIFIER_SETTLED_AMOUNT": 32,
"NOTE_HASH_PENDING_AMOUNT": 16,
"NOTE_HASH_SETTLED_AMOUNT": 16,
"NULLIFIER_PENDING_AMOUNT": 16,
"NULLIFIER_SETTLED_AMOUNT": 16,
"NULLIFIER_KEYS": 16
}
},
{
"tag": "small",
"priority": 100,
"replacements": {
"NOTE_HASH_PENDING_AMOUNT": 16,
"NOTE_HASH_SETTLED_AMOUNT": 16,
"NULLIFIER_PENDING_AMOUNT": 16,
"NULLIFIER_SETTLED_AMOUNT": 16,
"NOTE_HASH_PENDING_AMOUNT": 8,
"NOTE_HASH_SETTLED_AMOUNT": 8,
"NULLIFIER_PENDING_AMOUNT": 8,
"NULLIFIER_SETTLED_AMOUNT": 8,
"NULLIFIER_KEYS": 8
}
}
Expand Down
Loading