Skip to content

Initialize wire encoding explicitly #325

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

Conversation

matthiasgeihs
Copy link
Contributor

This PR proposes to initialize the wire encoding explicitly when needed, instead of setting it via an implicit import. This allows a user to have a better understanding which component uses which encoding and when setting an encoding is not necessary (for example, in case of using a local bus).

@matthiasgeihs
Copy link
Contributor Author

@manoranjith You suggested that the bus could also carry the initializer. Here is a proposal for that: perun-network@3347143

Let me know which approach you like better.

Signed-off-by: Matthias Geihs <matthias@perun.network>
Copy link

@manoranjith manoranjith left a comment

Choose a reason for hiding this comment

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

LGTM

@matthiasgeihs matthiasgeihs merged commit 8e60c9f into hyperledger-labs:main Feb 18, 2022
@matthiasgeihs matthiasgeihs deleted the explicit-encoding branch February 18, 2022 11:02
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