-
Notifications
You must be signed in to change notification settings - Fork 94
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
[bug] my_tx_hsitory does not return all transactions for IRIS #1593
Comments
Tried to pull transactions from iris node, but not 100% sure on how to do it, their documentation is... lacking. https://www.irisnet.org/docs/cli-client/tx.html#iris-query-txs |
@SirSevenG Please add the following info to this and all future bug reports:
|
Tested on: mm2-3aaaecdd5-Linux-CI.zip Full log attached. Steps:
UPD: same steps with RUST_LOG=debug (ignore rpc errors - i sometimes fail to copy/paste correctly >.>) |
@SirSevenG Please post |
Actually... looks like it. ) |
Request: curl --url "http://127.0.0.1:7783" --data "{
\"method\":\"enable_tendermint_with_assets\",
\"mmrpc\":\"2.0\",
\"params\":{
\"ticker\":\"IRIS\",
\"tx_history\":true,
\"tokens_params\": [ {\"ticker\":\"ATOM-IBC_IRIS\"}],
\"rpc_urls\": [\"https://iris.komodo.live/\", \"https://rpc.irishub-1.irisnet.org\"]
},
\"userpass\":\"$userpass\"
}" {"mmrpc":"2.0","result":{"ticker":"IRIS","address":"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq","current_block":18023098,"balance":{"spendable":"81.631007","unspendable":"0"},"tokens_balances":{"ATOM-IBC_IRIS":{"spendable":"0","unspendable":"0"}}},"id":null} Request: curl --url "http://127.0.0.1:7783" --data '{
"userpass":"$userpass",
"method":"my_tx_history",
"mmrpc":"2.0",
"params": {
"coin": "IRIS",
"limit": 200
}
}'
Full response:{
"mmrpc":"2.0",
"result":{
"coin":"IRIS",
"target":{
"type":"iguana"
},
"current_block":18023104,
"transactions":[
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a69616131376834346c366c753934746c65327966746565376433346167666768707235366861676176642a100a05756972697312073930383236383332403933663637613664346362306533643763323030333038663764383262383838396364313462643838353230303237353161393664383031636533623634303240da08",
"tx_hash":"0ABC836DE48B81D29AB0E8F6773F25A2AAB9B6BEE9A199BDB77BC5E589F6DCEF",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
],
"total_amount":"9.139923",
"spent_by_me":"9.139923",
"received_by_me":"0",
"my_balance_change":"-9.139923",
"block_height":18013688,
"timestamp":1672341324,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.05724",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3646384530424139324431384238344544363338434241300000000000000000",
"transaction_type":{
"CustomTendermintMsg":{
"msg_type":"SendHtlcAmount",
"token_id":null
}
},
"confirmations":9417
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161316567307167617a37336a737676727676747a713478383233686d7a387161706c64643078347a1a0e0a05756972697312053131363839",
"tx_hash":"C60D547E6884D959121FA85E3CB4AA002EF73E8E1CA03B7F0C71321C27804275",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1eg0qgaz73jsvvrvvtzq4x823hmz8qapldd0x4z"
],
"total_amount":"0.055909",
"spent_by_me":"0.055909",
"received_by_me":"0",
"my_balance_change":"-0.055909",
"block_height":18013668,
"timestamp":1672341198,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.04422",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"4535384146313231393539443438383645373435443036430000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":9437
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161316567307167617a37336a737676727676747a713478383233686d7a387161706c64643078347a1a0d0a057569726973120431313538",
"tx_hash":"C12CCECA74ACC7D2EEAD63F2BC0193C2BE285FDAC52592A5CDD0CE2DEE76E423",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1eg0qgaz73jsvvrvvtzq4x823hmz8qapldd0x4z"
],
"total_amount":"0.04537",
"spent_by_me":"0.04537",
"received_by_me":"0",
"my_balance_change":"-0.04537",
"block_height":18013065,
"timestamp":1672337395,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044212",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3246333644414545324437434341343741434543433231430000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":10040
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a69616131376834346c366c753934746c65327966746565376433346167666768707235366861676176642a100a05756972697312073930303030303032406634323131393631353935653439613138633930633165386663666262373232623433383961393361343061313137633766373966333631623732663661613240e922",
"tx_hash":"05F51677FEA9B978E013372DC46626DC9E766B94B3D271B374C74A69AD11970F",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
],
"total_amount":"9.055128",
"spent_by_me":"9.055128",
"received_by_me":"0",
"my_balance_change":"-9.055128",
"block_height":17982561,
"timestamp":1672143766,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.055128",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"4432373333313045383739423941454637373631354635300000000000000000",
"transaction_type":{
"CustomTendermintMsg":{
"msg_type":"SendHtlcAmount",
"token_id":null
}
},
"confirmations":40544
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161316567307167617a37336a737676727676747a713478383233686d7a387161706c64643078347a1a0e0a05756972697312053130343234",
"tx_hash":"F8ABCD5D2B9A01EC82153BB852F60CFA249A8F701212502A71D2C81F4B69B7E0",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1eg0qgaz73jsvvrvvtzq4x823hmz8qapldd0x4z"
],
"total_amount":"0.054644",
"spent_by_me":"0.054644",
"received_by_me":"0",
"my_balance_change":"-0.054644",
"block_height":17982484,
"timestamp":1672143278,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.04422",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3842423335313238434531304139423244354443424138460000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":40621
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b747573711a100a057569726973120731303030303030",
"tx_hash":"30CB686DAA883C876C16C9CC9C8F91872C6EE77A00247907897A36C1ABC307A8",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"total_amount":"1.044444",
"spent_by_me":"0.044444",
"received_by_me":"1",
"my_balance_change":"0.955556",
"block_height":17982451,
"timestamp":1672143065,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044444",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"4343394336314336373843333838414144363836424330330000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":40654
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a69616131647863376c64676b336e666e356b373671706c75703967397868786e7966346d6570396b70382a0f0a057569726973120637353433323132403163346334383139313331633334316165336463353766626666636462643335323663356365373333623764653939323635316239613335393463363430386140da08",
"tx_hash":"A0EF0A055D9A4325EE49C0FD02CA0DCE30C60D94B4B9397999776C18FDF56C80",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
],
"total_amount":"0.811533",
"spent_by_me":"0.811533",
"received_by_me":"0",
"my_balance_change":"-0.811533",
"block_height":17901914,
"timestamp":1671630328,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.057212",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"4446304339344545353233344139443535304130464530410000000000000000",
"transaction_type":{
"CustomTendermintMsg":{
"msg_type":"SendHtlcAmount",
"token_id":null
}
},
"confirmations":121191
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161316567307167617a37336a737676727676747a713478383233686d7a387161706c64643078347a1a0c0a0575697269731203393730",
"tx_hash":"029B1AA279C65CE44D08AC18424C3DA70C1552C17B21896A1876265A662AC49D",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1eg0qgaz73jsvvrvvtzq4x823hmz8qapldd0x4z"
],
"total_amount":"0.045199",
"spent_by_me":"0.045199",
"received_by_me":"0",
"my_balance_change":"-0.045199",
"block_height":17901897,
"timestamp":1671630216,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044229",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3831434138304434344543353643393732414131423932300000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":121208
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b747573711a120a0575697269731209313030363139313935",
"tx_hash":"DA94886AF09A1490E7B18B0308EBB0BAD84E94C59BB1F9AB605E22FC3931853A",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"total_amount":"100.663597",
"spent_by_me":"0.044402",
"received_by_me":"100.619195",
"my_balance_change":"100.574793",
"block_height":17901365,
"timestamp":1671626836,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044402",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3330423831423745303934314139304641363838343941440000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":121740
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a69616131376834346c366c753934746c65327966746565376433346167666768707235366861676176642a110a0575697269731208313132333139303032403837643337373935643536323231623864363935373762616630643836656131623532386362303133623263623839633238623234373866306564623132333040da08",
"tx_hash":"5D05A883D2C29FDA9B220AE3576C321DA7A5AE1B684D3360273100547D457722",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
],
"total_amount":"11.287082",
"spent_by_me":"11.287082",
"received_by_me":"0",
"my_balance_change":"-11.287082",
"block_height":17876792,
"timestamp":1671469968,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.055182",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3345413032324239414446393243324433383841353044350000000000000000",
"transaction_type":{
"CustomTendermintMsg":{
"msg_type":"SendHtlcAmount",
"token_id":null
}
},
"confirmations":146313
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161316567307167617a37336a737676727676747a713478383233686d7a387161706c64643078347a1a0e0a05756972697312053134343535",
"tx_hash":"B2E3DA7B0C5BE7609A404759AB857B8B04E793024CC7AF64D97892FD89481AC3",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1eg0qgaz73jsvvrvvtzq4x823hmz8qapldd0x4z"
],
"total_amount":"0.058699",
"spent_by_me":"0.058699",
"received_by_me":"0",
"my_balance_change":"-0.058699",
"block_height":17876769,
"timestamp":1671469822,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044244",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3935373430344139303637454235433042374144334532420000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":146336
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161316567307167617a37336a737676727676747a713478383233686d7a387161706c64643078347a1a0d0a057569726973120431343236",
"tx_hash":"C69731B150C9674D4B3EAA5DCE6F1021FF6AEF8B3DF2FD6B8CA7E639FAC06D24",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1eg0qgaz73jsvvrvvtzq4x823hmz8qapldd0x4z"
],
"total_amount":"0.045663",
"spent_by_me":"0.045663",
"received_by_me":"0",
"my_balance_change":"-0.045663",
"block_height":17876762,
"timestamp":1671469779,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044237",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"4435414145334234443437363943303531423133373936430000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":146343
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b747573711a0f0a0575697269731206313233343536",
"tx_hash":"49586958349F4178AD8D62FF5F6B3A10A159E478E04C4E4C38727774EA8CB951",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"total_amount":"0.167782",
"spent_by_me":"0.044326",
"received_by_me":"0.123456",
"my_balance_change":"0.079130",
"block_height":17876717,
"timestamp":1671469494,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044326",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"4646323644384441383731344639343338353936383539340000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":146388
},
{
"tx_hex":"0a2a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b74757371122a696161317230303061703978666835307079356b3338776e3368796d6636723968353461386b747573711a120a0575697269731209313132333633333239",
"tx_hash":"FA8CE2EBE1A9AA48F4884E438CD5FA64CB3AE9258D10435EF25397399DE35453",
"from":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"to":[
"iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq"
],
"total_amount":"112.40825",
"spent_by_me":"0.044921",
"received_by_me":"112.363329",
"my_balance_change":"112.318408",
"block_height":17876699,
"timestamp":1671469381,
"fee_details":{
"type":"Tendermint",
"coin":"IRIS",
"amount":"0.044921",
"gas_limit":100000
},
"coin":"IRIS",
"internal_id":"3334453438383446383441413941314542453245433841460000000000000000",
"transaction_type":"StandardTransfer",
"confirmations":146406
}
],
"sync_status":{
"state":"Finished"
},
"limit":200,
"skipped":0,
"total":14,
"total_pages":1,
"paging_options":{
"PageNumber":1
}
},
"id":null
} Still only 14 txs, with latest one being 10 days old. Haven't got transactions from November. |
I see, let me check what can be wrong. |
@SirSevenG You can check what's returned from RPC node using following commands:
For outgoing transactions.
For incoming transactions. Both I keep looking into it, will let you know once I have any updates. |
IRIS nodes seem to be pruning older blocks with all transactions' data, etc. It still happens, even though pruning seems to be turned off on |
@artemii235 Haven't finished required changes on IRIS node to get porper logs yet But I think it's worth mentioning that currently testing an older version of mm2 on WebDEX I have exact same issues with transaction history fetched from 3rd party nodes. UPD: also not an issue with ATOM/COSMOS, that one has my November old transactions |
@artemii235
|
@SirSevenG can you please report on status of this issue? |
With added storage to IRIS node, we've solved server-side issues. |
ok, we'll leave it open for now. From what I understand this is a pruning issue - will do some more research on it |
Confirmed this is a pruning issue. The IRIS / ATOM nodes are earmarked for migration to a server that can handle the load |
Requesting
my_tx_history
for address with 20+ transactions returns only 11 txes, all preformed in last month.Req example:
Response
Explorer with the same addr:
https://www.mintscan.io/iris/account/iaa1r000ap9xfh50py5k38wn3hymf6r9h54a8ktusq
The text was updated successfully, but these errors were encountered: