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

Upgrade cardano-api and cardano-cli to latest versions #10

Merged
merged 1 commit into from
May 6, 2024

Conversation

smelc
Copy link

@smelc smelc commented May 3, 2024

Note

This PR has a SRP to cardano-cli. It will soon be removed as we release cardano-cli.

Prerequisites

Context

Upgrades cardano-api and cardano-cli to latest versions

How to trust this PR

Well, this was a blind change, entirely compiler-guided, since there are not tests in this repo, so 🤞

qfilter :: QueryUTxOFilter
qfilter = QueryUTxOByAddress $ Set.singleton address
query = QueryInShelleyBasedEra sbe (QueryUTxO qfilter)

aquireConnection :: Applicative f => m (Net.Query.ClientStAcquired block point query m a) -> f (Net.Query.ClientStIdle block point query m a)
aquireConnection aquireComplete = do
pure $ Net.Query.SendMsgAcquire Nothing $ Net.Query.ClientStAcquiring
pure $ Net.Query.SendMsgAcquire VolatileTip $ Net.Query.ClientStAcquiring
Copy link
Author

Choose a reason for hiding this comment

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

@disassembler> I've chosen to use VolatileTip here, is that what we want?

@@ -144,12 +143,12 @@ runQueryThen query queryDone = do

reAcquireThen :: m (Net.Query.ClientStAcquired block point query m a) -> IO (Net.Query.ClientStAcquired block point query m a)
reAcquireThen cb = do
pure $ Net.Query.SendMsgReAcquire Nothing $ Net.Query.ClientStAcquiring
pure $ Net.Query.SendMsgReAcquire VolatileTip $ Net.Query.ClientStAcquiring
Copy link
Author

Choose a reason for hiding this comment

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

@disassembler> I've chosen to use VolatileTip here, is that what we want?

@disassembler disassembler marked this pull request as ready for review May 6, 2024 18:19
@disassembler disassembler force-pushed the smelc/node-8.10.0-pre branch from 0923930 to 890d4d0 Compare May 6, 2024 22:14
@disassembler disassembler merged commit f1b83b4 into master May 6, 2024
3 checks passed
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