Why am I getting a rejection error when using "eth_call" on L2 (zkEVM) for contract creation?

Created by Sourajyoti Gupta, Modified on Fri, 28 Jul, 2023 at 7:21 PM by Sourajyoti Gupta

eth_call doesn't support state override at the moment. 

Here you will find the list of all supported JSON RPC endpoints and any differences between them in comparison to the default behavior of an ethereum node.

https://github.com/0xPolygonHermez/zkevm-node/blob/develop/docs/json-rpc-endpoints.md

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article