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 Functionality Issue ( getBlockGasLimit() ) #573

Open
taharj opened this issue Feb 29, 2024 · 1 comment
Open

Gas Limit Functionality Issue ( getBlockGasLimit() ) #573

taharj opened this issue Feb 29, 2024 · 1 comment

Comments

@taharj
Copy link

taharj commented Feb 29, 2024

The getBlockGasLimit() function returns block.gaslimit , which is not a valid property in
Solidity. It should be corrected to block.gaslimit .
route is :core/tests/ts-integration/contracts/context/context.sol

@PipoBrown
Copy link

Hey mate,
The error suggests that there is a typo in the code.
The correct property is block.gaslimit, not block.gaslimit with a lowercase 'L'.

Change getBlockGasLimit()
to
block.gaslimit

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