Implement onboarding module for testnet participants #36

Merged
ashwin merged 8 commits from testnet-onboarding into main 2024-07-16 07:45:45 +00:00
2 changed files with 4 additions and 3 deletions
Showing only changes of commit d36f54543d - Show all commits

View File

@ -21,7 +21,7 @@ jobs:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: golangci/golangci-lint-action@v3.3.1 - uses: golangci/golangci-lint-action@v3.3.1
with: with:
# Required: the version of golangci-lint is required and must be specified without patch version: we always use the latest patch version. # Required: the version of golangci-lint is required and must be specified without patch version
version: latest version: v1.51
args: --timeout 10m args: --timeout 10m
github-token: ${{ secrets.github_token }} github-token: ${{ secrets.github_token }}

View File

@ -140,7 +140,8 @@ func ProvideClientContext(
// Read the config again to overwrite the default values with the values from the config file // Read the config again to overwrite the default values with the values from the config file
clientCtx, _ = config.ReadFromClientConfig(clientCtx) clientCtx, _ = config.ReadFromClientConfig(clientCtx)
// Workaround: Unset clientCtx.HomeDir and clientCtx.KeyringDir from depinject clientCtx as they are given precedence over the CLI args (--home flag) in some commands // Workaround: Unset clientCtx.HomeDir and clientCtx.KeyringDir from depinject clientCtx as they are given precedence over
// the CLI args (--home flag) in some commands
// TODO: Implement proper fix // TODO: Implement proper fix
clientCtx.HomeDir = "" clientCtx.HomeDir = ""
clientCtx.KeyringDir = "" clientCtx.KeyringDir = ""