Skip to content

Commit

Permalink
feat: add other era ProtocolParameters to CurrentProtocolParamsResult…
Browse files Browse the repository at this point in the history
… interface (#779)

Signed-off-by: Ales Verbic <verbotenj@blinklabs.io>
  • Loading branch information
verbotenj authored Nov 7, 2024
1 parent ae5b703 commit 0abe11b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion protocol/localstatequery/queries.go
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,13 @@ non_myopic_rewards { *poolid => int } int is the amount of lovelaces each pool w
type NonMyopicMemberRewardsResult interface{}

type CurrentProtocolParamsResult interface {
ledger.BabbageProtocolParameters | any // TODO: add more per-era types
ledger.AllegraProtocolParameters |
ledger.AlonzoProtocolParameters |
ledger.BabbageProtocolParameters |
ledger.ConwayProtocolParameters |
ledger.MaryProtocolParameters |
ledger.ShelleyProtocolParameters |
any
}

// TODO
Expand Down

0 comments on commit 0abe11b

Please sign in to comment.