-
Notifications
You must be signed in to change notification settings - Fork 12
Compatible group #336
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Compatible group #336
Conversation
cardano_clusterlib/compat_common.py
Outdated
| from cardano_clusterlib import types as itp | ||
|
|
||
| if TYPE_CHECKING: | ||
| from cardano_clusterlib.clusterlib_klass import ClusterLib |
There was a problem hiding this comment.
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.
cardano_clusterlib/compat_common.py
Outdated
| self, | ||
| *, | ||
| name: str, | ||
| pool_params: structs.CompatPoolParams, |
There was a problem hiding this comment.
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?
cardano_clusterlib/compat_common.py
Outdated
| else: | ||
| default_owner = next(iter(pool_params.owner_stake_vkey_files)) | ||
| reward_arg = [ | ||
| "--pool-reward-account-verification-key-file", |
There was a problem hiding this comment.
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.
cardano_clusterlib/compat_common.py
Outdated
| self._base = ("cardano-cli", "compatible", era, "governance") | ||
| self.action = GovernanceActionGroup(clusterlib_obj, era) | ||
|
|
||
| def _resolve_mir_direct_args( |
There was a problem hiding this comment.
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.
a02df6d to
2e14ec5
Compare
Cascading