5

It appears as though Ropsten still has a limit of 4.7m gas while mainnet is almost 8m. This makes testing for real-world dapps difficult.

Why is it that ropsten and mainnet are not in alignment with the block gas limit?

3

Miners determine the block gas limit, so its not a fixed number. So it seems like miners running on Ropsten aren't changing the block gas limit. I believe the Rinkeby block gas limit is at ~7M, so perhaps you can try testing on there? Or you could using ganache-cli and manually set a block gas limit.

  • 4
    Any idea why miners would choose to not mirror mainnet? – Mike Shultz Apr 6 '18 at 17:56
  • +1 @MikeShultz have you found out? – Nic Szerman Jul 27 '18 at 19:07
  • @NicSzer Nope... – Mike Shultz Jul 27 '18 at 22:53
  • I think it's just about incentives, a higher gas limit means miners would have to perform more computations in every block - which costs money. – Paul Razvan Berg Jan 17 at 10:05
2

I had the same issue around the same time of OP's question. Dani from Infura was kind enough to point me at the Ropsten's Gitter channel --

https://gitter.im/ethereum/ropsten

To my delight, soon after I chatted it in Gitter -- of course it could just be a pure coincidence -- Ropsten gas limit was raised to 7M, until it came down to 4.7M a few days ago.

So the point of the story is: Ropsten is still very opaque and unpredictable.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.