Skip to content

Commit

Permalink
Updated README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mboben committed Sep 11, 2023
1 parent d5f58f1 commit ee06325
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,15 @@ timeout = "10s" # check for new epochs every ... seconds
contract_address = "0xE64Df6a7e4f4c277C5299f0FE12D7BbB8A207175" # mirror contract address
```

### Running tests

Tests for indexer expect a MySQL database running. Please run `docker-compose up` in the `indexer/resources/test` directory.

Additionally, tests for voting, mirroring and uptime clients expect a Hardhat instance from <https://gitlab.com/flarenetwork/flare-smart-contracts/-/tree/staking-tests> running. You start it by running
`yarn staking_test` (following `yarn` and `yarn c` commands).

Then run `go test ./...` in the `indexer` directory.

## Attestation client services (possible future use)

The following services are implemented, according to the attestation specification:
Expand Down

0 comments on commit ee06325

Please sign in to comment.