Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Rpc: Rework getLeaderSchedule options #16749

Merged
merged 1 commit into from
Apr 22, 2021

Conversation

CriesofCarrots
Copy link
Contributor

Problem

The parameters in getLeaderSchedule are not truly optional. In order to use commitment or identity, a slot must be provided.

Summary of Changes

Rework getLeaderSchedule options so that slot is truly optional, even with config options included

Fixes #16723 (comment)

Copy link
Contributor

@mvines mvines left a comment

Choose a reason for hiding this comment

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

thanks, better!

@CriesofCarrots CriesofCarrots added the automerge Merge this Pull Request automatically once CI passes label Apr 22, 2021
@mergify mergify bot merged commit 636b598 into solana-labs:master Apr 22, 2021
mergify bot pushed a commit that referenced this pull request Apr 22, 2021
mergify bot added a commit that referenced this pull request Apr 22, 2021
(cherry picked from commit 636b598)

Co-authored-by: Tyera Eulberg <teulberg@gmail.com>
@CriesofCarrots CriesofCarrots deleted the rpc-leader-sched branch May 10, 2021 20:10
@brooksprumo brooksprumo mentioned this pull request Aug 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
automerge Merge this Pull Request automatically once CI passes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants