livepeer / protocol

Livepeer protocol
MIT License
152 stars 45 forks source link

Add BridgeMinter for funds migration and bridge minting #515

Closed yondonfu closed 2 years ago

yondonfu commented 2 years ago

What does this pull request do? Explain your changes. (required)

This PR adds a BridgeMinter contract which will be the new Minter on L1. The existing Minter can migrate to the BridgeMinter via a call to Minter.migrateToNewMinter().

The BridgeMinter supports:

Specific updates (required)

See commit history.

How did you test each of these updates (required)

Updated unit tests. Also added an integration test for upgrading/migrating the existing Minter to the BridgeMinter.

Does this pull request close any open issues?

Partially fixes #493

Checklist:

yondonfu commented 2 years ago

Rebased off the latest streamflow to resolve conflicts and added the following commits:

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1668392490


Totals Coverage Status
Change from base Build 1651709057: 0.02%
Covered Lines: 888
Relevant Lines: 894

💛 - Coveralls