-
Notifications
You must be signed in to change notification settings - Fork 78
fix[N02] Move all structs to the same place #100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Signed-off-by: chrismaree <christopher.maree@gmail.com>
mrice32
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
nicholaspai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should also move the PooledToken and CrossChainContract structs to the interface as per the issue description
|
You also may as well add the |
good point! fixed. |
nicholaspai
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Problem:
The PoolRebalanceLeaf struct is defined in HubPoolInterface.sol, while the RootBundle,
PooledToken, and CrossChainContract structs are all defined in the implementation, HubPool.sol.
Consider defining all structs for HubPool within the same contract.
Resolution:
pull the structs to all be in the interface.