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

eth_sendRawTransaction method slow response #692

Closed j1010001 closed 25 minutes ago

j1010001 commented 2 days ago

Problem

On both current TN and MN (TN: v1.0.0-rc.13, MN v0.37.1) eth_sendRawTransaction takes 8-15 secs to return the Tx hash, which is very slow and makes some use cases / apps (like trading bots) to be impractical to implement. Tx example: https://evm-testnet.flowscan.io/tx/0x896c72cdde15aad4a92881ff96671bd758634f50529cfd6278454c2c5c8f71ce?tab=index

Investigate why the Tx takes so long to return the hash and propose improvements to reduce the latency of this method.

m-Peter commented 2 days ago

Investigation has been done as part of https://github.com/onflow/flow-evm-gateway/issues/654

j1010001 commented 25 minutes ago

Closing - Will be fixed when we implement solution for https://github.com/onflow/flow-evm-gateway/issues/654