Skip to content

fix Tenderduty sometimes uses incorrect denom metadata#70

Merged
gluckzhang merged 2 commits intomainfrom
69/fix-invalid-denom
Feb 3, 2026
Merged

fix Tenderduty sometimes uses incorrect denom metadata#70
gluckzhang merged 2 commits intomainfrom
69/fix-invalid-denom

Conversation

@gluckzhang
Copy link
Member

The root cause is: for some chains there can be different kinds of tokens as self-delegation rewards and commissions. The previous approach gets bank metadata based on the first element in the rewards list, which may not be the native token.

bankMeta = cc.getBankMetadataFromCosmosDirectory((*rewards)[0].Denom)

@gluckzhang gluckzhang merged commit 5671440 into main Feb 3, 2026
2 checks passed
@gluckzhang gluckzhang deleted the 69/fix-invalid-denom branch February 3, 2026 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant