Update info about graphiql variable

This commit is contained in:
ArseniiPetrovich 2019-02-25 13:41:13 +03:00
parent 96ed2f6b52
commit bd7b7d6a41
2 changed files with 2 additions and 1 deletions

View File

@ -143,6 +143,7 @@ networks: >
- `chain_subnetwork` - a name of the network to be shown at BlockScout;
- `chain_network_path` - a relative URL path which will be used as an endpoint for defined chain. For example, if we will have our BlockScout at `blockscout.com` domain and place `core` network at `/poa/core`, then the resulting endpoint will be `blockscout.com/poa/core` for this network.
- `chain_network_icon` - maps the chain name to the network navigation icon at apps/block_scout_web/lib/block_scout_web/templates/icons without .eex extension
- `chain_graphiql_transaction` - is a variable that maps chain to a random transaction hash on that chain. This hash will be used to provide a sample query in the GraphIQL Playground.
Chain configuration will be stored in the Systems Manager Parameter Store, each chain has its own set of config values. If you modify one of these values, you will need to go and terminate the instances for that chain so that they are reprovisioned with the new configuration.

View File

@ -116,7 +116,7 @@ new_relic_license_key: ""
# "core" = "_test_network_icon.html",
# "sokol" = "_test_network_icon.html"
# }
## The following variable maps the chain names to random transaction hash on that chain
## The following variable maps the chain names to random transaction hash on that chain. "chain_graphiql_transaction" is a variable that takes a transaction hash from a network to provide a sample query in the GraphIQL Playground.
# chain_graphiql_transaction = {
# "core" = "0xbc426b4792c48d8ca31ec9786e403866e14e7f3e4d39c7f2852e518fae529ab4"
# "sokol" = "0xbc426b4792c48d8ca31ec9786e403866e14e7f3e4d39c7f2852e518fae529ab5"