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

docs: add error message for cargo test on darwin #215

Merged
merged 8 commits into from
Jan 15, 2025
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,19 @@ To test locally :-
You need `foundry` to successfully run it.

```bash
cargo test
cargo test --workspace --exclude eigen-utils
```

On Mac, you might need to pull the foundry image manually specifying the platform with:
On Mac, you might get an error similar to:

```bash
docker pull --platform amd64 foundry-rs/foundry
Error starting anvil container: Client(PullImage { descriptor: "ghcr.io/foundry-rs/foundry:latest", err: DockerStreamError { error: "no matching manifest for linux/arm64/v8 in the manifest list entries" } })
```

Sometimes the bindings fail due to containing botched doctests.
You can exclude them from the test run with:
In that case, you'll need to pull the foundry image for the `amd64` platform with:

```bash
cargo test --workspace --exclude eigen-utils
docker pull --platform linux/amd64/v8 ghcr.io/foundry-rs/foundry:latest
```

At least 1 `approving` review is required to merge the PR.
Expand Down
11 changes: 5 additions & 6 deletions crates/eigensdk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,20 +73,19 @@ To test locally :-
You need `foundry` to successfully run it.

```bash
cargo test
cargo test --workspace --exclude eigen-utils
```

On Mac, you might need to pull the foundry image manually specifying the platform with:
On Mac, you might get an error similar to:

```bash
docker pull --platform amd64 foundry-rs/foundry
Error starting anvil container: Client(PullImage { descriptor: "ghcr.io/foundry-rs/foundry:latest", err: DockerStreamError { error: "no matching manifest for linux/arm64/v8 in the manifest list entries" } })
```

Sometimes the bindings fail due to containing botched doctests.
You can exclude them from the test run with:
In that case, you'll need to pull the foundry image for the `amd64` platform with:

```bash
cargo test --workspace --exclude eigen-utils
docker pull --platform linux/amd64/v8 ghcr.io/foundry-rs/foundry:latest
```

At least 1 `approving` review is required to merge the PR.
Expand Down
Loading