balancer / balancer-deployments

GNU General Public License v3.0
41 stars 35 forks source link

Timelock Authorizer: setup CI monitoring per task #56

Open jubeira opened 1 year ago

jubeira commented 1 year ago

With the new timelock authorizer, we'll be including a developer recommendation of what the timelocks should be for each action.

An early example can be found in the migration configuration for Sepolia.

In summary:

The proposal would be to build a script that generates a JSON with the recommended delays for each task. Then, we can check that the delays are in place on-chain with a CI job. Again, for existing tasks this will happen right after the authorizer migration is complete, since the delays will be set by the migrator itself. For new task, we'll need to wait until governance (i.e. the timelock authorizer root) sets up the delays appropriately.

As a second step, we can also do a script that aggregates the delay suggestions by iterating the tasks as we did with the addresses.