Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: Skip tests that only work on linux envs * feat: Add CheckErr utility function for tests * chore(gitignore): Ignore .vscode folder * doc(makefile): Comment codecov-test rule * feat(cli): Integrate posmoni monitoring tool to track sync progress of nodes Also start validator service after execution and consensus clients are sync * fix(cli): Incomplete validation check for --run-clients flag Added ContainsOnly utility function for string slices * refac: Move cobra commands files to new cli package Leave main.go in cmd/ * feat(cli): Make 1click completely 1click Run validator node after execution and consensus client are synced * feat(makefile): Add compile-linux rule for linux build * ci: Update binary * chore: Update go.mod and go.sum * style: Add a newline at the end of every env template file * feat: Implement logic for fallback EL nodes and checkpoint sync urls * feat: Add fallback EL and checkpoint sync url to consensus templates * feat(cli): Update client selection flow Changes: - Randomized flag removed - Randomized clients are default values, overriden by user selection via flags - Select same pair of consensus and validator clients if one of them is missing from user selection * ci: Update binary * feat(templates): Change structure to allow templates by network * feat: Add function to get supported networks * feat: Update client's RandomChoice to select only supported clients * feat: Add network flag to cli cmd and update codebase given the new templates structure * feat: Create kiln folder in envs and services alongside mainnet * feat: Update clients command Changes: - clients cmd now list supported clients for every network - remove 'Get' prefix from GetSupportedNetworks - refac clients::clients.go * fix: Add network to GenerationData, thus correct templates for network can be loaded * style: Remove 'Get' prefix from GetConfigClients * feat(cli): Validate network input * feat: Add 'networks' command to display supported networks * feat: Update envs and services templates Updates: - Use custom network '1click' - Expose api port for internal containers and not to host network - Add metrics configuration - Add condition to depends_on field of validator services - Add snap sync config to execution clients * feat(cli): Allow running none docker-compose services * feat: Add execution clients templates for kiln * feat(templates): Use TTD in services only if the TTD variable is set in env * feat: Use filepath.Join for path delimiter in GenerateConfig function * feat: Add support for suggested fee recipient * refac(templates): Use service ports as strings * feat: Add consensus clients templates for kiln * feat: Add validator clients templates for kiln * feat: Upgrade version of base compose script to 3.9 * feat: Update local execution and consensus default endpoints * refac: Move check TTD in env logic to new env pkg * feat(templates): Add support for config and genesis file for prysm * style(templates): Update With statements to not left black spaces when they are empty * fix(templates): Add FeeRecipient to ConsensusEnv data object * ci: Update binary * feat: Handle JWT secret for client authentication * feat(cli): Add prompt for feeRecipient and validate feeRecipient * fix: Use y flag instead of run for fee recipient prompt * feat: Change some select for confirm prompts * feat: Upgrade 'keys' command workflow Changes: - Add prompt for keystore password. The password is given to the deposit-cli tool and is used to create the keystore_password.txt file - Check for keystore generation completion. If it failed then don't create keystore_password.txt and other logs - Pull and use nethermindeth/staking-deposit-cli image instead of building it * feat: Update services templates structure to reuse testnet's compose services * doc: Comment utils::IsAddress function * doc: Update README * ci: Update binary * test: Unit test utils::IsAddress * ci: Update go version of workflows * fix: TTD value substitution at Teku consensus service template * feat: Add install dependencies support for Ubuntu 22.04 * test: Unit test ui::WriteListNetworksTable * test: Add more test cases for cli command * chore: Remove pflag pkg from go.mod tidy * feat: Remove linux binary from project * feat: Extend docker-compose ps and docker inspect commands * feat: Prepare datadir for teku before running it * fix: Change 'mainner_pruned' config on nethermind mainnet to 'mainnet' * feat: Get containers's internal IP address for Posmoni * chore(templates): Update some .env variables prefixes * style: Lower case client's names in flags description * fix(cli): Posmoni requests timeout to consensus node Solved by waiting one minute to start track sync after nodes launch. Also raised request timeout time to 30 seconds instead of 1 second * style: Upper case 'version' command description * feat: Update .env generation Added NETWORK and TTD as global settings. .env generation is now unified * test: Update cli unit tests Adapted to new sleep after running scripts, and to preprocessing before tracking sync * feat: Unify execution client env variables and remove ethstats from Nethermind * feat: Update scripts generation to use global TTD * Allow custom docker images for clients (#47) * feat: allow to pass custom docker images for clients * fix: additional white spaces in templates * feat(keys): Double check keystore password * feat(keys): Support eth1 withdrawal address * chore(makefile): Update run-cli rule * fix: GenerateValidatorKey unit test. Bad arguments * feat!: Use docker compose instead of docker-compose * feat: Add ability to inject additional flags to clients command. ExtraFlag feature * fix: wrong test case for handle dependencies * feat: Add metrics to mainnet validator services templates * feat: map all clients ports to host (#48) * feat: map all clients ports to host * fix: rename flag to map all * fix: missing property * doc(cli): Fix typo in comment Co-authored-by: Miguel Tenorio <[email protected]> * feat: Check for port occupation before generating ports for services * feat(templates): Add placeholders for ports in services * chore: Update go.sum * refac(templates): Move API and Auth ports responsability to .env variables * fix(templates): Update merge::lighthouse template with new ports change Co-authored-by: Carlos Bermudez Porto <[email protected]> Co-authored-by: Carlos Bermudez <[email protected]>
- Loading branch information