ette icon indicating copy to clipboard operation
ette copied to clipboard

Returned Json is missing value and data fields

Open timmolter opened this issue 2 years ago • 1 comments

Returned Json is missing value and data fields./

{
    "transactions": [
        {
            "hash": "0x133332d7a9ddbb587e091b5138087e9dfa88c30c00301c1d54606453c6f5ac11",
            "from": "0x5073c1C5172cF29873802BC0cd8221c5Cef544E7",
            "to": "0xD1d2BD3a92B063dFE2f6ba2ba8d67BBb3f4D96dd",
            "value": "",
            "data": "",
            "gas": 21000,
            "gasPrice": "10000000000",
            "cost": "10000000000000000000",
            "nonce": 0,
            "state": 1,
            "blockHash": "0x20d88bdcb99b87544d25bdd3a6618c015b1d66de59989b1b6996f34991409424"
        }
    ]
}

Looking at the method here: https://github.com/itzmeanjan/ette/blob/main/app/db/query.go#L365-L377

, we see it's not added in the DB query.

Is this a bug or is it intended?

timmolter avatar Jan 12 '22 13:01 timmolter

Looks like I missed them.

itzmeanjan avatar Jan 12 '22 15:01 itzmeanjan

I've stopped maintaining ette, so closing this issue. Thanks.

itzmeanjan avatar Jan 13 '23 12:01 itzmeanjan