added missing code comments

This commit is contained in:
gitpusha 2020-08-26 14:44:47 +02:00
parent da60c4e1e1
commit fb05d8d688
2 changed files with 5 additions and 2 deletions

View File

@ -1,7 +1,7 @@
{
"name": "gelato-instadapp",
"version": "1.0.0",
"description": "The smart contract and tests for automatic CHI token buying",
"description": "The smart contract and tests for gelato-instadapp prototypes",
"repository": "https://github.com/gelatodigital/gelato-instadapp",
"author": "gitpusha",
"private": false,

View File

@ -371,7 +371,10 @@ describe("Move DAI lending from DSR to Compound", function () {
// Let's first check if our Task is executable. Since both MockDSR and MockCDAI
// start with a normalized per second rate of APY_2_PERCENT_IN_SECONDS
// (1000000000627937192491029810 in 10**27 precision) in both of them
// (1000000000627937192491029810 in 10**27 precision) in both of them, we
// expect ConditionNotOk because ANotGreaterOrEqualToBbyMinspread.
// Check out contracts/ConditionCompareUintsFromTwoSources.sol to see how
// how the comparison of MockDSR and MockCDAI is implemented in Condition code.
expect(
await gelatoCore.canExec(taskReceipt, GAS_LIMIT, GAS_PRICE_CEIL)
).to.be.equal("ConditionNotOk:ANotGreaterOrEqualToBbyMinspread");