Skip to content

yearn/emergency-tests

Repository files navigation

Emergency Withdraw Tests

This repository contains tests that call the function emergencyWithdraw() on Yearn V3 strategies. The tests are organized by the protocol that the strategy is using. If the protocol is forked, it will be in the same file as the original protocol, e.g. Spark is forked from Aave, so the tests for both are in AaveEmergencyWithdrawTest.t.sol. The tests also verify that the strategy has the correct roles set: emergencyAdmin and management are multisig with minimum 2/3 threshold.

Getting Started

First, check if the .env file is set up correctly. See the .env.example file for an example.

To run all tests use:

forge test

Strategies Tested

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •