aave-starknet-project/aave-starknet-bridge

get_pending_rewards on claimable returns a null value

hsouf opened this issue · 1 comments

hsouf commented

const user1PendingRewards = await l2token.call("get_user_pending_rewards", {

hsouf commented

@JorikSchellekens can you please have a look?
Here is the test scenario: the user has a positive balance.accRewardsPerToken_ was set to {high: 0, low : 2} and the user_snapshot_rewards_per_token_ equals {high:0, low: 0} (see claimable.cairo)