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

@ -8,7 +8,9 @@
"scripts": { "scripts": {
"init": "cd lib && git clone --recurse-submodules https://github.com/foundry-rs/forge-std", "init": "cd lib && git clone --recurse-submodules https://github.com/foundry-rs/forge-std",
"test:windows": ".\\.env.bat && forge test", "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": { "dependencies": {
"@ensdomains/ens-contracts": "^0.0.21", "@ensdomains/ens-contracts": "^0.0.21",