Persist trade's gas cost - #4743
Conversation
|
Reminder: Please update the DB Readme and comment whether migrations are reversible (include rollback scripts if applicable).
Caused by: |
830b2f5 to
b38c40d
Compare
|
Claude finished @jmg-duarte's task in 3m 55s —— View job PR Review: Persist trade's gas cost
I reviewed the full diff and traced the surrounding code paths. This is a clean, well-tested, well-documented change — I did not find any blocking issues, so I'm not posting inline comments. Things I explicitly verified:
Minor confirmations aligned with the PR description: the LGTM. ✅ |
Description
Turns out that the changes in #4540 (at the time of writing) would add a bit of runtime to the settlement query (which we really don't want), the solution is to pre-compute the required information instead of doing it on demand.
This PR introduces the logic to do so.
Changes
_with_gas_costTesting
Added a test