Closed jdevcs closed 1 year ago
The part that must match is code: -32000
, the rest is up to the implementation.
I haven't tried the above code yet, but I'm guessing that the reason it fails in 7.8.0 is because the new default hardfork is shanghai, which sets a new limit on initcode size. Try starting with an old hardfork like ganache --hardfork merge
or setting the new flag --chain.allowUnlimitedInitCodeSize
AND the flag --chain.allowUnlimitedContractSize
. Can you try with those flags and let me know if it makes it work again?
Thanks @davidmurdoch , we updated tests in web3.js for shanghai HF and tests are passing now with latest ganache as well. Could there be same error message in ganache like geth?
In this case I think our error message is more accurate. What was the fix you had to make?
we corrected gas limit ( due to https://eips.ethereum.org/EIPS/eip-3860 )
Hm, i'm surprised to find a difference in gas costs here.
@jdevcs We'll get the error message updated. I've opened an issue upstream to get this sorted: https://github.com/ethereumjs/ethereumjs-monorepo/issues/2664
Thanks for taking the time to open this issue!
Looks like this is actually a duplicate of https://github.com/trufflesuite/ganache/issues/4183 Closing this one to track it there.
For following request:
on Ganache v7.7.7 it is passing
on Ganache v7.8.0 it is failing with following message:
with Geth/v1.11.5-omnibus-65be78cc It fails with following message: