Skip to content

Document and test requireSomeUintError#1941

Merged
Th0rgal merged 1 commit into
mainfrom
docs-tests-require-some-uint-error
May 27, 2026
Merged

Document and test requireSomeUintError#1941
Th0rgal merged 1 commit into
mainfrom
docs-tests-require-some-uint-error

Conversation

@Th0rgal
Copy link
Copy Markdown
Member

@Th0rgal Th0rgal commented May 27, 2026

Summary

  • document requireSomeUintError in the arithmetic profile and EDSL API reference
  • add negative macro tests for unknown custom errors, wrong custom-error arity, and unsupported requireSomeUintError sources
  • share safe arithmetic guard/value lowering between requireSomeUint and requireSomeUintError

Verification

  • git diff --check origin/main...HEAD
  • lake build Compiler.MacroCustomErrorFeatureTest
  • lake build Contracts.Common Verity.Macro.Translate
  • make check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
verity Ready Ready Preview, Comment May 27, 2026 11:04am

Request Review

@Th0rgal Th0rgal merged commit 9eaf642 into main May 27, 2026
19 of 21 checks passed
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