2025 07 15 erc20 balance#361
Conversation
WalkthroughThis change re-enables and updates the ERC20 Changes
Sequence Diagram(s)sequenceDiagram
participant Interpreter
participant LibAllStandardOps
participant LibOpERC20BalanceOf
participant ERC20Token
Interpreter->>LibAllStandardOps: Execute opcode (erc20-balance-of)
LibAllStandardOps->>LibOpERC20BalanceOf: Call run(state, operand, stackTop)
LibOpERC20BalanceOf->>ERC20Token: Call balanceOf(account)
ERC20Token-->>LibOpERC20BalanceOf: Return balance (uint256)
LibOpERC20BalanceOf->>LibOpERC20BalanceOf: Convert balance to Float (decimal float)
LibOpERC20BalanceOf-->>LibAllStandardOps: Return Float on stack
LibAllStandardOps-->>Interpreter: Continue execution
Possibly related PRs
📜 Recent review detailsConfiguration used: CodeRabbit UI ⛔ Files ignored due to path filters (3)
📒 Files selected for processing (7)
🧰 Additional context used🧠 Learnings (4)📓 Common learningstest/src/lib/op/erc20/LibOpERC20BalanceOf.t.sol (1)test/abstract/OpTest.sol (1)src/lib/op/erc20/LibOpERC20BalanceOf.sol (1)⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
🔇 Additional comments (23)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 (
|
Motivation
Solution
Checks
By submitting this for review, I'm confirming I've done the following:
Summary by CodeRabbit
New Features
Refactor
Tests
Bug Fixes