Skip to content

Private owners - #10

Open
khemiriwalid wants to merge 4 commits into
1kx-network:private_ownersfrom
MicrochainLabs:private_owners
Open

Private owners#10
khemiriwalid wants to merge 4 commits into
1kx-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

@valeryz valeryz left a comment

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.

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

valeryz commented Apr 4, 2025

Copy link
Copy Markdown
Contributor

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