DeFiCh / ain

DeFi Blockchain - enabling decentralized finance on Bitcoin
https://defichain.com
MIT License
399 stars 118 forks source link

Missing createvault in listaccounthistory #1703

Open Darkchicken1991 opened 1 year ago

Darkchicken1991 commented 1 year ago

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" ] } ]

defichain-bot commented 1 year ago

@Darkchicken1991: Thanks for opening an issue, it is currently awaiting triage.

The triage/accepted label can be added by foundation members by writing /triage accepted in a comment.

Details I am a bot created to help the [DeFiCh](https://github.com/DeFiCh) developers manage community feedback and contributions. You can check out my [manifest file](https://github.com/DeFiCh/ain/blob/master/.github/governance.yml) to understand my behavior and what I can do. If you want to use this for your project, you can check out the [DeFiCh/oss-governance-bot](https://github.com/DeFiCh/oss-governance-bot) repository.
shohamc1 commented 1 year ago

Thanks for reporting this - this does seem like a bug, the creation fee should show up on listaccounthistory as the refund on closevault does show up on listaccounthistory.

Darkchicken1991 commented 1 year ago

Thanks for reporting this - this does seem like a bug, the creation fee should show up on listaccounthistory as the refund on closevault does show up on listaccounthistory.

Can you show me with an example? I tried it on 3 different wallets with different vaults. And noone shows it up like my example.

shohamc1 commented 1 year ago

You are right, it does not show up - but it should.