Orakl Network Data Feed Reporter is supposed to handle multiple data feeds at once. Submissions to data feeds can come at the same or similar times, and it takes a while before the requests are processed (transaction receipt received). Aggregator smart contract is sensitive to delays, therefore we have to eliminate dependency between various data feeds.
Current State
we are waiting for transaction receipt from JSON-RPC API
it can take up to 5 seconds to receive transaction receipt
ethers.js automatically assigns nonce to transactions
there are no two transactions processed at once
Future State
waiting for transaction receipt should not affect (slow down) other data feeds
Possible Solutions
Unique reporter address for each data feed (hard to manage, easy to scale)
Handle nonce by ourselves (easy to manage, hard to scale)
Orakl Network Data Feed Reporter is supposed to handle multiple data feeds at once. Submissions to data feeds can come at the same or similar times, and it takes a while before the requests are processed (transaction receipt received). Aggregator smart contract is sensitive to delays, therefore we have to eliminate dependency between various data feeds.
Current State
nonce
to transactionsFuture State
Possible Solutions