Skip to content

Commit 0abe11b

Browse files
authored
feat: add other era ProtocolParameters to CurrentProtocolParamsResult interface (#779)
Signed-off-by: Ales Verbic <[email protected]>
1 parent ae5b703 commit 0abe11b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

protocol/localstatequery/queries.go

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,13 @@ non_myopic_rewards { *poolid => int } int is the amount of lovelaces each pool w
150150
type NonMyopicMemberRewardsResult interface{}
151151

152152
type CurrentProtocolParamsResult interface {
153-
ledger.BabbageProtocolParameters | any // TODO: add more per-era types
153+
ledger.AllegraProtocolParameters |
154+
ledger.AlonzoProtocolParameters |
155+
ledger.BabbageProtocolParameters |
156+
ledger.ConwayProtocolParameters |
157+
ledger.MaryProtocolParameters |
158+
ledger.ShelleyProtocolParameters |
159+
any
154160
}
155161

156162
// TODO

0 commit comments

Comments
 (0)