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

Simplify the en/decoder for PBFtChainState #1618

Merged
merged 2 commits into from
Feb 11, 2020
Merged

Conversation

mrBliss
Copy link
Contributor

@mrBliss mrBliss commented Feb 11, 2020

Fixes #1609.

Since we're breaking backwards compatibility of the ExtLedgerState serialisation format, we can get rid of the code dealing with backwards compatibility in PBFtChainState.

Nevertheless, start using Versioned for PBFtChainState so that it will be easier in the future to handle changes to the format.

@mrBliss mrBliss added the consensus issues related to ouroboros-consensus label Feb 11, 2020
@mrBliss mrBliss requested review from edsko and nfrisby February 11, 2020 10:09
@mrBliss mrBliss force-pushed the mrBliss/fix-1609 branch 2 times, most recently from 006ba5a to 1b06eb1 Compare February 11, 2020 11:06
Fixes #1609.

Since we're breaking backwards compatibility of the `ExtLedgerState`
serialisation format, we can get rid of the code dealing with
backwards compatibility in `PBFtChainState`.

Nevertheless, start using `Versioned` for `PBFtChainState` so that it will be
easier in the future to handle changes to the format.
@mrBliss
Copy link
Contributor Author

mrBliss commented Feb 11, 2020

bors r+

iohk-bors bot added a commit that referenced this pull request Feb 11, 2020
1618: Simplify the en/decoder for PBFtChainState r=mrBliss a=mrBliss

Fixes #1609.

Since we're breaking backwards compatibility of the `ExtLedgerState` serialisation format, we can get rid of the code dealing with backwards compatibility in `PBFtChainState`.

Nevertheless, start using `Versioned` for `PBFtChainState` so that it will be easier in the future to handle changes to the format.

Co-authored-by: Thomas Winant <[email protected]>
@iohk-bors
Copy link
Contributor

iohk-bors bot commented Feb 11, 2020

@iohk-bors iohk-bors bot merged commit d1cac31 into master Feb 11, 2020
@iohk-bors iohk-bors bot deleted the mrBliss/fix-1609 branch February 11, 2020 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consensus issues related to ouroboros-consensus
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Simplify encoder/decoder for PBftChainState
2 participants