-
Notifications
You must be signed in to change notification settings - Fork 5
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
GHO CCIP 1.5 Token Pool #19
Conversation
|
contracts/src/v0.8/ccip/pools/GHO/UpgradeableBurnMintTokenPool.sol
Outdated
Show resolved
Hide resolved
/// @param owner_ The address of the owner | ||
/// @param allowlist A set of addresses allowed to trigger lockOrBurn as original senders | ||
/// @param router The address of the router | ||
function initialize(address owner_, address[] memory allowlist, address router) public virtual initializer { |
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.
We don't usually like putting _
in function params, suggested to use owner
instead of owner_
. Also @param comment to match
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.
yep normally i'd agree, it's actually done here because owner
shadows a public method with the same name in the inherited ConfirmedOwnerWithProposal
contract. can rename here since the shadow if a function with the same name, so should not cause any runtime issues; lemme know if you feel strongly about updating here, will do :)
/// @param router The address of the router | ||
/// @param bridgeLimit The maximum amount of tokens that can be bridged to other chains | ||
function initialize( | ||
address owner_, |
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.
Same as above comment on _
in variables
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.
contracts/src/v0.8/ccip/test/pools/GHO/GhoTokenPoolEthereum.t.sol
Outdated
Show resolved
Hide resolved
contracts/src/v0.8/ccip/test/pools/GHO/GhoTokenPoolEthereum.t.sol
Outdated
Show resolved
Hide resolved
closing in favour of #20 |
No description provided.