Closed adshmh closed 1 year ago
Will update this PR shortly to add/use Persistence module placeholders for maintaining state.
@Olshansk @h5law this is now ready for review.
Also pushed a commit to implement the relay execution.
Patch coverage: 47.48
% and project coverage change: +0.28
:tada:
Comparison is base (
2d4f789
) 31.52% compared to head (f3bfe13
) 31.80%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Please consider investigating the findings and remediating the incidents. Failure to do so may lead to compromising the associated services or software components.
🦉 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!
@Olshansk the review comments are now addressed, except a few that may need further discussion. I also added a commit to improve the default config behavior, as the introduction of the servicer default config combined with possibly incorrect default config behavior was breaking some of the unit tests.
@adshmh regarding the three outstanding comments, please see my replies:
Will take a look at the changes shortly
@adshmh regarding the three outstanding comments, please see my replies:
* [[Utility] trustless relays servicer token validation #803 (comment)](https://github.com/pokt-network/pocket/pull/803#discussion_r1228679186) * [[Utility] trustless relays servicer token validation #803 (comment)](https://github.com/pokt-network/pocket/pull/803#discussion_r1228679364) * [[Utility] trustless relays servicer token validation #803 (comment)](https://github.com/pokt-network/pocket/pull/803#discussion_r1228705803)
Will take a look at the changes shortly
Thank you for the review comments. Checked and addressed all 3.
@adshmh Just a few last-minute NITS.
This PR has been open for a while and more changes are being introduced so I'm beginning to get some PR fatigue. After the last few nits are tended to, let's merge it in and follow up in a separate PR if we find issues.
@Olshansk thank you for the reminder and multiple rounds of review. In the most recent commits I have tried to address the remaining review comments through minimum changes, even reverting a config change that had been introduced late in the PR and had not received thorough review.
@Olshansk sorry for the delay on this. I will address the remaining review comments within 1 day.
Just a couple of last-minute stylistic NITs but approving since it looks good to me!
Thank you for the detailed review. The 2 remaining review comments are now addressed. I will merge once CI checks pass.
Description
Add validation of application's session tokens to the servicer.
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)