-
Notifications
You must be signed in to change notification settings - Fork 260
chore(apps/price_pusher): update jito bundle endpoint #2530
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
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎ 6 Skipped Deployments
|
@@ -174,7 +174,7 @@ export class SolanaPricePusherJito implements IPricePusher { | |||
async getRecentJitoTipLamports(): Promise<number | undefined> { | |||
try { | |||
const response = await fetch( | |||
"http://bundles-api-rest.jito.wtf/api/v1/bundles/tip_floor", | |||
"https://bundles.jito.wtf/api/v1/bundles/tip_floor", | |||
); | |||
if (!response.ok) { | |||
this.logger.error( |
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.
shall we make it warning? because if it doesn't work we default to something else (and hopefully other alerts should catch it up if it results into not landing txs)
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.
yup good point will make the change
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.
I like error better for easy detection
Summary
Rationale
How has this been tested?