-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Allow ramp overrides if explicit in nonce manager #14846
base: develop
Are you sure you want to change the base?
Conversation
I see you updated files related to |
I see you updated files related to
|
492e480
to
88b5f5f
Compare
Quality Gate passedIssues Measures |
overrideExistingRamps: true | ||
}); | ||
|
||
s_outboundNonceManager.applyPreviousRampsUpdates(previousRamps); |
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.
nit: should we assert event emits here?
|
||
s_outboundNonceManager.applyPreviousRampsUpdates(previousRamps); | ||
|
||
previousRamps[0] = NonceManager.PreviousRampsArgs({ |
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.
nit: I think this line is not needed, since it's setting the same data as the previousRamps[0]
above
|
||
s_outboundNonceManager.applyPreviousRampsUpdates(previousRamps); | ||
|
||
previousRamps[0] = | ||
NonceManager.PreviousRampsArgs(DEST_CHAIN_SELECTOR, NonceManager.PreviousRamps(prevOnRamp, address(0))); | ||
previousRamps[0] = NonceManager.PreviousRampsArgs({ |
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.
nit: line not needed, same data as the init above
|
||
s_outboundNonceManager.applyPreviousRampsUpdates(previousRamps); | ||
|
||
previousRamps[0] = | ||
NonceManager.PreviousRampsArgs(DEST_CHAIN_SELECTOR, NonceManager.PreviousRamps(address(0), prevOffRamp)); | ||
previousRamps[0] = NonceManager.PreviousRampsArgs({ |
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.
nit: line not needed, same data as above
|
||
s_outboundNonceManager.applyPreviousRampsUpdates(previousRamps); | ||
|
||
previousRamps[0] = | ||
NonceManager.PreviousRampsArgs(DEST_CHAIN_SELECTOR, NonceManager.PreviousRamps(prevOnRamp, prevOffRamp)); | ||
previousRamps[0] = NonceManager.PreviousRampsArgs({ |
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.
nit: line not needed, same data as above
No description provided.