diff --git a/package.json b/package.json index a784ddd..c42e7c2 100644 --- a/package.json +++ b/package.json @@ -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, diff --git a/test/1_mv-DAI-DSR-Compound.test.js b/test/1_mv-DAI-DSR-Compound.test.js index b57797f..9a9a5a3 100644 --- a/test/1_mv-DAI-DSR-Compound.test.js +++ b/test/1_mv-DAI-DSR-Compound.test.js @@ -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");