Skip to content

Fix nonce reset with epoch - #819

Open
andrew-fleming wants to merge 10 commits into
OpenZeppelin:release/v0.3.0-alpha.1-rc.0from
andrew-fleming:fix-l01-credit-nonce-epoch
Open

Fix nonce reset with epoch#819
andrew-fleming wants to merge 10 commits into
OpenZeppelin:release/v0.3.0-alpha.1-rc.0from
andrew-fleming:fix-l01-credit-nonce-epoch

Conversation

@andrew-fleming

Copy link
Copy Markdown
Contributor

Fixes #799

@andrew-fleming
andrew-fleming requested review from a team as code owners August 21, 2026 22:06
@andrew-fleming
andrew-fleming marked this pull request as draft August 21, 2026 22:14
@andrew-fleming
andrew-fleming changed the base branch from main to release/v0.3.0-alpha.1-rc.0 August 21, 2026 22:15
@andrew-fleming
andrew-fleming marked this pull request as ready for review August 21, 2026 22:23
@coderabbitai

coderabbitai Bot commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

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: 4994d4be-9bd2-44c6-8f20-32eafab96eff

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

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

Comment thread contracts/src/token/test/ConfidentialFungibleToken.test.ts
Comment thread contracts/src/token/ConfidentialFungibleToken.compact
Comment thread contracts/src/token/ConfidentialFungibleToken.compact
Comment thread contracts/src/token/ConfidentialFungibleToken.compact
Comment thread contracts/src/token/ConfidentialFungibleToken.compact
Comment thread contracts/src/token/test/ConfidentialFungibleToken.test.ts Outdated
Comment on lines +92 to +96
* - Per-account lifetime credit count is public and permanent
* (`_creditEpochs`); unlike the memo list, it does not reset on
* `clearMemos`.
* - Per-account lifetime credit count is public and permanent
* (`_creditEpochs`). It does not reset on `clearMemos`.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

7. Disclosure bullet is duplicated in the module header

nitpick: the lifetime-credit-count bullet appears twice with near-identical wording (64e9d9c added one, e855cde the other). Keep the first, it carries the memo-list contrast, and delete this one.

added by claude (dev3-midnight-basic-review)

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.

fixed f13574c

@0xisk 0xisk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM! Thank you @andrew-fleming !

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.

L-01: Credit Randomness Nonce Can Be Reset By The Recipient

2 participants