0xPolygonHermez / zkevm-node

Go implementation of a node that operates the Polygon zkEVM Network
Other
531 stars 685 forks source link

eth_call enable ooc check #3631

Closed giskook closed 4 months ago

giskook commented 4 months ago

Closes https://github.com/0xPolygonHermez/zkevm-node/issues/3632.

What does this PR do?

Reviewers

Main reviewers:

Codeowner reviewers:

cla-bot[bot] commented 4 months ago

We require contributors/corporates @giskook to read our Contributor License Agreement, please check the Individual CLA document/Corporate CLA document

tclemos commented 4 months ago

Hi @giskook, thanks for your contribution.

The eth_call doesn't report OOC errors because we understand this method is used to read information from the chain and not to change its state.

We have a custom endpoint called zkevm_estimateCounters to help check for OOC; it uses the same parameters as the eth_call, but the response is focused on the counters.