You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the gateway will query the Access node for its latest block for each transaction it sends. This is used to get the block ID and then to set the Reference Block ID when preparing the Cadence tx.
When the gateways are handling a large number of transactions, this will result in lots of calls to the AN, which will get rate-limited eventually.
Solution
Move the latest block fetching outside of the request/response lifecycle of eth_sendRawTransaction, to its own process. This will make the tx submission faster, and reduce the load on ANs.