Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update resolver #58

Open
Vaibhav20201 opened this issue Mar 19, 2022 · 1 comment
Open

Update resolver #58

Vaibhav20201 opened this issue Mar 19, 2022 · 1 comment

Comments

@Vaibhav20201
Copy link
Contributor

Need to implement this

@gadgetboy27
Copy link

import {
InstaFlashResolver,
InstaFlashResolver__factory,
} from '../../typechain'

changed from-
import {
InstaFlashloanResolver,
InstaFlashloanResolver__factory,
} from '../../typechain'

as was failing in test!

also getting error here 👍 can you help fix?

$ npm run test:runner

[email protected] test:runner
hardhat run scripts/run-tests.ts

No need to generate any newer typings.
? What chain do you want to run tests on? mainnet
? Which file's tests do you want to run? all
No need to generate any newer typings.

FlashLoan
Single token
1) "before each" hook for "Should be able to take flashLoan of a single token from AAVE"

Resolver
1,2,3,4,5,6,7,9,5,5,5,5,5,5
✓ Should be able to return routes info (15391ms)
3,4,5,6,7,5
2,3,4,5,6,7,5
✓ Should be able to return the best route for flashloan (31816ms)
1,2,3,4,5,6,7,9,5,5,5,5,5,5,3,4,5,6,7,5
✓ Should be able to return all the data for flashloan (800ms)

3 passing (56s)
1 failing


  1. FlashLoan
    "before each" hook for "Should be able to take flashLoan of a single token from AAVE":
    Error: VM Exception while processing transaction: reverted with reason string 'Address: low-level delegate call failed'

Thanks for any help:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants