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

Add computation limits on transactions #3820

Open
cmwaters opened this issue Aug 26, 2024 · 1 comment
Open

Add computation limits on transactions #3820

cmwaters opened this issue Aug 26, 2024 · 1 comment

Comments

@cmwaters
Copy link
Contributor

cmwaters commented Aug 26, 2024

Summary

We want to prevent situations that could lead to excessive computation which could also slow down the network (This could happen if all the transactions in an 8MB block were IBC headers for example).

Proposal

We could introduce an upper bound on the amount of txs or we could use the MaxGas field in the ConsensusParams.

@cmwaters
Copy link
Contributor Author

One of the first steps would be to benchmark the effects of "computationally heavy" transactions on execution by seeing how long it would take to execute 1000 IBC headers or 5000 Send Txs

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

No branches or pull requests

2 participants