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

[ADP-3487] Make deposit WalletState more strict #4862

Merged
merged 4 commits into from
Nov 29, 2024

Conversation

Anviking
Copy link
Member

@Anviking Anviking commented Nov 28, 2024

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

Previously (anviking/ADP-3487/NodeToClient )

9 GB and growing acording to os's activity monitor:

cardano-wallet

Issue Number

ADP-3494

@Anviking Anviking self-assigned this Nov 28, 2024
@Anviking Anviking marked this pull request as ready for review November 28, 2024 17:15
@Anviking Anviking changed the title Make deposit WalletState more strict [ADP-3487] Make deposit WalletState more strict Nov 28, 2024
Copy link
Collaborator

@paolino paolino left a comment

Choose a reason for hiding this comment

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

👍

Base automatically changed from anviking/ADP-3487/NodeToClient to master November 28, 2024 18:21
@Anviking Anviking enabled auto-merge November 28, 2024 18:28
@Anviking Anviking added this pull request to the merge queue Nov 28, 2024
github-merge-queue bot pushed a commit that referenced this pull request Nov 28, 2024
- 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
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 28, 2024
@paolino paolino added this pull request to the merge queue Nov 29, 2024
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Nov 29, 2024
@Anviking Anviking force-pushed the anviking/ADP-3494/StrictData branch from 2439275 to dc3cb52 Compare November 29, 2024 14:50
@Anviking Anviking enabled auto-merge November 29, 2024 14:51
@Anviking Anviking added this pull request to the merge queue Nov 29, 2024
Merged via the queue into master with commit e7547fc Nov 29, 2024
24 checks passed
@Anviking Anviking deleted the anviking/ADP-3494/StrictData branch November 29, 2024 16:21
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