Skip to content

Conversation

@miguelmtzinf
Copy link
Member

This draft implementation gives a sense of the savings on bytecode size we could get by removing auxiliary reserve getters from the Spoke. They are only calling the Hub contract, so this is actually more efficient. In case this creates any ux friction, we can consider creating an adapter contract to expose all Spoke information in only one place.

Bytecode size from 24,523 to 23,870

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we also write the data provider contract and include here as part of this PR?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants