Skip to content

Commit

Permalink
Update README with mycelo instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
Eela Nagaraj committed Aug 24, 2023
1 parent d76789e commit e933eca
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,19 @@ go run examples/generate_balances/main.go \
rosetta-cli-conf/testnet/bootstrap_balances.json
```

### Running Rosetta with a mycelo testnet

- Set `--geth.genesis` to point to the genesis file for the testnet.
- Set `--geth.networkid` to the network ID (if this is a deployed testnet, this may be different from the `ChainID` in the genesis file). If this value is the same as the `ChainID`, it is not necessary to set this parameter.
- Set the `--monitor.initcontracts` flag (at least on the first run), which fetches necessary state from the genesis block and updates the Rosetta DB accordingly.

To run reconciliation tests on this network:

- Generate `bootstrap_balances.json` using the network's genesis block.
- In the `cli-config.json`:
- Set `network` to match the `ChainID` in the genesis file (not the network ID).
- Point `bootstrap_balances` to the generated `bootstrap_balances.json`.

## Releasing rosetta

### Versioning
Expand Down

0 comments on commit e933eca

Please sign in to comment.