-
Notifications
You must be signed in to change notification settings - Fork 350
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
Problem: Complete redelgation amount may be null #684
Comments
Looks like there is an error happening during the redelegation event, possibly due to this error, if that possible for some operation issue to cause this error? Or just error in purpose, meaning no mature term can do redelegation. |
Decoded end block events: [
{
"type": "complete_unbonding",
"attributes": [
{ "key": "amount", "value": "100000000basecro", "index": true },
{
"key": "validator",
"value": "crocncl1t322hc258gc7dm005xfq0tsjqp9egujuh5tsnu",
"index": true
},
{
"key": "delegator",
"value": "cro1t322hc258gc7dm005xfq0tsjqp9eguju5ege3q",
"index": true
}
]
},
{
"type": "complete_redelegation",
"attributes": [
{ "key": "amount", "value": "1029186038basecro", "index": true },
{
"key": "delegator",
"value": "cro1pnrv0hnqrd2ht2nect26yq7vpy30wlf3m2jqw0",
"index": true
},
{
"key": "source_validator",
"value": "crocncl1t322hc258gc7dm005xfq0tsjqp9egujuh5tsnu",
"index": true
},
{
"key": "destination_validator",
"value": "crocncl1n77qdxwpfhg3j7z0tpt9q4uq0cwjne64v84ks2",
"index": true
}
]
},
{
"type": "complete_redelegation",
"attributes": [
{ "key": "amount", "value": "1150000000000basecro", "index": true },
{
"key": "delegator",
"value": "cro12xarkpk2f0psk3j6c49ek6p4hcc7kz7wf6qqtn",
"index": true
},
{
"key": "source_validator",
"value": "crocncl1t322hc258gc7dm005xfq0tsjqp9egujuh5tsnu",
"index": true
},
{
"key": "destination_validator",
"value": "crocncl1j47t9xajph8fxe87mx9n6yjz05u64vr77mxwkd",
"index": true
}
]
},
{
"type": "complete_redelegation",
"attributes": [
{ "key": "amount", "value": "", "index": true },
{
"key": "delegator",
"value": "cro12xarkpk2f0psk3j6c49ek6p4hcc7kz7wf6qqtn",
"index": true
},
{
"key": "source_validator",
"value": "crocncl1t322hc258gc7dm005xfq0tsjqp9egujuh5tsnu",
"index": true
},
{
"key": "destination_validator",
"value": "crocncl1j47t9xajph8fxe87mx9n6yjz05u64vr77mxwkd",
"index": true
}
]
},
{
"type": "complete_redelegation",
"attributes": [
{ "key": "amount", "value": "", "index": true },
{
"key": "delegator",
"value": "cro12xarkpk2f0psk3j6c49ek6p4hcc7kz7wf6qqtn",
"index": true
},
{
"key": "source_validator",
"value": "crocncl1t322hc258gc7dm005xfq0tsjqp9egujuh5tsnu",
"index": true
},
{
"key": "destination_validator",
"value": "crocncl1j47t9xajph8fxe87mx9n6yjz05u64vr77mxwkd",
"index": true
}
]
}
] Target account:
Thus, total And it doesn't look like an error anymore, but the last two events probably shouldn't have emitted? |
I see, thanks for the context. It should be the same issue in the SDK The code patch is in the mainline branch (SDK v0.45) but not sure when will be released. |
Tendermint Block Results API may return
null
amount forcomplete_redelegation
event.Problem with null amount found in block №3366204:
The text was updated successfully, but these errors were encountered: