Skip to content

docs(contracts): mark the math library as moved to compact-contracts - #324

Draft
pepebndc wants to merge 1 commit into
mainfrom
docs/deprecate-math
Draft

pepebndc wants to merge 1 commit into
mainfrom
docs/deprecate-math

Conversation

@pepebndc

Copy link
Copy Markdown

Marks the math library in contracts/src/math as deprecated. The library moved to OpenZeppelin/compact-contracts (stack #1125 to #1148).

Changes

  • Add a deprecation warning at the top of contracts/src/math/README.md. It points to the new location and lists the defects that the new version fixes.
  • Add a two-line deprecation comment to the header of each of the 8 math modules.

The code does not change. The library stays in this repository for reference.

Validation

  • compact format --check contracts/src/math: no change.
  • The modules compile as before (comments only).

Merge this PR after the compact-contracts stack is merged, so that the link to contracts/src/math on main resolves.

@coderabbitai

coderabbitai Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

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

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.

1 participant