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

Define correct gas limit for babylon blocks #335

Open
KonradStaniec opened this issue Mar 24, 2023 · 2 comments
Open

Define correct gas limit for babylon blocks #335

KonradStaniec opened this issue Mar 24, 2023 · 2 comments

Comments

@KonradStaniec
Copy link
Collaborator

It is follow up to #324.

Due to introducing cosmowasm we need to introduce default gas limits for babylon blocks - https://github.com/CosmWasm/wasmd#genesis-configuration

It will require checking what other chains are doing and setting some sensible defaults

@vitsalis
Copy link
Member

Why do they recommend this?

@KonradStaniec
Copy link
Collaborator Author

because with infinite gas limit, it would be possible to deploy smart contracts which when called would take a lot time to execute, and if many of such calls would be in one block then this block would take a lot time to execute, like 10min or more.

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

2 participants