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

check for empty validator set and zero address for batch poster #39

Merged
merged 3 commits into from
Jul 13, 2023

Conversation

GreatSoshiant
Copy link
Member

No description provided.

@cla-bot cla-bot bot added the s label Jul 13, 2023
Comment on lines 66 to 68
// Validators and batch poster should be set if provided
// If you don't want to set validators, put an empty list
// If you don't want to set batch-poster, put zero address
Copy link
Member

Choose a reason for hiding this comment

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

can you replace the whole comment with

    /**
     * @notice Create a new rollup
     * @dev After this setup:
     * @dev - Rollup should be the owner of bridge
     * @dev - RollupOwner should be the owner of Rollup's ProxyAdmin
     * @dev - RollupOwner should be the owner of Rollup
     * @dev - Bridge should have a single inbox and outbox
     * @dev - Validators and batch poster should be set if provided
     * @param config       The configuration for the rollup
     * @param _batchPoster The address of the batch poster, not used when set to zero address
     * @param _validators  The list of validator addresses, not used when set to empty list
     * @return The address of the newly created rollup
     */

Copy link
Member Author

Choose a reason for hiding this comment

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

🫡

@gzeoneth gzeoneth merged commit 913028d into OffchainLabs:develop Jul 13, 2023
2 checks passed
@gzeoneth gzeoneth mentioned this pull request Sep 4, 2023
gzeoneth pushed a commit that referenced this pull request Apr 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants