Skip to content

New branch - #920

Open
Abuh-Bakar wants to merge 2 commits into
FinChippay:mainfrom
Abuh-Bakar:new-branch
Open

New branch#920
Abuh-Bakar wants to merge 2 commits into
FinChippay:mainfrom
Abuh-Bakar:new-branch

Conversation

@Abuh-Bakar

Copy link
Copy Markdown

Implemented the simulation safety updates in:

  • useTransactionSimulation.ts
  • TransactionSimulationPreview.tsx
  • TransactionSimulationPreview.test.tsx

Changes include capped amounts and fees, negative/non-finite value detection, asset-aware precision formatting, clear simulation errors, and tests for huge and negative values.

Validation: Everything passed.
Made changes.

Closes #907

@github-actions github-actions Bot added the needs-review PR ready for Greptile AI code review label Aug 26, 2026
@github-actions

Copy link
Copy Markdown

🤖 Greptile AI Code Review

Greptile will automatically review this PR (3 file(s) changed).

Review gates:

  • ✅ CodeQL Security Scan
  • ✅ Custom rules (.greptile/config.json)
  • ✅ Architecture guidelines (.greptile/rules.md)

To manually trigger a re-review, comment @greptileai on this PR.
To skip review, add the skip-review label.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-review PR ready for Greptile AI code review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

#130 — / Don't Bound Simulation Results: Malicious Amounts Can Render Huge Numbers

1 participant