Skip to content
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

consider increasing fixed relayer fee or making it dynamic w.r.t gas price #430

Open
noot opened this issue Apr 26, 2023 · 0 comments
Open
Assignees
Labels
feature new feature to be implemented p1 high priority research research required

Comments

@noot
Copy link
Collaborator

noot commented Apr 26, 2023

the gas for a relayer to relay a claim is 85040. given the current relayer fee of 0.009 ETH, a relayer will break even at a network gas price of 106 gwei. if the gas price goes any higher than that, it's not profitable for relayers any more. this would be very bad. although we haven't seen prices this high usually, if there's another bull market or some other pump, it'll definitely go that high.

in this case, we need to increase the fixed relayer fee. however it'll be less maintainence/release-pain to have a dynamic fee that varies based on the current gas price (and that varies the same for all relayers). for example, we could say relayers should always get a profit of 0.005 ETH per tx, and then given a gas price oracle, we can calculate the fee from that.

@noot noot added research research required feature new feature to be implemented p2 medium priority labels Apr 26, 2023
@noot noot added p1 high priority and removed p2 medium priority labels May 3, 2023
@noot noot self-assigned this May 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature new feature to be implemented p1 high priority research research required
Projects
None yet
Development

No branches or pull requests

1 participant