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 9 forks source link

`eth_coinbase` should reflect the actual coinbase being used on `EVM.run` #490

Closed m-Peter closed 1 month ago

m-Peter commented 1 month ago

Right now, although we have the --coinbase config flag, which is returned in eth_coinbase, we keep using the COA's address in EVM.run. The EVM Gateway operators should have the ability to specify whatever address they want for the --coinbase flag, this could be an EOA, or they can even choose the use the COA's address. Furthermore, there is a chance that some tool out there might complain about the fact that eth_coinbase is not the address collecting the fees.