mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Using DSA address in L1 testcases
This commit is contained in:
parent
d3315d0f25
commit
617f0ebd68
|
@ -121,15 +121,19 @@ describe("Migrator", function() {
|
||||||
})
|
})
|
||||||
|
|
||||||
it("test migrate", async function() {
|
it("test migrate", async function() {
|
||||||
const sourceAddr = '0x42c7788dd1cef71cf04ae4d6bca37d129c27e001'
|
|
||||||
|
|
||||||
|
const sourceAddr = '0x05A14F14E7a435542468D6F4d408D6F67303D769'
|
||||||
|
await master.sendTransaction({
|
||||||
|
to: sourceAddr,
|
||||||
|
value: ethers.utils.parseEther("1")
|
||||||
|
});
|
||||||
const rawData = {
|
const rawData = {
|
||||||
targetDsa: sourceAddr,
|
targetDsa: "0x150Acc42e6751776c9E784EfF830cB4f35aE98f3",
|
||||||
supplyTokens: [weth],
|
supplyTokens: [weth],
|
||||||
borrowTokens: [usdc],
|
borrowTokens: [usdt],
|
||||||
supplyAmts: [ethers.utils.parseEther('60')],
|
supplyAmts: [ethers.utils.parseEther('60')],
|
||||||
variableBorrowAmts: [ethers.utils.parseUnits('10000', 6)],
|
variableBorrowAmts: [ethers.utils.parseUnits('10000', 6)],
|
||||||
stableBorrowAmts: [ethers.utils.parseUnits('10000', 6)]
|
stableBorrowAmts: [0]
|
||||||
}
|
}
|
||||||
|
|
||||||
await hre.network.provider.request({
|
await hre.network.provider.request({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user