Skip to content

Conversation

@ali-behjati
Copy link
Collaborator

@ali-behjati ali-behjati commented Nov 16, 2023

This PR will use the latest slot of the publisher for staleness pricing. The issues that this solve is a publisher publishing for a not yet live feed and also a publisher publishing during market close hours. We can roll out this change to all the publishers without the market-close change and it should be similarly effective.

This change also includes changing the default variables for staleness gap and max paid price for priority fees.

  • staleness gap rationale: the rpc might be a bit behind by a few slots. Considering this delay and the exponential pricing this should change the unit price when the feed is really getting stale and doubling if it is still stale.
  • max paid price: the lowered value will result in almost 5m priority fee which is very high.

We will modify them later based on the performance of the publishers.

@ali-behjati ali-behjati force-pushed the ali-patch branch 2 times, most recently from 0f89067 to 7ed5c2a Compare November 16, 2023 17:20
@Reisen
Copy link
Contributor

Reisen commented Nov 16, 2023

Can you update the PR text with a little bit more clarity around the numbers, what you expect the burn-rate to be practically in the scenario this covers?

@ali-behjati
Copy link
Collaborator Author

I added some comments on the code.

@ali-behjati ali-behjati merged commit 6e6ecbf into main Nov 16, 2023
@ali-behjati ali-behjati deleted the ali-patch branch November 16, 2023 18:03
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.

4 participants