Open sylviahuang123 opened 10 months ago
Hi, thanks for reporting this issue with delegation timeout, we will try to reproduce this behavior and we will apply an proper fix
Hi, thanks for reporting this issue with delegation timeout, we will try to reproduce this behavior and we will apply an proper fix
hello, any update?
are you performing a lot of repeated requests towards the delegation api? we have some rate limiters that might affect this
if you want to query the delegation information for multiple addresses, you can use the elasticsearch now which is much more performant and can fetch multiple infos at the same time: https://index.multiversx.com/delegators/_search
no, it's just one address as I shared curl localhost:3001/api/accounts/erd1uskf6lu8x23mrxfm7gde28jaq6m5wxxws2uw5gf5z6yk6srel7mspeukls/delegation
few address we're using
but where to see these fields? can't find in Elasticsearch
"userUnBondable": "0",
"claimableRewards": "46007834661318968",
"userUndelegatedList": []
did your try to use Elasticsearch?
curl --request GET \
--url ${ES_URL}/delegators/_search \
--header 'Content-Type: application/json' \
--data '{
"query": {
"match": {
"contract":"erd.."
}
}
}'
yep, of cause I tried, my question is these fields are not equal to API localhost:3001/api/accounts/erd1uskf6lu8x23mrxfm7gde28jaq6m5wxxws2uw5gf5z6yk6srel7mspeukls/delegation
, so I can't replace it.
{
"_index": "delegators-000001",
"_type": "_doc",
"_id": "pT8DW9QP9MwQ1NpEI1EnWcK6zL1e+JNKcTbqNNesdMY=",
"_score": 4.438722,
"_source": {
"address": "erd1t79j33ttyty0alttuvumpty0x0safpfeuhnup35thqgpy4dvkjyqsx7vq4",
"contract": "erd1qqqqqqqqqqqqqqqpqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqhllllsajxzat",
"activeStake": "52500000000000000000000",
"activeStakeNum": 52500,
"timestamp": 1694158802
}
}
Contact Details
No response
Description
sometimes happened
Steps to reproduce
curl localhost:3001/api/accounts/erd1uskf6lu8x23mrxfm7gde28jaq6m5wxxws2uw5gf5z6yk6srel7mspeukls/delegation
On which network is the bug manifesting itself?
Mainnet
Relevant log output