Skip to content

Commit 6f8fa11

Browse files
authored
Fix README.md for prettier (#959)
1 parent c86e4f2 commit 6f8fa11

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

target_chains/ethereum/contracts/README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,16 +34,23 @@ After installing the dependencies. Run `forge build` to build the contracts and
3434
test the contracts using tests in `forge-test` directory.
3535

3636
### Governance tests
37-
There is a separate test suite executed by truffle for testing governance messages and contract upgrades. You can either use tilt to test automatically or run ganache-cli as a blockchain instance and test it manually. To do the latter, run the following commands in the `contracts` folder:
37+
38+
There is a separate test suite executed by truffle for testing governance messages and contract upgrades. You can either use tilt to test automatically or run ganache-cli as a blockchain instance and test it manually. To do the latter, run the following commands in the `contracts` folder:
39+
3840
1. Spawn a new network on a seperate terminal (do not close it while running tests):
41+
3942
```bash
4043
npx ganache-cli -e 10000 --deterministic --time="1970-01-02T00:00:00+00:00" --host=0.0.0.0
4144
```
45+
4246
2. deploy the contracts:
47+
4348
```bash
4449
cp .env.test .env && npx truffle compile --all && npx truffle migrate
4550
```
51+
4652
3. Run the test suite:
53+
4754
```bash
4855
npm run test-contract
4956
```

0 commit comments

Comments
 (0)