-
Notifications
You must be signed in to change notification settings - Fork 720
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
PLT-106: Add encoder and decoder for LedgerState
#3993
Conversation
It would be absolutely wonderful to have |
Yeah I saw an existing |
Updated! |
LedgerState
LedgerState
07a9f54
to
853d1a9
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
853d1a9
to
dd2a329
Compare
6e8c1f2
to
b17a066
Compare
a336bc4
to
c2716d2
Compare
bors merge |
👎 Rejected by code reviews |
bors try |
@zliu41 I think @Jimbo4350 's lock is still on this PR... |
Yep! I'm working on merging the other PR first, and will come back to this one. |
tryTimed out. |
@@ -52,6 +54,8 @@ module Cardano.Api.LedgerState | |||
) | |||
where | |||
|
|||
import qualified Codec.CBOR.Decoding as CBOR |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should use: import qualified Cardano.Binary as CBOR
c2716d2
to
1896e34
Compare
bors r+ |
Timed out. |
bors r+ |
Build succeeded: |
One use case is for
foldBlocks
to checkpoint the ledger state to avoid having to start from Genisys. cc @JaredCorduan