1inch-U88: ar stream updates#9251
Conversation
PR SummaryMedium Risk Overview Also updates Written by Cursor Bugbot for commit 8946557. Configure here. |
There was a problem hiding this comment.
Pull request overview
This PR adds calculations for useful input data in the 1inch AggregationRouterV6 by introducing a new useful field to track the offset where meaningful call input data ends, and updating the remains calculation to filter out zero values.
Changes:
- Added
usefulfield to method configurations to precisely calculate the end of useful input data - Modified
call_input_remainscalculation to use the newusefulfield as the primary offset - Updated
remainsarray processing to filter out zero values
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| oneinch_ar_macro.sql | Adds useful field extraction, updates call_input_remains calculation to use it, and filters zeros from remains array |
| oneinch_ar_contracts_cfg_macro.sql | Defines useful offset values for each AggregationRouterV6 method based on parameter count |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
added calculations of useful input data for AggregationRouterV6
easy dates success run