-
Notifications
You must be signed in to change notification settings - Fork 206
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
feat: PRT - Consumer optimizer QoS client #1705
base: main
Are you sure you want to change the base?
Conversation
@@ -128,6 +147,10 @@ func (pu *PairingUpdater) updateInner(latestBlock int64) { | |||
continue | |||
} | |||
} | |||
|
|||
for _, updatable := range pu.pairingStakeEntriesUpdatables { |
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.
instead of adding a new updater type, we can just update the stake from inside the consumer session manager for a specific chain. also makes more sense to have it there after filtering.
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.
Fixed in 437c614
@@ -93,6 +93,19 @@ func (cst *ConsumerStateTracker) RegisterForPairingUpdates(ctx context.Context, | |||
} | |||
} | |||
|
|||
func (cst *ConsumerStateTracker) RegisterForPairingStakeEntriesUpdates(ctx context.Context, pairingUpdatable updaters.PairingStakeEntriesUpdatable, specId string) { |
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.
no need for that after the pairing updater comment.
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.
Removed in 437c614
No description provided.