Skip to content

Reject over-precise trade amounts#697

Merged
asim merged 1 commit into
mainfrom
codex/increment-696
Jun 28, 2026
Merged

Reject over-precise trade amounts#697
asim merged 1 commit into
mainfrom
codex/increment-696

Conversation

@asim

@asim asim commented Jun 28, 2026

Copy link
Copy Markdown
Member

Summary

  • Reject trade amount inputs with more fractional digits than the token supports instead of silently truncating them.
  • Add coverage for over-precise amount parsing.

Testing

  • go build ./...
  • go test ./... -short
  • go vet ./...

Closes #696

@asim asim added the codex Created by Codex label Jun 28, 2026
@asim asim merged commit 114807c into main Jun 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

codex Created by Codex

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Continuous improvement increment #31

2 participants