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

[EPIC] Dual Feeschedule #17701

Open
Ferparishuertas opened this issue Feb 4, 2025 · 1 comment
Open

[EPIC] Dual Feeschedule #17701

Ferparishuertas opened this issue Feb 4, 2025 · 1 comment

Comments

@Ferparishuertas
Copy link

The platform includes a Feeschedule which assigns a gas cost per opcode, and enables Gas calculation.
We included a Gas throttling system based on Max Gas executiion per second ( At this moment of time setup to 15 M).

As a malicious actor couid either generate a slow DDOS, looping a non performing opcode, slow one, or a fast execution opcode, inside an easy deployable smart contract, added to the perfomance factor of every existing opcode, we envision the existence of a new Feeschedule, based on on gas per second (time to exhaust the network based on the opcode execution).

The idea is to implement a dual feeschedule, where are able to throttle by cost as nowadays or by gas/second , performance.

@Ferparishuertas Ferparishuertas transferred this issue from hashgraph/hedera-json-rpc-relay Feb 4, 2025
@david-bakin-sl
Copy link
Member

If this epic ends up with modifications to our customized GasCalculator class this might be a good time to do #12991 as a part of it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog
Development

No branches or pull requests

2 participants