Skip to content
This repository has been archived by the owner on Sep 28, 2022. It is now read-only.

Commit

Permalink
bump currency version to allow negative numbers in mcd plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler17 committed Jun 9, 2020
1 parent 011be51 commit 67c45e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/dai-plugin-mcd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@makerdao/dai": ">=0.18.9"
},
"dependencies": {
"@makerdao/currency": "^0.9.8",
"@makerdao/currency": "^0.9.9",
"@makerdao/services-core": "^0.9.9",
"bignumber.js": "^8.1.1",
"rxjs": "^6.5.4"
Expand Down
1 change: 0 additions & 1 deletion packages/dai-plugin-mcd/test/SystemDataService.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,5 @@ test('get global settlement status', async () => {

test('get system surplus', async () => {
const surplus = await service.getSystemSurplus();
console.log('surplus.toNumber', surplus.toNumber());
expect(surplus).toEqual(DAI(0)); //TODO change to expect non-zero number
});
10 changes: 9 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1791,7 +1791,15 @@
npmlog "^4.1.2"
write-file-atomic "^2.3.0"

"@makerdao/currency@>=0.9.0", "@makerdao/currency@^0.9.3", "@makerdao/currency@^0.9.5":
"@makerdao/currency@>=0.9.0", "@makerdao/currency@^0.9.9":
version "0.9.9"
resolved "https://registry.yarnpkg.com/@makerdao/currency/-/currency-0.9.9.tgz#b5f847362cb4648c30548313f005c80c1c878c9e"
integrity sha512-fr6MaiWxQ1IxEaSO8znnhcZTPb8P5ZJU5PS76lx5zAX8CF/ZykfDCX7lb4AMaOVCWajQ8OPN8ekO5a0MOJb3wg==
dependencies:
babel-runtime "^6.26.0"
bignumber.js "^8.1.1"

"@makerdao/currency@^0.9.3", "@makerdao/currency@^0.9.5":
version "0.9.7"
resolved "https://registry.yarnpkg.com/@makerdao/currency/-/currency-0.9.7.tgz#7b7310cc4feb75ce78330116ae15dad2267040e0"
integrity sha512-7N4w25lYwJf105RJZk/WZpxzUMs3GOxSJ4Qg2yro7V1bnsEHaZ0IeyrFOtUfo87Ia3tvld+k9JLG6ykYOxI3kw==
Expand Down

0 comments on commit 67c45e4

Please sign in to comment.