chronicleprotocol / aggor

Oracle aggregator distributing trust among different oracle providers
Other
4 stars 0 forks source link

Inline toll access control and defend against malicious Chronicle diss #23

Closed pmerkleplant closed 5 months ago

pmerkleplant commented 6 months ago

Inlines the toll access control to only grant read access to an immutable bud set during deployment. Note though that address(0) has also read access (enables easier access via RPC calls, etherscan, etc).

This PR also wraps the Chronicle oracle read call into try-catch to defend against a malicious diss from Chronicle, ie defend against Chronicle removing Aggor's toll from the respective oracle.