celo-org / celo-monorepo

Official repository for core projects comprising the Celo platform
https://celo.org
Apache License 2.0
697 stars 370 forks source link

ReleaseGold L2 Compatibility Check #11005

Closed soloseng closed 4 months ago

soloseng commented 4 months ago

Description

Updated the ReleaseGold test to include L2 Compatibility Check.

Other changes

Added L2 check to MockValidator contract

Tested

Unit tested

Related issues

https://github.com/celo-org/celo-blockchain-planning/issues/209

Backwards compatibility

authorizeValidatorSignerWithPublicKey and authorizeValidatorSignerWithKeys will be deprecated once transitionned to L2.

These functions are not critical to the ReleaseGold Contract as ReleaseGold beneficiaries can continue to use authorizeVoteSigner.

Any beneficiaries that have already used these functions to authorize signers will not encounter any issues.