You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently it is hard to tell why an incentive clawback has failed. It simply returns a clamFailed error, which is not the most helpful.
Suggested Solution
Ideally we would have more descriptive error messages to let you know why the clawback failed. For example, the ERC20Incentive will fail if the amount passed in is not an exact multiple of the reward value.
It can also fail if you do not pass in the correct target address (which should be core in most cases?)
The text was updated successfully, but these errors were encountered:
Description
Currently it is hard to tell why an incentive clawback has failed. It simply returns a
clamFailed
error, which is not the most helpful.Suggested Solution
Ideally we would have more descriptive error messages to let you know why the clawback failed. For example, the ERC20Incentive will fail if the amount passed in is not an exact multiple of the reward value.
It can also fail if you do not pass in the correct target address (which should be core in most cases?)
The text was updated successfully, but these errors were encountered: