• Mark Tyneway's avatar
    contracts: fix broken contracts tests · 34f9be41
    Mark Tyneway authored
    The `contracts` tests included a test that did a deep equality check
    against two bignumbers. This check stopped working due to changes
    in the bignumber implementations used, two bignumbers of the same number
    no longer were considered equal. This commit fixes that problem by
    using the same version of ethers as `hardhat` and also stringifying
    the results so that strings are compared instead of objects. This
    fixes the broken tests.
    34f9be41
Name
Last commit
Last update
..
contracts Loading commit data...
deploy Loading commit data...
deploy-config Loading commit data...
deployments Loading commit data...
docs Loading commit data...
genesis Loading commit data...
scripts Loading commit data...
src Loading commit data...
tasks Loading commit data...
test Loading commit data...
.depcheckrc Loading commit data...
.env.example Loading commit data...
.eslintrc.js Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.lintstagedrc.yml Loading commit data...
.prettierignore Loading commit data...
.prettierrc.js Loading commit data...
.solcover.js Loading commit data...
.solhint.json Loading commit data...
.solhintignore Loading commit data...
CHANGELOG.md Loading commit data...
LICENSE Loading commit data...
README.md Loading commit data...
codechecks.yml Loading commit data...
hardhat.config.ts Loading commit data...
package.json Loading commit data...
slither.config.json Loading commit data...
tsconfig.json Loading commit data...