github.com/smartcontractkit/chainlink-testing-framework/libs@v0.0.0-20240227141906-ec710b4eb1a3/config/examples/example.toml (about)

     1  # Example of full config with all fields
     2  # General part
     3  [Logging]
     4  # if set to true will save logs even if test did not fail
     5  test_log_collect=false
     6  
     7  [Logging.LogStream]
     8  # supported targets: file, loki, in-memory. if empty no logs will be persistet
     9  log_targets=["file"]
    10  # context timeout for starting log producer and also time-frame for requesting logs
    11  log_producer_timeout="10s"
    12  # number of retries before log producer gives up and stops listening to logs
    13  log_producer_retry_limit=10
    14  
    15  [Logging.Loki]
    16  tenant_id="tenant_id"
    17  # full URL of Loki ingest endpoint
    18  endpoint="https://loki.url/api/v3/push"
    19  # currently only needed when using public instance
    20  basic_auth_secret="loki-basic-auth"
    21  # only needed for cloud grafana
    22  bearer_token_secret="bearer_token"
    23  
    24  # LogStream will try to shorten Grafana URLs by default (if all 3 variables are set)
    25  [Logging.Grafana]
    26  # grafana url (trailing "/" will be stripped)
    27  base_url="http://grafana.url"
    28  # url of your grafana dashboard (prefix and suffix "/" are stirpped), example: /d/ad61652-2712-1722/my-dashboard
    29  dashboard_url="/d/your-dashboard"
    30  bearer_token_secret="my-awesome-token"
    31  
    32  # if you want to use polygon_mumbial
    33  [Network]
    34  selected_networks=["polygon_mumbai"]
    35  
    36  [Network.RpcHttpUrls]
    37  polygon_mumbai = ["https://polygon-endpoint.io"]
    38  
    39  [Network.RpcWsUrls]
    40  polygon_mumbai = ["wss://polygon-endpoint.io"]
    41  
    42  [Network.WalletKeys]
    43  polygon_mumbai = ["change-me-to-your-PK"]
    44  
    45  [PrivateEthereumNetwork]
    46  # pos or pow
    47  consensus_type="pos"
    48  # only prysm supported currently
    49  consensus_layer="prysm"
    50  # geth, besu, nethermind or erigon
    51  execution_layer="geth"
    52  # if true after env started it will wait for at least 1 epoch to be finalised before continuing
    53  wait_for_finalization=false
    54  
    55  [PrivateEthereumNetwork.EthereumChainConfig]
    56  # duration of single slot, lower => faster block production, must be >= 4
    57  seconds_per_slot=12
    58  # numer of slots in epoch, lower => faster epoch finalisation, must be >= 4
    59  slots_per_epoch=6
    60  # extra genesis gelay, no need to modify, but it should be after all validators/beacon chain starts
    61  genesis_delay=15
    62  # number of validators in the network
    63  validator_count=8
    64  chain_id=1337
    65  # list of addresses to be prefunded in genesis
    66  addresses_to_fund=["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"]