livepeer / protocol

Livepeer protocol
MIT License
154 stars 45 forks source link

streamflow: Audit gas optimizations #533

Closed yondonfu closed 2 years ago

yondonfu commented 2 years ago

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

Implement some of the gas optimizations suggested from the audit for the L1 BridgeMinter.

Specific updates (required)

The first commit bumps hardhat to v2.8.3 in order to support solc v0.8.8. The second commit includes links to the relevant gas optimization issues from the audit.

How did you test each of these updates (required)

Ran the tests.

Does this pull request close any open issues?

N/A

Checklist:

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 1778476907


Totals Coverage Status
Change from base Build 1668393947: 0.008%
Covered Lines: 897
Relevant Lines: 903

💛 - Coveralls
yondonfu commented 2 years ago

https://github.com/livepeer/protocol/pull/533/commits/e6f0b16336b32c5c012dc9fe627d399f2b876f8e is a cherry pick of https://github.com/livepeer/protocol/commit/19ab45be4df2fb71df1e59bd5ac9582bc58c0ec0 from confluence.