Skip to content
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

Closed
wants to merge 21 commits into from
Closed

Conversation

DhairyaSethi
Copy link
Member

No description provided.

Copy link

height bot commented Oct 16, 2024

Link Height tasks by mentioning a task ID in the pull request title or commit messages, or description and comments with the keyword link (e.g. "Link T-123").

💡Tip: You can also use "Close T-X" to automatically close a task when the pull request is merged.

/// @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 {
Copy link

@CheyenneAtapour CheyenneAtapour Nov 19, 2024

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

Copy link
Member Author

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 :)
image

/// @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_,

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

Copy link
Member Author

Choose a reason for hiding this comment

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

@DhairyaSethi
Copy link
Member Author

closing in favour of #20

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.

2 participants