From 0abe11bb4dd569f805f5727c7a9556ad25934bfd Mon Sep 17 00:00:00 2001 From: Ales Verbic Date: Thu, 7 Nov 2024 08:40:11 -0500 Subject: [PATCH] feat: add other era ProtocolParameters to CurrentProtocolParamsResult interface (#779) Signed-off-by: Ales Verbic --- protocol/localstatequery/queries.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/protocol/localstatequery/queries.go b/protocol/localstatequery/queries.go index 2db987bc..768f88db 100644 --- a/protocol/localstatequery/queries.go +++ b/protocol/localstatequery/queries.go @@ -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