Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: PaulRBerg/prb-math
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v2.0.1
Choose a base ref
...
head repository: PaulRBerg/prb-math
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v2.1.0
Choose a head ref
  • 6 commits
  • 50 files changed
  • 1 contributor

Commits on Jun 22, 2021

  1. Configuration menu
    Copy the full SHA
    ccdd721 View commit details
    Browse the repository at this point in the history
  2. test: fix coverage via yarn resolution for solidity parser

    docs: add "math" tag in package.json
    PaulRBerg committed Jun 22, 2021
    Configuration menu
    Copy the full SHA
    6a33a36 View commit details
    Browse the repository at this point in the history

Commits on Jun 23, 2021

  1. Configuration menu
    Copy the full SHA
    55d18b0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5081a4e View commit details
    Browse the repository at this point in the history

Commits on Jun 27, 2021

  1. feat: solidity v0.8.4 custom errors

    build: update dev dependencies
    chore: delete stale caveat in "sqrt" natspec
    chore: reword some natspec comments
    feat: set minimum compiler version to 0.8.4 in the contract files
    fix: delete "hardhat/console.sol" import
    perf: delete redundant "denominator > 0" check in "mulDiv"
    refactor: define "xValue" var to avoid reading "x.value" multiple times
    refactor: define the upper limit as "MAX_UD60x18 / SCALE" in "sqrt"
    refactor: move "SCALE > prod1" check at the top of "mulDivFixedPoint"
    refactor: change "rUnsigned" to "rAbs"
    refactor: use "MIN_SD59x18" instead of "type(int256).min" where appropriate
    test: bump the compiler version to 0.8.6
    test: panic codes for arithmetic overflow/ underflow and divisions by zero
    test: pass inputs as BigNumber instead of strings where appropriate
    test: separate test cases for "mul" better
    test: update everything to account for the new custom errors
    test: use only "MAX_SD59x18" in sd59x18 tests
    PaulRBerg committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    04b25fd View commit details
    Browse the repository at this point in the history
  2. feat: roll v2.1.0

    PaulRBerg committed Jun 27, 2021
    Configuration menu
    Copy the full SHA
    dff82f3 View commit details
    Browse the repository at this point in the history
Loading