1
0

Correct instructions in README & add commands to test proposal gas costs

This commit is contained in:
Theo 2023-07-19 14:12:29 -07:00
parent f054fa81c9
commit 967fe1056c
2 changed files with 18 additions and 9 deletions

@ -2,15 +2,15 @@
### Changes / effect description
- 1
- 2
- ...
- 1
- 2
- ...
### Requirements
- Rust ([Need only for Windows](https://doc.rust-lang.org/cargo/getting-started/installation.html))
- Foundryup ([Windows](https://github.com/altugbakan/foundryup-windows), [Linux](https://book.getfoundry.sh/getting-started/installation))
- Node 14 or higher ([Windows](https://github.com/coreybutler/nvm-windows), [Linux](https://github.com/nvm-sh/nvm))
- Rust ([Need only for Windows](https://doc.rust-lang.org/cargo/getting-started/installation.html))
- Foundryup ([Windows](https://github.com/altugbakan/foundryup-windows), [Linux](https://book.getfoundry.sh/getting-started/installation))
- Node 14 or higher ([Windows](https://github.com/coreybutler/nvm-windows), [Linux](https://github.com/nvm-sh/nvm))
### Installation
@ -18,10 +18,17 @@
git clone --recurse-submodules <proposal-repo-link>
cd <proposal-name>
npm install
npm init
```
### Testing
```text
npm run test
```
npm run test:windows
```
or
```text
npm run test:linux
```

@ -8,7 +8,9 @@
"scripts": {
"init": "cd lib && git clone --recurse-submodules https://github.com/foundry-rs/forge-std",
"test:windows": ".\\.env.bat && forge test",
"test:linux": "source .env && forge test"
"test:linux": ". .env && forge test",
"test:gas:windows": ".\\.env.bat && forge test --gas-report",
"test:gas:linux": ". .env && forge test --gas-report"
},
"dependencies": {
"@ensdomains/ens-contracts": "^0.0.21",