Skip to content

add multisig v3 preset#501

Open
andrew-fleming wants to merge 8 commits into
OpenZeppelin:post-releasefrom
andrew-fleming:re-add-multisig-v3
Open

add multisig v3 preset#501
andrew-fleming wants to merge 8 commits into
OpenZeppelin:post-releasefrom
andrew-fleming:re-add-multisig-v3

Conversation

@andrew-fleming
Copy link
Copy Markdown
Contributor

Types of changes

What types of changes does your code introduce to OpenZeppelin Midnight Contracts?
Put an x in the boxes that apply

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Fixes #???

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 11, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: d690e371-820f-4dd9-a317-32e437e17129

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@andrew-fleming andrew-fleming marked this pull request as ready for review May 12, 2026 06:25
@andrew-fleming andrew-fleming requested review from a team as code owners May 12, 2026 06:25
Signer_assertThresholdMet(finalState.validCount);

_coinNonce = evolveNonce(_counter, _coinNonce);
const contractRecipient = right<ZswapCoinPublicKey, ContractAddress>(kernel.self());
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.

Should this be sent to a custom address? (TBD)

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.

Yes, custom address for the user, not sending to this same contract

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.

(adapt burn function to be equivalent as well)

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

(adapt burn function to be equivalent as well)

The backend infra/operator has the coin info for tokens minted so they can burn UTXOs not held by the contract; therefore, I don't see anything that needs to change with burn. LMK if I'm missing something

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

mint to recipient added aca9f95

Signer_assertThresholdMet(finalState.validCount);

_coinNonce = evolveNonce(_counter, _coinNonce);
const contractRecipient = right<ZswapCoinPublicKey, ContractAddress>(kernel.self());
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.

Yes, custom address for the user, not sending to this same contract

Signer_assertThresholdMet(finalState.validCount);

_coinNonce = evolveNonce(_counter, _coinNonce);
const contractRecipient = right<ZswapCoinPublicKey, ContractAddress>(kernel.self());
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.

(adapt burn function to be equivalent as well)

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.

2 participants