chainlink
chainlink copied to clipboard
Move view functions from proxy to logic
This PR tries to move rest of the view functions behind proxy. Solidity does not allow view functions to have delegate calls inside them.
The cleanest way I could make it work, is to make those functions non view, while keeping them as view on logic contract. This also meant that our interface need to be duplicate which is not ideal.
Contract size after this PR: Existing dev registry: 23.99Mb Registry after this refactor: 22.57Mb
So this PR helps in reducing size by 1.42Mb
I see that you haven't updated any CHANGELOG files. Would it make sense to do so?