8000 Zeth client show parameters by dtebbs · Pull Request #263 · clearmatics/zeth · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Zeth client show parameters #263

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

Merged
merged 9 commits into from
Sep 7, 2020
Merged

Conversation

dtebbs
Copy link
Contributor
@dtebbs dtebbs commented Sep 1, 2020

mix --show-parameters flag and related refactor.
fix for small output inconsistency when using mix --wait

@@ -515,16 +515,17 @@ def mix(
self,
mix_params: contracts.MixParameters,
sender_eth_address: str,
pub_value: Optional[EtherValue] = None,
sender_eth_private_key: Optional[bytes],
Copy link
Contributor
@AntoineRondelet AntoineRondelet Sep 1, 2020

Choose a reason for hiding this comment

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

That's a general note, not related to this PR in particular.

As a general rule of thumb, passing secret keys/data around is not desirable (at all). That's something to be careful with - we want the "message to come to the sk" (not the other way around) (I comment here because I can see that we pass the private key to functions here)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure. We can iterate in a future pass.

@dtebbs dtebbs force-pushed the zeth-client-show-parameters branch from f614cb7 to aa3c7b5 Compare September 2, 2020 08:37
@AntoineRondelet AntoineRondelet self-requested a review September 4, 2020 14:25
@AntoineRondelet
Copy link
Contributor

LGTM

Make mpc server tests more verbose  (depends on #263)
@AntoineRondelet AntoineRondelet merged commit 099702d into develop Sep 7, 2020
@AntoineRondelet AntoineRondelet deleted the zeth-client-show-parameters branch September 10, 2020 15:03
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
0