Skip to content

Commit b14d10d

Browse files
authored
Updating the README with integration testing environment details. (#297)
1 parent add3972 commit b14d10d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,15 @@ Links to specific sections are provided below.
143143

144144
If you see any issues in documentation please create an issue or PR [here](https://github.com/Layr-Labs/eigenlayer-docs)
145145

146+
## Integration Testing
147+
Integration testing uses Anvil to generate a reproducible state for the network to be tested against.
148+
149+
### Forge & Anvil
150+
The CLI package leverages tooling from the [eigensdk-go](https://github.com/Layr-Labs/eigensdk-go) to run [Forge](https://github.com/foundry-rs/foundry/tree/master/crates/forge) tests against an [Anvil](https://github.com/foundry-rs/foundry/tree/master/crates/anvil) server based on a predefined network state.
151+
This allows the tests to run against a reproducible environment. See the [Run anvil chain](https://github.com/Layr-Labs/eigenlayer-cli/blob/master/.github/workflows/integration-test.yml#L28-L30)
152+
step in the integration test workflow. See the [eigensdk-go README.md - Anvil](https://github.com/Layr-Labs/eigensdk-go/blob/dev/README.md)
153+
for further discussion on how this environment state is generated and stored.
154+
146155
## Release Process
147156
To release a new version of the CLI, follow the steps below:
148157
> Note: You need to have write permission to this repo to release new version

0 commit comments

Comments
 (0)