-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
op-proposer: check at least one of DGFAddress
or L2OOAddress
was provided
#10528
op-proposer: check at least one of DGFAddress
or L2OOAddress
was provided
#10528
Conversation
WalkthroughWalkthroughA new validation check has been added to the Changes
Recent Review DetailsConfiguration used: .coderabbit.yml Files selected for processing (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
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.
Actionable comments posted: 2
Out of diff range and nitpick comments (2)
op-proposer/proposer/config.go (2)
Line range hint
85-86
: Ensure error messages are consistent and clear.The error message "the
DisputeGameFactory
address was provided but theProposalInterval
was not set" could be simplified for clarity. Consider rephrasing it to "theDisputeGameFactory
address requires aProposalInterval
".- return errors.New("the `DisputeGameFactory` address was provided but the `ProposalInterval` was not set") + return errors.New("the `DisputeGameFactory` address requires a `ProposalInterval`")
Line range hint
87-88
: Ensure error messages are consistent and clear.The error message "the
ProposalInterval
was provided but theDisputeGameFactory
address was not set" could be simplified for clarity. Consider rephrasing it to "theProposalInterval
requires aDisputeGameFactory
address".- return errors.New("the `ProposalInterval` was provided but the `DisputeGameFactory` address was not set") + return errors.New("the `ProposalInterval` requires a `DisputeGameFactory` address")
6e98522
No description provided.