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

Add aggregator and task generator setters #292

Draft
wants to merge 4 commits into
base: main
Choose a base branch
from
Draft

Conversation

Hyodar
Copy link
Contributor

@Hyodar Hyodar commented Sep 13, 2024

Current Behavior

Currently, the rollup and main contracts don't allow the owner changing the aggregator and generator directly. This is acceptable, since the intended path was through an upgrade. However, it's more practical to add owner methods for that, and in a correct setup the trust assumptions would be similar, and without risking any possible issues that can happen in an upgrade.

New Behavior

This adds setAggregator to SFFLRegistryRollup and setAggregator and setTaskGenerator to SFFLTaskManager as owner methods. This allows transferring aggregator and generator privileges easily.
This will also include the upgrade of deployed contracts, even though this is not breaking.

Breaking Changes

None.

@Hyodar Hyodar self-assigned this Sep 13, 2024
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.

1 participant