Skip to content

Commit

Permalink
Improve README file
Browse files Browse the repository at this point in the history
  • Loading branch information
ricott1 committed Jul 2, 2024
1 parent 3406aed commit 1db835a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/swap_and_bridge/test/README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
# Tst Scripts for SwapAndBridge

Tests in this folder are run as script as they require to be run in a Sepolia forked environment, since they depend on the contracts owned and deployed by Lido and Diva teams.

Before running them, start an L1 and L2 fork node using the shell scripts `runL1TestNetwork.sh` and `runL2TestNetwork.sh` inside [script](../..) folder respectively and make sure to run the tests from this folder.

Notice that these tests may fail fo reasons unrelated to the implementation of this feature, but rather because of problems with the target integration (for instance if the target LST contract does not mint new LSTs).
Notice that these tests may fail fo reasons unrelated to the implementation of this feature, but rather because of problems with the target integration (for instance if the target LST contract does not mint new LSTs). If the `L2_TOKEN_ADDR_DIVA` value is not set in the `.env` file, the script will automatically deploy a test contract. Notice however that this deployment may fail if the very same test contract has already been deployed in your forked environment (which could be the case, for instance, if you run the scripts multiple times). In this case, just restart the fork nodes or modify the test contract name.

## E2E Tests

Expand Down

0 comments on commit 1db835a

Please sign in to comment.