DeFiCh / DeFiCh/ain

Missing createvault in listaccounthistory

Open
#1,703 4 comments 0 reactions 0 assignees View on GitHub
bug
Dominant language
C++
Stars
397
Forks
129
PR merge metrics
No merged PRs in 30d

Description

The customTx "CreateVault" is Missing in listaccounthistory.

Example:

This transaction is missing: https://defiscan.live/transactions/6e6bf2400b0c38cacf9d9a94fa6555847ecd7414c4a388e49b04fa1de273212f

I tried it on other nodes with other wallets. Its always missing.

listaccounthistory dWnZCum7HxtJRjGv8YwdoTQUGpLRCnUP1B
[
{
"owner": "dWnZCum7HxtJRjGv8YwdoTQUGpLRCnUP1B",
"blockHeight": 2599844,
"blockHash": "1881cc1b0515e12a73858d75d802bed912045d0c69e916196a8b4ce98ebb28d1",
"blockTime": 1674122917,
"type": "PoolSwap",
"txn": 1,
"txid": "900f325c450c6bbc337d205fb7722ecd3c675832e99db68b8fd60053fd91066b",
"amounts": [
"-0.01000000@DFI",
"0.00000327@ETH"
]
},
{
"owner": "dWnZCum7HxtJRjGv8YwdoTQUGpLRCnUP1B",
"blockHeight": 2599841,
"blockHash": "625ed16270e7106ef04e7834c5a0998c12180a51d016652d1007cd6dfe18cf02",
"blockTime": 1674122796,
"type": "UtxosToAccount",
"txn": 29,
"txid": "28348b43994deac549515e0ebf3c19957c5770a7b648b7e55b3ad0ed6893d9a4",
"amounts": [
"0.01000000@DFI"
]
},
{
"owner": "dWnZCum7HxtJRjGv8YwdoTQUGpLRCnUP1B",
"blockHeight": 2599825,
"blockHash": "5e3a68d54845992410a3eed052de8a1c0da2689dae68218c6400e00ef3b61b0e",
"blockTime": 1674122192,
"type": "receive",
"txn": 7,
"txid": "5d660ee1275a65be28b392aba68a1ac6862ea931fa86c857e982466bdd15df87",
"amounts": [
"5.00000000@DFI"
]
},
{
"owner": "dWnZCum7HxtJRjGv8YwdoTQUGpLRCnUP1B",
"blockHeight": 2595054,
"blockHash": "f51f24c020f03c69330963a5a18ad790a510f2144862d66c9631a59e2cd3b638",
"blockTime": 1673978902,
"type": "receive",
"txn": 27,
"txid": "5d364cb48123e9d82e08ddb6386f91900f5326aea40b60b0cf62a4bdc656db6d",
"amounts": [
"1.00000000@DFI"
]
}
]

Contributor guide

Open the contributing guide

Research direction

Start by running listaccounthistory for the example address and comparing its output with the linked CreateVault transaction. Trace the listaccounthistory entry point and transaction-type handling to find where CreateVault is omitted. Done means the command includes the CreateVault transaction with the expected account-history fields and the relevant tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
api, blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.