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
// the latest block height seen and a queue of events
// awaiting a certain number of confirmations
letmut latest_block;
letmut pending:Vec<PendingEvent> = Vec::new();
loop{
Currently, the Ethereum event oracle checks for new blocks/events as soon as it has finished the previous check. We should back off inbetween checks (e.g. sleep 1 second), so that we don't spam the Ethereum JSON-RPC endpoint we are using, or spam logs.
namada/apps/src/lib/node/ledger/ethereum_node/oracle.rs
Lines 122 to 128 in 60a0c99
Currently, the Ethereum event oracle checks for new blocks/events as soon as it has finished the previous check. We should back off inbetween checks (e.g. sleep 1 second), so that we don't spam the Ethereum JSON-RPC endpoint we are using, or spam logs.
Extra context - #253 (comment)
The text was updated successfully, but these errors were encountered: