-
Notifications
You must be signed in to change notification settings - Fork 217
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
[ADP-3487] Real NetworkEnv
implementation
#4856
Conversation
lib/customer-deposit-wallet/rest/Cardano/Wallet/Deposit/REST/Start.hs
Outdated
Show resolved
Hide resolved
lib/customer-deposit-wallet/src/Cardano/Wallet/Deposit/IO/Network/Type.hs
Outdated
Show resolved
Hide resolved
6988f8a
to
b016522
Compare
b016522
to
baea517
Compare
baea517
to
f346460
Compare
lib/customer-deposit-wallet/src/Cardano/Wallet/Deposit/IO/Network/Mock.hs
Outdated
Show resolved
Hide resolved
lib/customer-deposit-wallet/src/Cardano/Wallet/Deposit/IO/Network/NodeToClient.hs
Outdated
Show resolved
Hide resolved
fromNetworkLayer nl = mapBlock Read.fromConsensusBlock $ | ||
NetworkEnv | ||
{ chainSync = \_tr follower -> do | ||
-- TODO: Connect tracer |
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.
Should fix
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.
For later.
lib/customer-deposit-wallet/src/Cardano/Wallet/Deposit/IO/Network/NodeToClient.hs
Outdated
Show resolved
Hide resolved
lib/customer-deposit-wallet/src/Cardano/Wallet/Deposit/IO/Network/Type.hs
Outdated
Show resolved
Hide resolved
76f957e
to
3db0842
Compare
3db0842
to
295f656
Compare
, slotToUTCTime = pure Time.unsafeUTCTimeOfSlot | ||
, utcTimeToSlot = pure . Just . Time.unsafeSlotOfUTCTime |
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.
Unused and dropping for now.
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.
👍
- Make deposit wallet state more strict with StrictData - Bump cardano-wallet-agda for new increased strictness from - cardano-foundation/cardano-wallet-agda#116 - cardano-foundation/cardano-wallet-agda#117 Depends on #4856 (or tested with it at least, but probably mergeable without it as well) ## Results ### This PR ~600-800 MB memory usage when syncing with preprod The heap profile suggests we still have a memory leak, but this is not immediately observable in the os's activity monitor, so this is a lot better than before. ![cardano-wallet-strictness-pr](https://github.com/user-attachments/assets/df9ef5c6-c5f5-4d21-963a-9c97dbf8fc82) ### Previously ([anviking/ADP-3487/NodeToClient](https://github.com/cardano-foundation/cardano-wallet/tree/anviking/ADP-3487/NodeToClient) ) 9 GB and growing acording to os's activity monitor: ![cardano-wallet](https://github.com/user-attachments/assets/0e77e794-a439-425f-a686-f77f83e0a741) ### Issue Number ADP-3494
- Make deposit wallet state more strict with StrictData - Bump cardano-wallet-agda for new increased strictness from - cardano-foundation/cardano-wallet-agda#116 - cardano-foundation/cardano-wallet-agda#117 Depends on #4856 (or tested with it at least, but probably mergeable without it as well) ## Results ### This PR ~600-800 MB memory usage when syncing with preprod The heap profile suggests we still have a memory leak, but this is not immediately observable in the os's activity monitor, so this is a lot better than before. ![cardano-wallet-strictness-pr](https://github.com/user-attachments/assets/df9ef5c6-c5f5-4d21-963a-9c97dbf8fc82) ### Previously ([anviking/ADP-3487/NodeToClient](https://github.com/cardano-foundation/cardano-wallet/tree/anviking/ADP-3487/NodeToClient) ) 9 GB and growing acording to os's activity monitor: ![cardano-wallet](https://github.com/user-attachments/assets/0e77e794-a439-425f-a686-f77f83e0a741) ### Issue Number ADP-3494
Deposit.IO.Network.NodeToClient
module withfromNetworkLayer
functionCardano.Wallet.Application
use a realNetworkEnv
, translated withfromNetworkLayer
Comments
Issue Number
ADP-3487