Skip to content
Snippets Groups Projects

Bump hive submodule to latest develop (and required related deps of schemas, wax)

Merged Mateusz Żebrak requested to merge mzebrak/bump into develop
All threads resolved!
Files
17
@@ -11,6 +11,7 @@ from rich.text import Text
from clive.__private.cli.commands.abc.world_based_command import WorldBasedCommand
from clive.__private.cli.styling import colorize_content_not_available
from clive.__private.core import iwax
from clive.__private.core.formatters.humanize import (
align_to_dot,
humanize_asset,
@@ -21,7 +22,6 @@ from clive.__private.core.formatters.humanize import (
humanize_percent,
humanize_vest_to_hive_ratio,
)
from clive.__private.core.hive_vests_conversions import vests_to_hive
from clive.__private.core.percent_conversions import hive_percent_to_percent
if TYPE_CHECKING:
@@ -149,7 +149,7 @@ class ShowHivePower(WorldBasedCommand):
delegations_table.add_column(Text("Shares", justify="center"), style="green", no_wrap=True)
for delegation in self._hp_data.delegations:
delegation_hp_raw = vests_to_hive(delegation.vesting_shares, self._hp_data.gdpo)
delegation_hp_raw = iwax.calculate_vests_to_hp(delegation.vesting_shares, self._hp_data.gdpo)
delegation_hp = humanize_hive_power(delegation_hp_raw)
delegation_vests = humanize_asset(delegation.vesting_shares)
hp_aligned, vests_aligned = align_to_dot(delegation_hp, delegation_vests, center_to=delegations_title)
Loading