Skip to content
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

Stub distributions module and pull out penumbra_stake crate #2588

Merged
merged 6 commits into from
May 16, 2023

Conversation

plaidfinch
Copy link
Collaborator

@plaidfinch plaidfinch commented May 16, 2023

This creates a stub penumbra_distributions crate and integrates it as a component into the app, without defining any functionality for it yet. Additionally, it pulls out penumbra_stake as a crate, which means that penumbra_distributions will be able to depend on it in the future.

In the course of the stake refactor, I fixed a long-outstanding FIXME saying that validator definitions should not be raw protos in parsed actions: this was in fact a necessary change because I needed to implement the trait ActionHandler for ValidatorDefinition, something not possible in a crate other than the one in which it or the trait was defined.

Although this does not yet implement any distributions functionality, we should merge it ASAP, so that it does not generate more conflicts.

@plaidfinch plaidfinch changed the title Distributions Stub distributions module and pull out penumbra_stake crate May 16, 2023
@plaidfinch plaidfinch marked this pull request as ready for review May 16, 2023 18:54
@plaidfinch
Copy link
Collaborator Author

Looks like this is failing to be wasm-compatible, probably because I didn't set up the optional dependencies correctly. Will fix shortly.

@plaidfinch plaidfinch temporarily deployed to smoke-test May 16, 2023 19:14 — with GitHub Actions Inactive
@plaidfinch plaidfinch temporarily deployed to smoke-test May 16, 2023 19:41 — with GitHub Actions Inactive
@plaidfinch plaidfinch merged commit 3352019 into main May 16, 2023
@plaidfinch plaidfinch deleted the distributions branch May 16, 2023 19:57
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.

1 participant