Skip to content
This repository has been archived by the owner on May 19, 2023. It is now read-only.

Commit

Permalink
docs: troubleshooting ideas (#272)
Browse files Browse the repository at this point in the history
Co-authored-by: Juraj <36888576+jurajpiar@users.noreply.github.com>
  • Loading branch information
AuHau and jurajpiar authored Sep 18, 2020
1 parent 9a8108f commit fd1c33a
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,6 +460,16 @@ Some tips for development:
- for complete development environment please see https://github.com/rsksmart/rif-marketplace-dev
- to use the CLI commands from the cloned repo use `npm run bin -- <cmd> <...args/flags>`

### Troubleshooting

You might have some problems during development, here are few pointers about what could be wrong.

#### No events from Blockchain:

- make sure that the ABIs in Cache match contracts deployed on your network (Ganache, Testnet, etc). The same version of contracts has to be everywhere.
- check if confirmations are enabled (when ran in [`VERBOSE` mode](#Logging), you should see the whole Config logged). If they are, make sure you emit empty blocks to get enough confirmations.
- run Cache with log level [`DEBUG`](#Logging) (you can filter out database logging with log filter `-db`) and see if events are incoming to Cache

## License

[MIT](./LICENSE)

0 comments on commit fd1c33a

Please sign in to comment.