onflow / flow-evm-gateway

FlowEVM Gateway implements an Ethereum-equivalent JSON-RPC API for EVM clients to use
https://developers.flow.com/evm/about
Apache License 2.0
11 stars 10 forks source link

Implement checksum checking #572

Closed sideninja closed 1 month ago

sideninja commented 1 month ago

The local register index should validate the changes to the state by using the checksum provided by the EN. That is dependent on the PR https://github.com/onflow/flow-go/pull/6456

After each transaction we can produce the checksum and compare that checksum with the checksum we receive from the EN via the transaction executed event. If those checksum match we can be sure the state is correct.

j1010001 commented 1 month ago

Closing, duplicate of https://github.com/onflow/flow-go/issues/6539, implemented in https://github.com/onflow/flow-go/pull/6544, https://github.com/onflow/flow-go/pull/6545, https://github.com/onflow/flow-go/pull/6546