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

Block gaslimit should be 30000000 GAS #2740

Closed
Neurone opened this issue Jul 23, 2024 · 0 comments · Fixed by #2938
Closed

Block gaslimit should be 30000000 GAS #2740

Neurone opened this issue Jul 23, 2024 · 0 comments · Fixed by #2938
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Neurone
Copy link
Contributor

Neurone commented Jul 23, 2024

Description

When querying block information, the block gasLimit is shown as 15M GAS (15000000). The correct value should be 30M GAS (30000000). This happens for all public networks (mainnet, testnet and previewnet).

Steps to reproduce

Query the public networks for block information:

❯ cast block latest --rpc-url https://mainnet.hashio.io/api

baseFeePerGas        1230000000000
difficulty           0
extraData            0x
gasLimit             15000000
gasUsed              0
hash                 0xbf9cd52312540ba120ab91fc59a8d00b4fe394b19e60495bec4c1d14d1c5693f
logsBloom            0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
miner                0x0000000000000000000000000000000000000000
mixHash              0x0000000000000000000000000000000000000000000000000000000000000000
nonce                0x0000000000000000
number               66858554
parentHash           0x3a4db7e2ad768dab95f2127930bc650cc8effc02b573696b0a5c8813fe8d0b66
transactionsRoot     0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
receiptsRoot         0x0000000000000000000000000000000000000000000000000000000000000000
sha3Uncles           0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
size                 682502
stateRoot            0x0000000000000000000000000000000000000000000000000000000000000000
timestamp            1721748748
withdrawalsRoot      0x0000000000000000000000000000000000000000000000000000000000000000
totalDifficulty      0
transactions:        []


❯ cast block latest --rpc-url https://testnet.hashio.io/api

baseFeePerGas        1230000000000
difficulty           0
extraData            0x
gasLimit             15000000
gasUsed              108617
hash                 0xbfcb7d0777f17437cd09b60361383657c9f4088fdd280cd8a81692f822e13034
logsBloom            0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
miner                0x0000000000000000000000000000000000000000
mixHash              0x0000000000000000000000000000000000000000000000000000000000000000
nonce                0x0000000000000000
number               6921714
parentHash           0x81bb2b2b3cb326a9164f879840a6056d75d491757e3d1cc6b959233c300aa9c6
transactionsRoot     0xbfcb7d0777f17437cd09b60361383657c9f4088fdd280cd8a81692f822e13034
receiptsRoot         0x0000000000000000000000000000000000000000000000000000000000000000
sha3Uncles           0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
size                 3662
stateRoot            0x0000000000000000000000000000000000000000000000000000000000000000
timestamp            1721748756
withdrawalsRoot      0x0000000000000000000000000000000000000000000000000000000000000000
totalDifficulty      0
transactions:        [
	0x9985171cd35dd1d0d913cdf257f80195b70c0bc4f3ddc630e3cdd389b4d09374
	0x2dc53875a197b4c0ee1d9372d50c5d15f4086d3a3e9ee5dcc3c704f960715ac0
]


❯ cast block latest --rpc-url https://previewnet.hashio.io/api

baseFeePerGas        710000000000
difficulty           0
extraData            0x
gasLimit             15000000
gasUsed              0
hash                 0x38102d37d55cce332d8564d66e54abdaf12dd5fb51727dc6ddb8d768c5405600
logsBloom            0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
miner                0x0000000000000000000000000000000000000000
mixHash              0x0000000000000000000000000000000000000000000000000000000000000000
nonce                0x0000000000000000
number               477381
parentHash           0x111f0dd3651934f23dab53670bb7c709d545b77564b2c2dd5b02bc21dadfd907
transactionsRoot     0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421
receiptsRoot         0x0000000000000000000000000000000000000000000000000000000000000000
sha3Uncles           0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347
size                 1656
stateRoot            0x0000000000000000000000000000000000000000000000000000000000000000
timestamp            1721748761
withdrawalsRoot      0x0000000000000000000000000000000000000000000000000000000000000000
totalDifficulty      0
transactions:        []

Additional context

No response

Hedera network

mainnet, testnet, previewnet

Version

v0.51.3

Operating system

None

@Neurone Neurone added the bug Something isn't working label Jul 23, 2024
@quiet-node quiet-node added this to the 0.53.0 milestone Jul 23, 2024
@quiet-node quiet-node removed this from the 0.53.0 milestone Aug 12, 2024
@ebadiere ebadiere moved this from Backlog to Sprint Backlog in Smart Contract Sprint Board Aug 19, 2024
@natanasow natanasow self-assigned this Sep 4, 2024
@natanasow natanasow added this to the 0.56.0 milestone Sep 4, 2024
@natanasow natanasow moved this from Sprint Backlog to In Review in Smart Contract Sprint Board Sep 4, 2024
@github-project-automation github-project-automation bot moved this from In Review to Done in Smart Contract Sprint Board Sep 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants