OmniLayer / omniexplorer

Block Explorer for Omni Protocol
Other
51 stars 50 forks source link

Block with specific transactions (Dex order, NFT transfer) are not showing on the explorer #450

Closed ludonakamoto closed 2 years ago

ludonakamoto commented 2 years ago

Omni Explorer

Issue Type

BUG

Different blocks are not displayed on the browser list.

The block 3889850 is not displayed on the list (see picture).

The block contains one dex purchase: https://dt45325.omniexplorer.info/ftc/block/3889850

The block3889867 is not displayed on the list (see second picture).

The block contains one NFT transfer of holder https://dt45325.omniexplorer.info/ftc/block/3889867

Description

image

image

Steps to reproduce

Browse https://dt45325.omniexplorer.info/ftc/blocks/3889855

or

https://dt45325.omniexplorer.info/ftc/blocks/3889875

Versions

achamely commented 2 years ago

@Bushstar looks like the API call is not returning that block in the return data: https://api.omnifeather.com/v1/transaction/blocks/3889875


  "blocks": [
    {
      "block": 3889875, 
      "block_hash": "d43adef4ad826dba6bd8d25221ed9a9c72042b29bb2f57b4c2e02b05fe714c61", 
      "omni_tx_count": 0, 
      "timestamp": 1634940822.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889874, 
      "block_hash": "6cba56ae2a31d3e97ff859f7ed29ded0c710a1bc452d832941af45b427077a19", 
      "omni_tx_count": 0, 
      "timestamp": 1634940815.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889873, 
      "block_hash": "d5504d811e06841b6239899884ae1bde1d75041900e7c612f70b0d13333d0381", 
      "omni_tx_count": 0, 
      "timestamp": 1634940781.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889872, 
      "block_hash": "f44929c8310c5ae3853d0aeae95336baebc30fe358226b5e7c5c2d7f35fe549f", 
      "omni_tx_count": 0, 
      "timestamp": 1634940741.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889871, 
      "block_hash": "4fa41eed8b14186489985ac6a2afe0424748737dfbad07bb3cf6eb24c7689946", 
      "omni_tx_count": 1, 
      "timestamp": 1634940635.0, 
      "value": {
        "details": {
          "31": {
            "flags": null, 
            "invalid": 0, 
            "name": "FeatherUS", 
            "rate_usd": "0.0", 
            "tx_count": 1, 
            "value_usd_rounded": 0, 
            "volume": "100"
          }
        }, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889870, 
      "block_hash": "0a62cad113ebe05e531a6f59e8a610b1fbed48a84a453c4d07eee83a05f058b4", 
      "omni_tx_count": 0, 
      "timestamp": 1634940614.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889869, 
      "block_hash": "e9295889b58f311612650b5de82e8374a331198bd415af13d16d8fea4febfa41", 
      "omni_tx_count": 0, 
      "timestamp": 1634940526.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889868, 
      "block_hash": "9b2f650c815416132db7f160a1fad773e2c31eb83d3c6a5ef99abd34ce5137e2", 
      "omni_tx_count": 0, 
      "timestamp": 1634940508.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889866, 
      "block_hash": "7e8eafce3ffa75a60460c0c8a632cc9be5f813ba75951329c2c8be6075edb009", 
      "omni_tx_count": 0, 
      "timestamp": 1634940421.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }, 
    {
      "block": 3889865, 
      "block_hash": "3df51c67e14e9fc810b9d0f402837dbbd98e1cd09ecfeeb8dc16f3f881f1ac14", 
      "omni_tx_count": 0, 
      "timestamp": 1634940390.0, 
      "value": {
        "details": {}, 
        "total_usd": 0, 
        "value_24hr": 0
      }
    }
  ], 
  "latest": 3893528
}```
Bushstar commented 2 years ago

Fixed by https://github.com/FeatherCoin/omnifeatherengine/commit/cc849238e75d92aa60ae1f1dedde85f667b563c4