namada_sdk::rpc::get_token_balance()
returns 0 due to empty response at epoch boundary
#2154
Labels
bug
Something isn't working
The relevant lines are in https://github.com/anoma/namada/blob/main/sdk/src/queries/vp/token.rs#L37
Interestingly enough, this function only gets called from the CLI when you run
namadac balance --owner <owner>
but otherwise is not used.Surprisingly, the cli implementation somehow works around this issue by waiting until the epoch boundary has passed and then returning the correct balances.
The text was updated successfully, but these errors were encountered: