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

[UI] Outdated overflow tag #554

Closed
jeremy-babylonlabs opened this issue Dec 23, 2024 · 4 comments · Fixed by #603
Closed

[UI] Outdated overflow tag #554

jeremy-babylonlabs opened this issue Dec 23, 2024 · 4 comments · Fixed by #603
Assignees

Comments

@jeremy-babylonlabs
Copy link
Contributor

Image

@jrwbabylonlab
Copy link
Collaborator

assigning to @supertong

@supertong
Copy link
Contributor

How do I reproduce that and do you have the design for what it should look like?
I tried to mock the response data with overflow state but couldn't get the tag displayed.
Image

@jrwbabylonlab
Copy link
Collaborator

jrwbabylonlab commented Jan 6, 2025

@supertong let me share a mocked data set. You can adjust the "is_overflow": true,

{
    "data": [
        {
            "staking_tx_hash_hex": "8967c10bb3422c104321d057ce5f0833c69b747629e4c095df29332710ca045d",
            "staker_pk_hex": "358818f214fcd9d4ccc4296c9079ec25ed440b0df4acc34bedaa76c2c1955a19",
            "finality_provider_pk_hex": "ee9da95e9fecbb2191943c56a109d1dc81787a77994ad9ef89278850a58e4876",
            "state": "active",
            "staking_value": 10000,
            "staking_tx": {
                "tx_hex": "02000000000101cb3c161e2a23fa8a910688c79e7fedf073960791a22a71a8d3042d69a4051d190100000000fdffffff031027000000000000225120214aaa598d63cb55d51aa17c7ecc0ae3c6635255e318f09aeb2626b2783f0d780000000000000000496a476262743000358818f214fcd9d4ccc4296c9079ec25ed440b0df4acc34bedaa76c2c1955a19ee9da95e9fecbb2191943c56a109d1dc81787a77994ad9ef89278850a58e487603e8c17b16000000000022512053bea6a3e87c00ca8cfff0ebcc53acf2ae4590e208f3f4f6b6719c535c1665290140d2e8a6f1e8b393ea56f74608d01b7fc95ea324f762384f6279fdeb2af287a149481b02a71476a9f64f892ecf637bffc92803630f5e48fedefe0d4cf0d49b4d5372780300",
                "output_index": 0,
                "start_timestamp": "2025-01-03T05:39:57Z",
                "start_height": 229159,
                "timelock": 1000
            },
            "is_overflow": false,
            "is_eligible_for_transition": true,
            "is_slashed": false
        },
        {
            "staking_tx_hash_hex": "db97f6ba3d9b4e02da8b933f484b5267e53bc1965afc1a2671d15dc6aba1e32c",
            "staker_pk_hex": "358818f214fcd9d4ccc4296c9079ec25ed440b0df4acc34bedaa76c2c1955a19",
            "finality_provider_pk_hex": "ee9da95e9fecbb2191943c56a109d1dc81787a77994ad9ef89278850a58e4876",
            "state": "unbonded",
            "staking_value": 10000,
            "staking_tx": {
                "tx_hex": "020000000001016fff24af524034b5bd7396605f4d4eb06983b8c320e263cbab934a2be8a225cc0200000000fdffffff031027000000000000225120bc1525162dc2be0c39ea94faba7be5532458cfa1cb357afa72edff5247f54b640000000000000000496a476262743000358818f214fcd9d4ccc4296c9079ec25ed440b0df4acc34bedaa76c2c1955a19ee9da95e9fecbb2191943c56a109d1dc81787a77994ad9ef89278850a58e48760064d78c43000000000022512053bea6a3e87c00ca8cfff0ebcc53acf2ae4590e208f3f4f6b6719c535c16652901400d57257d6b5c75b1f2fe87b254e3bea7a0bf1fe1515a816232df1e492ee6b8427381c3f9fe751dedf4df03ba810bbbb6abada00bb4aadc05ef7210357040d51ad9630300",
                "output_index": 0,
                "start_timestamp": "2024-12-06T05:19:59Z",
                "start_height": 225146,
                "timelock": 100
            },
            "is_overflow": false,
            "is_eligible_for_transition": false,
            "is_slashed": false
        },
        {
            "staking_tx_hash_hex": "03e1b91561eb26479c79d6c452318fa6a36cd6d6df9f622d298e0e83b6d2154e",
            "staker_pk_hex": "358818f214fcd9d4ccc4296c9079ec25ed440b0df4acc34bedaa76c2c1955a19",
            "finality_provider_pk_hex": "ee9da95e9fecbb2191943c56a109d1dc81787a77994ad9ef89278850a58e4876",
            "state": "unbonded",
            "staking_value": 10000,
            "staking_tx": {
                "tx_hex": "020000000001014310dc11f8f210f6f5d246ab0ed8ad6989f096fc5ce3b18a128c520799eabfbd0100000000fdffffff03102700000000000022512090f375aac396e07eb6a89c1f6bf22841d528939260dabb99957c9bb8aa9cd1bb0000000000000000496a476262743000358818f214fcd9d4ccc4296c9079ec25ed440b0df4acc34bedaa76c2c1955a19ee9da95e9fecbb2191943c56a109d1dc81787a77994ad9ef89278850a58e4876ea603e9145000000000022512053bea6a3e87c00ca8cfff0ebcc53acf2ae4590e208f3f4f6b6719c535c1665290140d40ef8943dee0d654ce5cd816fce3c05799fbeaab149fb705b069dbc0c30c2452ca21f10278ef9a8f41293eeb57ff7f38f4c20517071a064fb93162f15229eedd9630300",
                "output_index": 0,
                "start_timestamp": "2024-11-23T21:46:30Z",
                "start_height": 223335,
                "timelock": 60000
            },
            "unbonding_tx": {
                "tx_hex": "020000000001014e15d2b6830e8e292d629fdfd6d66ca3a68f3152c4d6799c4726eb6115b9e1030000000000ffffffff011c250000000000002251201f5d272874f5a1b37ec5c9d942aed5b9e810568c07057cf2a7c09090122793da0640071a30dd94cfeecbd5ae90ce471f6f1d48382df54385d18cc87edca7e0d44a0d16b638d859f7f2267f46c4d6626ba717833c233e595490681eb1c05e7634bda90040f40b5a012db70a64a8328295a563057c5a6ef7c0f1e2466d4f571a04fba5655a3ceb892667597a1386a877aabdc80f62d0ef6c8e41e40973cfb706efc748d11c40875f2883465a9bb11daece0d68d51fb4fdc9cd2961f6dfa0189dda54b90848d2508ae5b220a40d32fe0813ff0c3800a84427dc3b0183f8c58dea03fe78883c2b8a20358818f214fcd9d4ccc4296c9079ec25ed440b0df4acc34bedaa76c2c1955a19ad2059d3532148a597a2d05c0395bf5f7176044b1cd312f37701a9b4d0aad70bc5a4ac20a5c60c2188e833d39d0fa798ab3f69aa12ed3dd2f3bad659effa252782de3c31ba20ffeaec52a9b407b355ef6967a7ffc15fd6c3fe07de2844d61550475e7a5233e5ba529c61c050929b74c1a04954b78b4b6035e97a5e078a5a0f28ec96d547bfee9ace803ac00c4f5b2c79424b60893684ff67c7ddb9513824372cef738b408140e19315baf0b9b924b883fab24b81cdfdcb66cf950c381a254023ad7508c62ef5fc8d7021d700000000",
                "output_index": 0,
                "start_timestamp": "2025-01-03T14:41:41Z",
                "start_height": 229214,
                "timelock": 20
            },
            "is_overflow": false,
            "is_eligible_for_transition": false,
            "is_slashed": false
        }
    ],
    "pagination": {
        "next_key": ""
    }
}

@jeremy-babylonlabs
Copy link
Contributor Author

I will take over this

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 a pull request may close this issue.

3 participants