Skip to content

Use a constructor in privacy-pools mock token - #412

Merged
leighmcculloch merged 1 commit into
mainfrom
use-constructor-in-mock-token
Aug 12, 2026
Merged

Use a constructor in privacy-pools mock token#412
leighmcculloch merged 1 commit into
mainfrom
use-constructor-in-mock-token

Conversation

@leighmcculloch

@leighmcculloch leighmcculloch commented Aug 12, 2026

Copy link
Copy Markdown
Member

What

Replace the privacy-pools test mock token's initialize function with a __constructor, passing its arguments at registration.

Why

The mock token demonstrated a pre-constructor initialization pattern that no longer reflects typical practices.

Related #412

@leighmcculloch
leighmcculloch requested a review from a team August 12, 2026 05:36
@leighmcculloch
leighmcculloch marked this pull request as ready for review August 12, 2026 05:37
Copilot AI balanced review requested due to automatic review settings August 12, 2026 05:37

Copilot AI 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.

Pull request overview

Updates the privacy-pools mock token to use constructor-based initialization.

Changes:

  • Replaces initialize with __constructor.
  • Passes token metadata and admin during registration.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@leighmcculloch
leighmcculloch merged commit f0d194f into main Aug 12, 2026
260 of 263 checks passed
@leighmcculloch
leighmcculloch deleted the use-constructor-in-mock-token branch August 12, 2026 20:52
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