const result = await myContract.methods.myMethod(1).call();
brings the error from above. There is a simmilar questions here but since I use call
gas shouldn't matter. I'm using "web3": "1.0.0-beta.35", (Beta.36 doesn't work for me at all.)
bignumberweb3js
const result = await myContract.methods.myMethod(1).call();
brings the error from above. There is a simmilar questions here but since I use call
gas shouldn't matter. I'm using "web3": "1.0.0-beta.35", (Beta.36 doesn't work for me at all.)
Best Answer
Note that I believe this is fixed in the latest v3.0.0 of web3 which isn't out yet. This issue is now occuring for Binance Smart Chain. In the meantime, this fix worked for me:
https://github.com/ChainSafe/web3.js/pull/3948#issuecomment-821779691