mirror of
https://github.com/Instadapp/Gelato-automations.git
synced 2024-07-29 22:28:07 +00:00
added missing code comments
This commit is contained in:
parent
da60c4e1e1
commit
fb05d8d688
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "gelato-instadapp",
|
"name": "gelato-instadapp",
|
||||||
"version": "1.0.0",
|
"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",
|
"repository": "https://github.com/gelatodigital/gelato-instadapp",
|
||||||
"author": "gitpusha",
|
"author": "gitpusha",
|
||||||
"private": false,
|
"private": false,
|
||||||
|
|
|
@ -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
|
// 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
|
// 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(
|
expect(
|
||||||
await gelatoCore.canExec(taskReceipt, GAS_LIMIT, GAS_PRICE_CEIL)
|
await gelatoCore.canExec(taskReceipt, GAS_LIMIT, GAS_PRICE_CEIL)
|
||||||
).to.be.equal("ConditionNotOk:ANotGreaterOrEqualToBbyMinspread");
|
).to.be.equal("ConditionNotOk:ANotGreaterOrEqualToBbyMinspread");
|
||||||
|
|
Loading…
Reference in New Issue
Block a user