Skip to content

Commit b0c2eae

Browse files
authored
Merge pull request #329 from input-output-hk/ratify_state
Include get ratify state
2 parents 3be650f + 3bf1e81 commit b0c2eae

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

cardano_clusterlib/query_group.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -714,5 +714,10 @@ def get_future_pparams(self) -> dict[str, tp.Any]:
714714
out: dict[str, tp.Any] = json.loads(self.query_cli(["future-pparams"])) or {}
715715
return out
716716

717+
def get_ratify_state(self) -> dict[str, tp.Any]:
718+
"""Get the current ratification state."""
719+
out: dict[str, tp.Any] = json.loads(self.query_cli(["ratify-state"]))
720+
return out
721+
717722
def __repr__(self) -> str:
718723
return f"<{self.__class__.__name__}: clusterlib_obj={id(self._clusterlib_obj)}>"

0 commit comments

Comments
 (0)