Remove SafeMath from the protocol's dependencies

Open
#559 0 comments 0 reactions 1 assignee View on GitHub

@kautukkundan is already working on this.

Since May 10, 2022.

Assessment

This issue has not been assessed yet.

Description

easy

Since solidity 0.8.x all arithmetic is checked by default which makes the explicit usage of OpenZeppelin SafeMath unnecessary.
As the protocol switched to Solidity 0.8.9, it's safe to remove OZ SafeMath from its dependencies (i.e.: here and here).

Dominant language
JavaScript
Stars
155
Forks
50
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from livepeer/protocol

All issues in livepeer/protocol

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.