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
8 stars 5 forks source link

Validation of transactions submitted #117

Closed sideninja closed 2 hours ago

sideninja commented 4 months ago

Right now EVM gateway will forward transaction no matter the contents and rely on EVM Core to validate it and process it. We should validate the transactions in EVM gateway to prevent invalid transactions being forwarded but also to do further validation based on configuration. Some rules should be implemented:

m-Peter commented 1 month ago
m-Peter commented 2 weeks ago

The transaction validation logic from Geth: https://github.com/ethereum/go-ethereum/blob/master/core/txpool/validation.go#L202