Skip to content

Conversation

@OlufemiAdeOlusile
Copy link
Collaborator

Cascading

from cardano_clusterlib import types as itp

if TYPE_CHECKING:
from cardano_clusterlib.clusterlib_klass import ClusterLib
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't be needed.

self,
*,
name: str,
pool_params: structs.CompatPoolParams,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why bundling all params to a single structure here? We already have PoolData structure for pool configuration, why nesting it into another structure?

else:
default_owner = next(iter(pool_params.owner_stake_vkey_files))
reward_arg = [
"--pool-reward-account-verification-key-file",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No need to duplicate the arg name.

self._base = ("cardano-cli", "compatible", era, "governance")
self.action = GovernanceActionGroup(clusterlib_obj, era)

def _resolve_mir_direct_args(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We don't need to support this "direct" way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants