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
If token swaps are enabled, the node needs up-to-date information about swapping rates. Therefore it needs to update the base rates each time a new block is received.
Tasks
Implement efficient (if possible batched) request to fetch latest base rates
If possible design an interface that make using different oracles later easy
Only query the currently enables token pairs to lower load on the ethereum nodes.
The text was updated successfully, but these errors were encountered:
We could also fetch the rate during the mediation. This would vastly reduce the number of calls and should be still acceptable from a latency perspective.
Sub-issue for #6506
Description
If token swaps are enabled, the node needs up-to-date information about swapping rates. Therefore it needs to update the base rates each time a new block is received.
Tasks
The text was updated successfully, but these errors were encountered: