-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(web): arbitraion-cost-decimals #1887
Conversation
WalkthroughThe change updates the precision used for calculating the arbitration fee in the Changes
Sequence Diagram(s)sequenceDiagram
participant U as User
participant J as Jurors Component
participant F as formatETH Function
U->>J: Request arbitration fee display
J->>F: Call formatETH(data ?? BigInt(0), 18)
F-->>J: Return formatted arbitration fee
J-->>U: Display arbitration fee with 18 decimal precision
Poem
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (15)
🔇 Additional comments (1)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
✅ Deploy Preview for kleros-v2-neo ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kleros-v2-testnet ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for kleros-v2-testnet-devtools ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Code Climate has analyzed commit 920bf9f and detected 0 issues on this pull request. View more on Code Climate. |
|
✅ Deploy Preview for kleros-v2-university ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
PR-Codex overview
This PR updates the
arbitrationFee
calculation in theJurors.tsx
file to use a precision of 18 decimal places instead of 5, ensuring more accurate representation of Ethereum values.Detailed summary
arbitrationFee
from 5 to 18 decimal places in theformatETH
function.Summary by CodeRabbit