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

Gas limit not enforced #1296

Open
karlem opened this issue Feb 20, 2025 · 1 comment
Open

Gas limit not enforced #1296

karlem opened this issue Feb 20, 2025 · 1 comment

Comments

@karlem
Copy link
Contributor

karlem commented Feb 20, 2025

Currently, the PrependOnly mode for BytesInterpreter is always used in run.rs#L155. This means that user messages are not passed to the inner chain interpreter which is ChainInterpreter in this case for prepare calls (bytes.rs#L96).

As a result, the code responsible for selecting messages and checking the gas limit in chain.rs#L119 does not currently execute.

Copy link

linear bot commented Feb 20, 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