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

Incorrect balance #804

Open
flyerman opened this issue Dec 26, 2023 · 3 comments
Open

Incorrect balance #804

flyerman opened this issue Dec 26, 2023 · 3 comments

Comments

@flyerman
Copy link
Contributor

I'm investigating an incorrect balance. The wallet has only one address in it:
addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd

That address has 6 UTXOs that amounts to 33,682,447 Lovelace.
https://cexplorer.io/address/addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd/utxo#data

Cexplorer is showing 33.68 ADA:
image

Cardano scan is showing 33.68 ADA:
image

as well as other explorers.

Nami mention how much is "locked with asset" although amount to 33.68 as well:
image

But Lace 1.8.0 is display 34.39 ADA:
image

@flyerman
Copy link
Contributor Author

https://backend.live-mainnet.eks.lw.iog.io/v2.0.0/utxo/utxo-by-addresses

is correctly returning 6 UTXOs adding up to 33,682,447 Lovelace.

[
    [
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "index": 0,
            "txId": "8419d03f31388b503195214462a52acda2cbe12c69fe463111b3da3c2b263761"
        },
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "value": {
                "coins": {
                    "__type": "bigint",
                    "value": "1000000"
                }
            }
        }
    ],
    [
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "index": 0,
            "txId": "11a153856622fdda4ae9e5f46791e86329e234cf2d83f35675458a6269b6fd4e"
        },
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "value": {
                "coins": {
                    "__type": "bigint",
                    "value": "1000000"
                }
            }
        }
    ],
    [
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "index": 0,
            "txId": "e82b835ac511a02fb3b3fa525387d864b0407210aa89f0fe348cca91ab0bcfac"
        },
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "value": {
                "coins": {
                    "__type": "bigint",
                    "value": "1000000"
                }
            }
        }
    ],
    [
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "index": 1,
            "txId": "4bcc43e1dcfa1a5a1e46f562bd973908f87e7c5a2d08bed9d7db390e593020b2"
        },
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "value": {
                "coins": {
                    "__type": "bigint",
                    "value": "5830363"
                }
            }
        }
    ],
    [
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "index": 0,
            "txId": "0f32cabbaca0a9efd226d94c5a22c82fb38ab58088f8f9a4c4468d23f2703bc9"
        },
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "value": {
                "coins": {
                    "__type": "bigint",
                    "value": "1224040"
                },
                "assets": {
                    "__type": "Map",
                    "value": [
                        [
                            "5a0176dc400c08f397a041c2eaa0de667f13f117d3be204595ae77f84368617261637465723131",
                            {
                                "__type": "bigint",
                                "value": "1"
                            }
                        ],
                        [
                            "5a0176dc400c08f397a041c2eaa0de667f13f117d3be204595ae77f8536e6f77666c616b653337",
                            {
                                "__type": "bigint",
                                "value": "1"
                            }
                        ]
                    ]
                }
            }
        }
    ],
    [
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "index": 1,
            "txId": "0f32cabbaca0a9efd226d94c5a22c82fb38ab58088f8f9a4c4468d23f2703bc9"
        },
        {
            "address": "addr1q9v93qpsty4f5vs97ck6q3ges5uq63vhwy0yyagqhfkks9pl07wn3w4lhyys6ansn35hq5qjzkpk8ntjrf004w2j9yaqh8lkcd",
            "value": {
                "coins": {
                    "__type": "bigint",
                    "value": "23628044"
                }
            }
        }
    ]
]

@rhyslbw
Copy link
Member

rhyslbw commented Jan 5, 2024

Hey Florent! @mchappell has a hypothesis, so we'll test that out and report back.

@mchappell
Copy link
Collaborator

@flyerman can you confirm if lace is showing the correct balances now?

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

No branches or pull requests

4 participants
@rhyslbw @flyerman @mchappell and others