Aave.

Post

Share your knowledge.

Aaveator.
Feb 17, 2023
Expert Q&A

Is it possible to change oracle price to make test on Aave liquidation?

Is it possible to change oracle price to make test on Aave liquidation. If yes how?

I'm trying with hardhat to impersonateAccount without success someone has a sample code or something?

  • Aave Protocol
  • Aave liquidation
0
1
Share
Comments
.

Answers

1
Aaveator.
Feb 17 2023, 14:26

You can change the oracle in a fork environment by using the aave-sandbox and impersonating the PoolAdmin to call setAssetSources on the AaveOracle contract

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info