[Trivial] Log decoded settlement tx to simulation log during /solve#4511
[Trivial] Log decoded settlement tx to simulation log during /solve#4511fleupold wants to merge 1 commit into
Conversation
|
Claude finished @fleupold's task in 1m 58s —— View job Claude PR Review
SummaryLGTM — small, well-scoped change that does exactly what the description says: adds Observations
Nits
Nothing blocking. Ship it. |
There was a problem hiding this comment.
Code Review
This pull request adds the transaction field (specifically transaction.internalized) to the debug log during simulated settlement inspection in settlement.rs. No critical issues were found, and there is no feedback to provide.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Description
I'd like to see how a non-winning, non-colocated solver would have settled a transaction in case they had won. I believe this is currently not possible (we only log the transaction when a solver was selected for winning). This information shouldn't be publicly available (solvers only want to commit to a solution if they win), but logging it for debugging purposes should be fine.
I only log the internalized representation, because this is the one that would make it on-chain. Since we simplified buffer accounting (solver takes the risk), we probably no longer need to look at uninternalized calldata.
Changes