Skip to content
This repository was archived by the owner on Apr 25, 2026. It is now read-only.
This repository was archived by the owner on Apr 25, 2026. It is now read-only.

[BUG] Rewards Claiming Not Updating After Successful Claim #960

Description

@AtelyPham

Describe the bug

I'm encountering an issue with claiming rewards on EVM, and I'd really appreciate some help troubleshooting it. I've deposited ERC20 assets and can successfully fetch my rewards information. However, after claiming them via the precompile contract, the reward amount displayed by the RPC query doesn't seem to update. It's still showing the same amount as before the claim.

Here's some detail to help you look into it:

How I'm Checking Rewards:

curl "https://testnet-rpc-direct.tangle.tools" \
    -H "Content-Type: application/json" \
    -d '{"id":1, "jsonrpc":"2.0", "method": "rewards_queryUserRewards", "params":["5CwpCGqK4hVKHJCcGnfVatZkm6XXZz4S8NnpvenR5GFvjPZZ", {"Erc20":"0x58974F3f12A6cD8aDB0463D2fbE84E86691B0C1E"}]}'

Expected behavior

Ideally, after I successfully claim my rewards (and the transaction confirms), the rewards_queryUserRewards RPC call should return an updated reward balance, reflecting that the rewards have been claimed and are no longer available.

Let me know if there's any other information I can provide to assist with debugging.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug 🪲Something isn't working

    Type

    No fields configured for Bug.

    Projects

    Status
    Completed ✅

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions