This pull request changes the chainSync function to use the data type ChainPoint from the Cardano.Wallet.Read hierarchy.
In order to keep the scope of this change limited, we add conversion functions fromWalletChainPoint and toWalletChainPoint — otherwise, we might have to propagate the change all the way to the database, which I don't want to do here. This pull request focuses on changing the NetworkLayer, not on changing the Cardano.Wallet.
Comments
The goal is to eventually remove the legacy primitive types.
This pull request changes the
chainSync
function to use the data typeChainPoint
from theCardano.Wallet.Read
hierarchy.In order to keep the scope of this change limited, we add conversion functions
fromWalletChainPoint
andtoWalletChainPoint
— otherwise, we might have to propagate the change all the way to the database, which I don't want to do here. This pull request focuses on changing theNetworkLayer
, not on changing theCardano.Wallet
.Comments
primitive
types.Issue Number
ADP-3350