Synthetixio / synthetix-v3

MIT License
114 stars 56 forks source link

Oracle manager process many #2215

Closed dbeal-eth closed 5 days ago

dbeal-eth commented 1 month ago

adds a capability for oracle manager to process many oracles at the same time, and if one oracle fails, it saves the error and returns them all as a batch that can be conveniently read by the client all at once

it is expected that this change will significantly improve the UX of the frontend and other places that are dependent upon the use of ERC7412 by reducing the number of callbacks required to simulate the txn to just 1.

notes:

dbeal-eth commented 3 weeks ago

sending this into audit, will look into improving the error checking next week cc @noisekit

thanks everyone for the reviews

dbeal-eth commented 5 days ago

audits passed.