-
Notifications
You must be signed in to change notification settings - Fork 87
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
LocalStateQuery: let the client acquire the immutable tip #4765
Conversation
ouroboros-network-protocols/testlib/Ouroboros/Network/Protocol/LocalStateQuery/Test.hs
Show resolved
Hide resolved
The CI complains that "./ouroboros-network-api was modified but its CHANGELOG was not updated". But the change is just a comment that does not deserve mention in the CHANELOG. Do you have advice for how to proceed? |
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/LocalStateQuery/Codec.hs
Outdated
Show resolved
Hide resolved
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/LocalStateQuery/Type.hs
Show resolved
Hide resolved
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.
Very nice, thank you @nfrisby.
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/LocalStateQuery/Codec.hs
Outdated
Show resolved
Hide resolved
For "If serialization changes, user-facing consequences (e.g. replay from genesis) are confirmed to be intentional.", here's some quotes from a Slack discussion with @ch1bo :
Summary:
Also: the existing messages' serialization wasn't changed, but their data constructor names were improved. |
I'm assuming the panoply of |
ouroboros-network-protocols/src/Ouroboros/Network/Protocol/LocalStateQuery/Type.hs
Show resolved
Hide resolved
8bb6157
to
6bc58d4
Compare
It seems so, I restarted them. |
f30a4f1
to
6b136e9
Compare
I rebased and squashed my commits (and removed the merge commit that Marcin pushed). |
We will use this to make it easier for the CLI to only output answers that are not subject to rollback. This change to LocalStateQuery is gated by NodeToClient_Version16, since that is still mutable (it enables Conway et al).
6b136e9
to
cf63266
Compare
Description
We will use this to make it easier for the CLI to only output answers that are not subject to rollback.
This change to
LocalStateQuery
is gated byNodeToClient_Version16
, since that is still mutable (it enables Conway et al).It is a breaking change for any code that involves
MsgAcquire
orMsgReAcquire
, since the type of the argument has changed to a new (more perspicuous and expressive) ADT.Checklist