-
Notifications
You must be signed in to change notification settings - Fork 721
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
Add API support for queries for protocol params. #2263
Conversation
The first two patches are from PR 2238. This can be rebased once they're merged. |
Before we add more things into that module.
To go along with the existing ProtocolParametersUpdate type. This new one will be used for the query that returns the current param values.
The node keeps the values of the params that are fixed in the genesis file. -- Please enter the commit message for your changes. Lines starting
Several kinds of params: 1. current values of updateable protocol params 2. any pending proposed param updates 3. the non-updateable params fixed in the (Shelley) genesis file
aa83a0d
to
b5abac0
Compare
-- Genesis paramaters | ||
-- | ||
|
||
data GenesisParameters = |
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.
💯
-- :: Set StakeAddress | ||
-- -> QueryInShelleyBasedEra (Map StakeAddress Lovelace, | ||
-- Map StakeAddress PoolId) | ||
QueryStakeAddresses |
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.
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.
Oops. You can take over this PR.
bors merge |
Build succeeded: |
Several kinds of params: