Skip to content

Address spearbit audit comments - #5

Merged
cxkoda merged 1 commit into
mainfrom
spearbit-4
Jan 21, 2026
Merged

Address spearbit audit comments#5
cxkoda merged 1 commit into
mainfrom
spearbit-4

Conversation

@cxkoda

@cxkoda cxkoda commented Jan 21, 2026

Copy link
Copy Markdown
Collaborator
  • Improve error messages with more context (got/want pattern)
  • Add critical assumption documentation for token value parity
  • Use address type in error params instead of IERC20 for clarity
  • Add Stage[] parameter to InvalidStage error for better debugging
  • Update tests to match new error signatures

- Improve error messages with more context (got/want pattern)
- Add critical assumption documentation for token value parity
- Use address type in error params instead of IERC20 for clarity
- Add Stage[] parameter to InvalidStage error for better debugging
- Update tests to match new error signatures
@cxkoda
cxkoda merged commit 7ee1e86 into main Jan 21, 2026
3 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