-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Utility] Add trustless relay to CLI #778
Conversation
Signed-off-by: Arash Deshmeh <[email protected]>
Thank you @adshmh for this first contribution! |
@adshmh One of the things we discussed in today's backlog refinement is that if you need preliminary feedback on a PR that's unfinished (e.g. no tests), keep it as a draft, but add the reviewers. If you don't hear back within 48-72 hours, that's when pinging them in a discord channel is considered 👌. We're planning to add this to #773. |
@adshmh I updated the PR metadata on this. Check it out and feel free to ask questions if you don't know what to select in future PRs. |
@adshmh When this needs a review or follow up on the responses, please re-request it on GitHub so I get a notification. |
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## main #778 +/- ##
==========================================
- Coverage 31.52% 31.43% -0.10%
==========================================
Files 107 109 +2
Lines 9034 9233 +199
==========================================
+ Hits 2848 2902 +54
- Misses 5846 5990 +144
- Partials 340 341 +1
☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adshmh Feel free to resolve / close out any comments where the change / suggestion is trivial or minor. There's a level of trust we got to have with others :)
Leave open comments where we need to continue the discussion.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adshmh There are still some comments that:
- You did not tend to
- You mentioned are resolved but are not
Can you please:
- Double check and resolve all outstanding comments
- Click "Resolve" once you have tended to a comment
- Push the latest changes
Re-request review once the above are taken care of.
Thank you for the reminder. All review comments are addressed now, except for items that may need further discussion. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@adshmh Just a few minor comments, but approving regardless.
Please see & then to them and then feel free to squash & merge.
|
GitGuardian id | Secret | Commit | Filename | |
---|---|---|---|---|
5841025 | Generic High Entropy Secret | a8481c9 | charts/pocket/templates/configmap-genesis.yaml | View secret |
🛠 Guidelines to remediate hardcoded secrets
- Understand the implications of revoking this secret by investigating where it is used in your code.
- Replace and store your secret safely. Learn here the best practices.
- Revoke and rotate this secret.
- If possible, rewrite git history. Rewriting git history is not a trivial act. You might completely break other contributing developers' workflow and you risk accidentally deleting legitimate data.
To avoid such incidents in the future consider
- following these best practices for managing and storing secrets including API keys and other credentials
- install secret detection on pre-commit to catch secret before it leaves your machine and ease remediation.
🦉 GitGuardian detects secrets in your source code to help developers and security teams secure the modern development process. You are seeing this because you or someone else with access to this repository has authorized GitGuardian to scan your pull request.
Our GitHub checks need improvements? Share your feedbacks!
Tests were confirmed to pass. COdecov is being disabled. Ggshield issue is being handled in #848. I will merged this in. |
## Description <!-- reviewpad:summarize:start --> ### Summary generated by Reviewpad on 19 Jun 23 16:17 UTC This pull request contains various changes including updates to shared types, implementation of new validation functions, modifications to RPC documentation and API endpoint schema, implementation of a new servicer command in the CLI package, and changes to the JSON payload types. There is also a suggestion for improving the `Session` message and added `TECHDEBT` for signature field. <!-- reviewpad:summarize:end --> ## Issue Part of work on #754 ## Type of change Please mark the relevant option(s): - [x] New feature, functionality or library - [ ] Bug fix - [ ] Code health or cleanup - [ ] Major breaking change - [ ] Documentation - [ ] Other <!-- add details here if it a different type of change --> ## List of changes - Added a "Relay" sub-command to CLI's "Servicer" command. ## Testing - [x] `make develop_test`; if any code changes were made - [x] `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 ## Required Checklist - [x] I have performed a self-review of my own code - [x] 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)) - [x] I have tested my changes using the available tooling - [x] 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)
Description
Summary generated by Reviewpad on 19 Jun 23 16:17 UTC
This pull request contains various changes including updates to shared types, implementation of new validation functions, modifications to RPC documentation and API endpoint schema, implementation of a new servicer command in the CLI package, and changes to the JSON payload types. There is also a suggestion for improving the
Session
message and addedTECHDEBT
for signature field.Issue
Part of work on #754
Type of change
Please mark the relevant option(s):
List of changes
Testing
make develop_test
; if any code changes were mademake test_e2e
on k8s LocalNet; if any code changes were madee2e-devnet-test
passes tests on DevNet; if any code was changedRequired Checklist
godoc
format comments on touched members (see: tip.golang.org/doc/comment)If Applicable Checklist
shared/docs/*
if I updatedshared/*
README(s)