Skip to content

Private owners#10

Open
khemiriwalid wants to merge 4 commits into1kx-network:private_ownersfrom
MicrochainLabs:private_owners
Open

Private owners#10
khemiriwalid wants to merge 4 commits into1kx-network:private_ownersfrom
MicrochainLabs:private_owners

Conversation

@khemiriwalid
Copy link
Copy Markdown
Contributor

No description provided.

@valeryz-1kx valeryz-1kx changed the base branch from main to private_owners December 16, 2024 14:49
Copy link
Copy Markdown
Contributor

@valeryz valeryz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, however why does the circuit now support only 4 signers?

Comment thread circuits/src/main.nr

fn main(threshold: pub u8, signers: [PubKey; 10], signatures: [Signature; 10], txn_hash: pub Hash, owners: pub [Address; 10]) {
verify_signers(threshold, signers, signatures, txn_hash, owners);
fn main(threshold: pub u8, signers: [PubKey; 4], signatures: [Signature; 4], txn_hash: pub Hash, owners_root: pub Field, indices: [Field; 4], siblings: [[Field; TREE_SIZE]; 4]) {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do we have only 4 signers down from 10?

@valeryz valeryz self-assigned this Apr 4, 2025
@valeryz
Copy link
Copy Markdown
Contributor

valeryz commented Apr 4, 2025

Hey Khwlid @khemiriwalid, did you have a change to make it work with more than four signers? I guess the problem was too high RAM usage of WASM prover in the newer versions of Noir. Need to either resolve that or roll back to older versions.

@valeryz valeryz mentioned this pull request May 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants