What does this pull request do? Explain your changes. (required)
This PR adds a require statement in RoundsManager.initializeRound() that checks if the LIP-73 round is set and that the current round is before the LIP-73 round. Otherwise, the function will revert. This feature allows state updates to the L1 contracts during the Confluence upgrade to be frozen since all functions that support state updates for users should have the currentRoundInitialized modifier that prevents those functions from being called if the current round is not initialized.
What does this pull request do? Explain your changes. (required)
This PR adds a require statement in
RoundsManager.initializeRound()
that checks if the LIP-73 round is set and that the current round is before the LIP-73 round. Otherwise, the function will revert. This feature allows state updates to the L1 contracts during the Confluence upgrade to be frozen since all functions that support state updates for users should have thecurrentRoundInitialized
modifier that prevents those functions from being called if the current round is not initialized.Specific updates (required)
See commit history.
How did you test each of these updates (required)
Updated unit tests.
Does this pull request close any open issues?
Fixes #504
Checklist:
yarn test
pass