Skip to content
This repository has been archived by the owner on Nov 25, 2024. It is now read-only.

Commit

Permalink
feat: update readme with soldeer
Browse files Browse the repository at this point in the history
  • Loading branch information
marktoda committed Sep 9, 2024
1 parent 28edc75 commit 03b10b1
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,16 @@ Forge has native gas reporting with `forge snapshot` and `forge test --gas-repor
- See gas changes over time through commit history

# Installation

## Soldeer
Package hosted at [soldeer/forge-gas-snapshot](https://soldeer.xyz/project/forge-gas-snapshot)
```solidity
forge soldeer install forge-gas-snapshot~0.0.4
```

## Foundry
```solidity
forge soldeer install forge-gas-snapshot~v0.0.4
forge install marktoda/forge-gas-snapshot
```

- NOTE: foundry.toml must be updated to allow forge to write the snapshots
Expand Down

0 comments on commit 03b10b1

Please sign in to comment.