Skip to content

Fix places where we request a password and don't check the nonInterac…#788

Merged
Olshansk merged 3 commits intomainfrom
non_interactive
May 25, 2023
Merged

Fix places where we request a password and don't check the nonInterac…#788
Olshansk merged 3 commits intomainfrom
non_interactive

Conversation

@Olshansk
Copy link
Copy Markdown
Collaborator

@Olshansk Olshansk commented May 25, 2023

Description

Summary generated by Reviewpad on 25 May 23 21:27 UTC

This pull request contains two patches. The first patch fixes an issue where the nonInteractive flag was not being checked when requesting passwords in a few places. The second patch updates the changelog to include the addition of the nonInteractive flag.

Issue

NA

Type of change

Please mark the relevant option(s):

  • New feature, functionality or library
  • Bug fix
  • Code health or cleanup
  • Major breaking change
  • Documentation
  • Other

List of changes

  • Add the nonInteractive flag check where it was missing

Testing

  • make develop_test; if any code changes were made
  • make test_e2e on k8s LocalNet; if any code changes were made
  • e2e-devnet-test passes tests on DevNet; if any code was changed
  • Docker Compose LocalNet; if any major functionality was changed or introduced
  • k8s LocalNet; if any infrastructure or configuration changes were made

Required Checklist

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added, or updated, godoc format comments on touched members (see: tip.golang.org/doc/comment)
  • I have tested my changes using the available tooling
  • I have updated the corresponding CHANGELOG

If Applicable Checklist

  • I have updated the corresponding README(s); local and/or global
  • I have added tests that prove my fix is effective or that my feature works
  • I have added, or updated, mermaid.js diagrams in the corresponding README(s)
  • I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

@Olshansk Olshansk added the client work needed to interface with the node (rpc, cli, etc..) label May 25, 2023
@Olshansk Olshansk requested review from adshmh and h5law May 25, 2023 20:42
@Olshansk Olshansk self-assigned this May 25, 2023
@reviewpad reviewpad bot added small Pull request is small waiting-for-review labels May 25, 2023
Copy link
Copy Markdown
Contributor

@h5law h5law left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM Nice catch 👍🏼

@Olshansk Olshansk mentioned this pull request May 25, 2023
20 tasks
@Olshansk Olshansk merged commit b638fee into main May 25, 2023
@Olshansk Olshansk deleted the non_interactive branch May 25, 2023 21:55
bryanchriswhite added a commit that referenced this pull request May 26, 2023
* pokt/main:
  Update client to p1 in makefile
  change gitsha of private-keys.yaml (#787)
  Fix places where we request a password and don't check the nonInterac… (#788)
  [Testing] [Tooling] chore: replace `gocuke` & `go-mockdns` in go.mod (#782)
  [k8s] Rename `client` to `p1` in k8s localnet (#764)
  [Persistence] Refactors BlockStore Interface (#774)
  [BUG] Int casting issue when sending tx (#783)
  add public keys to private-keys.yaml (#779)
bryanchriswhite added a commit that referenced this pull request May 26, 2023
* refactor/message-handling:
  Update client to p1 in makefile
  change gitsha of private-keys.yaml (#787)
  Fix places where we request a password and don't check the nonInterac… (#788)
  [Testing] [Tooling] chore: replace `gocuke` & `go-mockdns` in go.mod (#782)
  [k8s] Rename `client` to `p1` in k8s localnet (#764)
  [Persistence] Refactors BlockStore Interface (#774)
  [BUG] Int casting issue when sending tx (#783)
  fix: add  missing space to makefile
  add public keys to private-keys.yaml (#779)
  chore: update changelog
  chore: comment improvements
  fix: logger levels
  chore: improve func & var names'
  [Helm] Add ServiceMonitor to the helm chart (#767)
  Update PULL_REQUEST_TEMPLATE.md (#772)
  [CI/Infra] E2E tests on Argo Workflows (#737)
Olshansk added a commit that referenced this pull request Jun 1, 2023
#788)

## Description

### Summary generated by Reviewpad on 25 May 23 21:27 UTC
This pull request contains two patches. The first patch fixes an issue where the nonInteractive flag was not being checked when requesting passwords in a few places. The second patch updates the changelog to include the addition of the nonInteractive flag.

## Issue

NA

## Type of change

Please mark the relevant option(s):

- [ ] New feature, functionality or library
- [ ] Bug fix
- [x] Code health or cleanup
- [ ] Major breaking change
- [ ] Documentation
- [ ] Other <!-- add details here if it a different type of change -->

## List of changes

- Add the `nonInteractive` flag check where it was missing

## Testing

- [ ] `make develop_test`; if any code changes were made
- [ ] `make test_e2e` on [k8s LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md); if any code changes were made
- [ ] `e2e-devnet-test` passes tests on [DevNet](https://pocketnetwork.notion.site/How-to-DevNet-ff1598f27efe44c09f34e2aa0051f0dd); if any code was changed
- [ ] [Docker Compose LocalNet](https://github.com/pokt-network/pocket/blob/main/docs/development/README.md); if any major functionality was changed or introduced
- [ ] [k8s LocalNet](https://github.com/pokt-network/pocket/blob/main/build/localnet/README.md); if any infrastructure or configuration changes were made

<!-- REMOVE this comment block after following the instructions
 If you added additional tests or infrastructure, describe it here.
 Bonus points for images and videos or gifs.
-->

## Required Checklist

- [ ] I have performed a self-review of my own code
- [ ] I have commented my code, particularly in hard-to-understand areas
- [ ] I have added, or updated, [`godoc` format comments](https://go.dev/blog/godoc) on touched members (see: [tip.golang.org/doc/comment](https://tip.golang.org/doc/comment))
- [ ] I have tested my changes using the available tooling
- [ ] I have updated the corresponding CHANGELOG

### If Applicable Checklist

- [ ] I have updated the corresponding README(s); local and/or global
- [ ] I have added tests that prove my fix is effective or that my feature works
- [ ] I have added, or updated, [mermaid.js](https://mermaid-js.github.io) diagrams in the corresponding README(s)
- [ ] I have added, or updated, documentation and [mermaid.js](https://mermaid-js.github.io) diagrams in `shared/docs/*` if I updated `shared/*`README(s)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

client work needed to interface with the node (rpc, cli, etc..) small Pull request is small waiting-for-review

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants