mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
feat: update tests
This commit is contained in:
parent
13baefeab3
commit
0b4f8e5b6a
|
@ -156,8 +156,8 @@ describe("Morpho-Aave-v3", function () {
|
||||||
const spells = [
|
const spells = [
|
||||||
{
|
{
|
||||||
connector: connectorName,
|
connector: connectorName,
|
||||||
method: "depositOnBehalf",
|
method: "depositOnBehalfWithMaxIterations",
|
||||||
args: [tokens.eth.address, "10000000000000000000", user, "0", "0"], // 1 ETH
|
args: [tokens.eth.address, "10000000000000000000", user, 4, "0", "0"], // 1 ETH
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -254,8 +254,8 @@ describe("Morpho-Aave-v3", function () {
|
||||||
const spells = [
|
const spells = [
|
||||||
{
|
{
|
||||||
connector: connectorName,
|
connector: connectorName,
|
||||||
method: "withdrawOnBehalf",
|
method: "withdrawOnBehalfWithMaxIterations",
|
||||||
args: [tokens.eth.address, dsaMaxValue, dsaWallet0.address, user, "0", "0"], // Max ETH
|
args: [tokens.eth.address, dsaMaxValue, dsaWallet0.address, user, 4, "0", "0"], // Max ETH
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -293,8 +293,8 @@ describe("Morpho-Aave-v3", function () {
|
||||||
const spells = [
|
const spells = [
|
||||||
{
|
{
|
||||||
connector: connectorName,
|
connector: connectorName,
|
||||||
method: "borrowOnBehalf",
|
method: "borrowOnBehalfWithMaxIterations",
|
||||||
args: [tokens.eth.address, "200000000000000000", dsaWallet0.address, user, "0", "0"], // 0.7 WETH
|
args: [tokens.eth.address, "200000000000000000", dsaWallet0.address, user, 4, "0", "0"], // 0.7 WETH
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user