mirror of
https://github.com/Instadapp/dsa-polygon-migration.git
synced 2024-07-29 22:27:58 +00:00
Finish sender testing
This commit is contained in:
parent
63680f251a
commit
4a9fb6d9dd
|
@ -23,20 +23,20 @@ module.exports = {
|
||||||
forkNetwork: "1"
|
forkNetwork: "1"
|
||||||
},
|
},
|
||||||
networks: {
|
networks: {
|
||||||
hardhat: { // mainnet forking
|
// hardhat: { // mainnet forking
|
||||||
forking: {
|
|
||||||
url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
|
||||||
blockNumber: 12240294,
|
|
||||||
},
|
|
||||||
blockGasLimit: 12000000,
|
|
||||||
},
|
|
||||||
// hardhat: { // matic forking
|
|
||||||
// forking: {
|
// forking: {
|
||||||
// url: `https://cold-red-river.matic.quiknode.pro/${QUIKNODE_ID}/`,
|
// url: `https://eth-mainnet.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||||
// blockNumber: 13317966,
|
// blockNumber: 12240294,
|
||||||
// },
|
// },
|
||||||
// blockGasLimit: 12000000,
|
// blockGasLimit: 12000000,
|
||||||
// },
|
// },
|
||||||
|
hardhat: { // matic forking
|
||||||
|
forking: {
|
||||||
|
url: `https://cold-red-river.matic.quiknode.pro/${QUIKNODE_ID}/`,
|
||||||
|
blockNumber: 13317966,
|
||||||
|
},
|
||||||
|
blockGasLimit: 12000000,
|
||||||
|
},
|
||||||
kovan: {
|
kovan: {
|
||||||
url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
url: `https://eth-kovan.alchemyapi.io/v2/${ALCHEMY_ID}`,
|
||||||
accounts: [`0x${PRIVATE_KEY}`]
|
accounts: [`0x${PRIVATE_KEY}`]
|
||||||
|
|
|
@ -252,18 +252,17 @@ describe("Migrator", function() {
|
||||||
const receipt = await tx.wait()
|
const receipt = await tx.wait()
|
||||||
})
|
})
|
||||||
|
|
||||||
// it("test settle 3", async function() {
|
it("test settle 3", async function() {
|
||||||
// const tokens = [usdc, usdt, weth, wbtc]
|
const tokens = [weth, wbtc, aave]
|
||||||
// const amts = [
|
const amts = [
|
||||||
// ethers.utils.parseUnits('500000', 6),
|
ethers.utils.parseEther('2000'),
|
||||||
// ethers.utils.parseUnits('40000', 6),
|
ethers.utils.parseUnits('25', 8),
|
||||||
// ethers.utils.parseEther('1000'),
|
ethers.utils.parseEther('80')
|
||||||
// ethers.utils.parseUnits('25', 8)
|
]
|
||||||
// ]
|
|
||||||
|
|
||||||
// const tx = await migrator.settle(tokens, amts)
|
const tx = await migrator.settle(tokens, amts)
|
||||||
// const receipt = await tx.wait()
|
const receipt = await tx.wait()
|
||||||
|
|
||||||
// // console.log(receipt)
|
// console.log(receipt)
|
||||||
// })
|
})
|
||||||
})
|
})
|
Loading…
Reference in New Issue
Block a user