Commit 2e7212a5 authored by Rafael Matias's avatar Rafael Matias Committed by GitHub

chore(ci): add spellchecker workflow and fix typos (#898)

parent e957062f
name: Docker login name: Docker login
descritpion: Log in to Docker Hub description: Log in to Docker Hub
inputs: inputs:
username: username:
required: true required: true
......
name: Check typos
on:
pull_request:
branches:
- main
jobs:
check-typos:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check for typos
uses: crate-ci/typos@11ca4583f2f3f74c7e7785c0ecb20fe2c99a4308 # v1.29.5
[default]
extend-ignore-re = [
# Ignore Ethereum Node Records (ENR)
"enr:-.*",
# Ignore blutgang config typo
"supress_rpc_check",
]
[files]
extend-exclude = [
"CHANGELOG.md",
]
...@@ -809,7 +809,7 @@ parallel_keystore_generation: false ...@@ -809,7 +809,7 @@ parallel_keystore_generation: false
# Default to false # Default to false
disable_peer_scoring: false disable_peer_scoring: false
# Whether the environment should be persistent; this is WIP and is slowly being rolled out accross services # Whether the environment should be persistent; this is WIP and is slowly being rolled out across services
# Note this requires Kurtosis greater than 0.85.49 to work # Note this requires Kurtosis greater than 0.85.49 to work
# Note Erigon, Besu, Teku persistence is not currently supported with docker. # Note Erigon, Besu, Teku persistence is not currently supported with docker.
# Defaults to false # Defaults to false
...@@ -820,7 +820,7 @@ persistent: false ...@@ -820,7 +820,7 @@ persistent: false
# Defaults to empty cache url # Defaults to empty cache url
# Images pulled from dockerhub will be prefixed with "/dh/" by default (docker.io) # Images pulled from dockerhub will be prefixed with "/dh/" by default (docker.io)
# Images pulled from github registry will be prefixed with "/gh/" by default (ghcr.io) # Images pulled from github registry will be prefixed with "/gh/" by default (ghcr.io)
# Images pulled from google registory will be prefixed with "/gcr/" by default (gcr.io) # Images pulled from google registry will be prefixed with "/gcr/" by default (gcr.io)
# If you want to use a local image in combination with the cache, do not put "/" in your local image name # If you want to use a local image in combination with the cache, do not put "/" in your local image name
docker_cache_params: docker_cache_params:
enabled: false enabled: false
...@@ -939,7 +939,7 @@ spamoor_params: ...@@ -939,7 +939,7 @@ spamoor_params:
image: ethpandaops/spamoor:latest image: ethpandaops/spamoor:latest
# The spamoor scenario to use (see https://github.com/ethpandaops/spamoor) # The spamoor scenario to use (see https://github.com/ethpandaops/spamoor)
# Valid scenarios are: # Valid scenarios are:
# eoatx, erctx, deploytx, depoy-destruct, blobs, gasburnertx # eoatx, erctx, deploytx, deploy-destruct, blobs, gasburnertx
# Defaults to eoatx # Defaults to eoatx
scenario: eoatx scenario: eoatx
# Throughput of spamoor # Throughput of spamoor
...@@ -980,7 +980,7 @@ spamoor_blob_params: ...@@ -980,7 +980,7 @@ spamoor_blob_params:
# Max wallets for spamoor # Max wallets for spamoor
# Defaults to 20 # Defaults to 20
max_wallets: 20 max_wallets: 20
# A list of optional params that will be passed to the spamoor comamnd for modifying its behaviour # A list of optional params that will be passed to the spamoor command for modifying its behaviour
spamoor_extra_args: [] spamoor_extra_args: []
# Ethereum genesis generator params # Ethereum genesis generator params
...@@ -990,7 +990,7 @@ ethereum_genesis_generator_params: ...@@ -990,7 +990,7 @@ ethereum_genesis_generator_params:
# Global parameter to set the exit ip address of services and public ports # Global parameter to set the exit ip address of services and public ports
port_publisher: port_publisher:
# if you have a service that you want to expose on a specific interfact; set that IP here # if you have a service that you want to expose on a specific interface; set that IP here
# if you set it to auto it gets the public ip from ident.me and sets it # if you set it to auto it gets the public ip from ident.me and sets it
# Defaults to constants.PRIVATE_IP_ADDRESS_PLACEHOLDER # Defaults to constants.PRIVATE_IP_ADDRESS_PLACEHOLDER
# The default value just means its the IP address of the container in which the service is running # The default value just means its the IP address of the container in which the service is running
......
...@@ -553,7 +553,7 @@ def parse_network_params(plan, input_args): ...@@ -553,7 +553,7 @@ def parse_network_params(plan, input_args):
for attr in input_args: for attr in input_args:
value = input_args[attr] value = input_args[attr]
# if its insterted we use the value inserted # if its inserted we use the value inserted
if attr not in ATTR_TO_BE_SKIPPED_AT_ROOT and attr in input_args: if attr not in ATTR_TO_BE_SKIPPED_AT_ROOT and attr in input_args:
result[attr] = value result[attr] = value
elif attr == "network_params": elif attr == "network_params":
......
...@@ -274,9 +274,9 @@ def generate_valdiator_keystores_in_parallel( ...@@ -274,9 +274,9 @@ def generate_valdiator_keystores_in_parallel(
# no output dir path as validator count is 0 # no output dir path as validator count is 0
continue continue
generation_finished_filepath = finished_files_to_verify[idx] generation_finished_filepath = finished_files_to_verify[idx]
verificaiton_command = ["ls", generation_finished_filepath] verification_command = ["ls", generation_finished_filepath]
plan.wait( plan.wait(
recipe=ExecRecipe(command=verificaiton_command), recipe=ExecRecipe(command=verification_command),
service_name=service_name, service_name=service_name,
field="code", field="code",
assertion="==", assertion="==",
......
...@@ -23,7 +23,7 @@ max_retries = 32 ...@@ -23,7 +23,7 @@ max_retries = 32
expected_block_time = 13000 expected_block_time = 13000
# Time between health checks in ms # Time between health checks in ms
health_check_ttl = 400 health_check_ttl = 400
# Supress the health check running info messages # Suppress the health check running info messages
supress_rpc_check = false supress_rpc_check = false
# Note: the admin namespace contains volatile functions and # Note: the admin namespace contains volatile functions and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment