Skip to content

Initialize wire encoding explicitly#325

Merged
matthiasgeihs merged 1 commit intohyperledger-labs:mainfrom
perun-network:explicit-encoding
Feb 18, 2022
Merged

Initialize wire encoding explicitly#325
matthiasgeihs merged 1 commit intohyperledger-labs:mainfrom
perun-network:explicit-encoding

Conversation

@matthiasgeihs
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown

@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