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

Prioritize DA Gas Price over Exec Gas Price #2627

Open
MitchTurner opened this issue Jan 23, 2025 · 0 comments
Open

Prioritize DA Gas Price over Exec Gas Price #2627

MitchTurner opened this issue Jan 23, 2025 · 0 comments
Assignees

Comments

@MitchTurner
Copy link
Member

We can redesign the gas price algorithm to allocate as much of the total gas price to paying for DA costs. So we can limit the amount it can change total, but internally it can increase to e.g. 99% DA, 1% Exec.

i.e. if the Profit is negative, the algorithm will increase the DA Gas Price. Let’s say the DA gas Price is 2000 and the exec is 1000. This increase might result in a DA gas Price of 2200 and an exec of 1000, with a total of 3200. Instead we can just cap the total increase: 3000 → 3300, and not put any limit on the percentage of which that goes to DA. e.g. 3100 could be DA and 200 could be Exec. As long as we are covering the minimum costs of Executing txs, then the DA portion can serve two purposes: paying for DA costs and discouraging spamming.

@MitchTurner MitchTurner self-assigned this Jan 23, 2025
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

No branches or pull requests

1 participant