-
Notifications
You must be signed in to change notification settings - Fork 215
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
[Merged by Bors] - v2alpha1: Implement v2alpha1 ActivationService.Highest rpc #6552
Conversation
Codecov ReportAttention: Patch coverage is
✅ All tests successful. No failed tests found.
Additional details and impacted files@@ Coverage Diff @@
## develop #6552 +/- ##
=========================================
- Coverage 79.9% 79.8% -0.1%
=========================================
Files 354 354
Lines 46899 46918 +19
=========================================
- Hits 37484 37462 -22
- Misses 7298 7329 +31
- Partials 2117 2127 +10 ☔ View full report in Codecov by Sentry. |
bors merge |
Build failed: |
bors merge |
Pull request successfully merged into develop. Build succeeded: |
Description
Closes #6539
This pull request introduces several significant changes to the
api/grpcserver/v2alpha1/activation.go
file, including the addition of a new interface, modifications to theActivationService
struct, and the implementation of new methods. Additionally, it includes updates to the testing framework and dependencies. Below is a summary of the most important changes.Changes to
activation.go
:activationProvider
interface with methodsGetAtx
andMaxHeightAtx
.NewActivationService
function to accept additional parametersatxProvider
andgoldenAtx
.Highest
to theActivationService
struct to return the highest ATX.Mock and Test Updates:
activationProvider
interface inactivation_mocks.go
.activation_test.go
to use the newactivationProvider
mock and added a new test for theHighest
method. [1] [2] [3] [4] [5]