Plutonomicon / cardano-transaction-lib

A Purescript library for building smart contract transactions on Cardano
https://plutonomicon.github.io/cardano-transaction-lib/
MIT License
93 stars 50 forks source link

Update dependencies #1532

Closed szg251 closed 11 months ago

szg251 commented 1 year ago

Updated some of the dependencies:

Blocked by

https://github.com/mlabs-haskell/plutip/pull/183

Pre-review checklist

szg251 commented 1 year ago

Plutip's local-cluster seems to be working correctly, spinning up the cluster with tada distributed, and keys generated. I could also verify that plutip-server is working, and the cluster can be started with the /start endpoint. I still have a problem with CTL: it can start the cluster, prepare the wallets, and query them, but it fails with a timeout when it's balancing a tx (before submitting a tx)

szg251 commented 1 year ago

Unfortunately I didn't have enough time to finish this, so I pushed my last results to 0fd1270

As discussed in a thread here, the latest versions of cardano-node (8.0.0 and above) require a new version of Ogmios (6.0). This version introduces a lot of breaking changes: most notably, they're using a standard JSON-RPC 2.0 scheme for the websocket messages. There's a beautiful migration guide here: https://github.com/CardanoSolutions/ogmios/blob/master/architectural-decisions/accepted/017-api-version-6-major-rewrite.md#migration-guide

Last status:

What's left:

call status
querySystemStartCall request, success response
queryCurrentEpochCall request, success response
queryEraSummariesCall request, success response
queryProtocolParameters request, success response
queryChainTipCall request, success response
queryPoolIdsCall -> queryStakePoolsCall method name only
queryPoolParametersCall -
queryDelegationsAndRewards method name only
submitTxCall request, success response
evaluateTxCall request, success response
acquireMempoolSnapshotCall method name only
mempoolSnapshotHasTxCall method name only
mempoolSnapshotNextTxCall method name only
mempoolSnpashotSizeAndCapacityCall method name only
releaseMempoolCall method name only
zmrocze commented 11 months ago

Thanks @szg251 for the status comment. Definitely helped to finish the pr.

zmrocze commented 11 months ago

@klntsky some easily missable details: