Skip to content

Conversation

@claravanstaden
Copy link
Contributor

Adds:

  • SDK methods to add a tip to both Inbound and Outbound messages
  • Add checking if there is a tip in the gas estimator
  • Add the tip to the relayer profitability check in the relayer

@yrong
Copy link
Contributor

yrong commented Nov 27, 2025

Cool. For the P→E direction, I assume that tip will be accumulated directly into the fee in the pendingOrder storage, which the relayer already uses to calculate profit here. In this case, no changes are required on the parachain relayer side.

Copy link
Contributor

@yrong yrong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

Copy link
Contributor

@alistair-singh alistair-singh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, small request to change enums to type unions.

@claravanstaden
Copy link
Contributor Author

@alistair-singh good point! Done in ced993a (and formatted)

@claravanstaden claravanstaden changed the title Add Tip API and Tip Check in Relayer Profitability Add tip API and tip check in relayer profitability Nov 28, 2025
@claravanstaden claravanstaden merged commit 5fba3c7 into main Dec 4, 2025
2 checks passed
@claravanstaden claravanstaden deleted the clara/add-tip-api branch December 4, 2025 08:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants