-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat: add tip router merkle root upload support #128
Conversation
@@ -471,6 +526,8 @@ pub struct Claim<'info> { | |||
#[account(mut, rent_exempt = enforce)] | |||
pub tip_distribution_account: Account<'info, TipDistributionAccount>, | |||
|
|||
pub merkle_root_upload_authority: Signer<'info>, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@buffalu worth having merkle_root_upload_authority as a separate signer here rather than just replacing the payer
field with this? Changes the claim
interface which is probably fine since any third party claimers would break with this change anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no strong feelings either way.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Keep me posted on the final verdict
TipDistributionAccount.merkle_root_upload_authority
to be the TipRouter's authority IF it's the current Jito authority (GZctHpWXmsZC1YHACTGGcHhYxjdRqQvTpYkb9LMvxDib
)