Skip to content

Conversation

@yeguclu
Copy link

@yeguclu yeguclu commented Jan 16, 2026

📝 Summary

Update optimistic v3 adjustments to use adjustment data v3 format with placeholder_gas_used.

💡 Motivation and Context

For payout transactions, gas_used may differ from gas_limit. The v3 adjustment data format relaxes the gas_limit == gas_used assumption by explicitly providing placeholder_gas_used, allowing the relay to use the actual gas consumed. https://docs.ultrasound.money/builders/optimistic-v3

Without placeholder_gas_used, incorrect gas cost calculations can cause adjustment failures in some cases. Including this field in v3 format enables accurate adjustment processing.


✅ I have completed the following steps:

  • [✅ ] Run make lint
  • [✅ ] Run make test
  • Added tests (if applicable)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant