Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[gysr-pending-rewards] Optional field is "required" #800

Open
mitesh-mutha opened this issue Aug 26, 2022 · 0 comments
Open

[gysr-pending-rewards] Optional field is "required" #800

mitesh-mutha opened this issue Aug 26, 2022 · 0 comments

Comments

@mitesh-mutha
Copy link
Contributor

mitesh-mutha commented Aug 26, 2022

Expected behavior

rewardToken is an "optional" field. Only the pool field is a required field as set in the schema.json.

Actual behavior

However, while testing the strategy out in the Playground - I see the following
image

Steps to reproduce the behavior

Test via the gysr-pending-rewards playground.
Sample params

  • Network - Polygon Mainnet
  • Symbol - UBT
  • Pool - 0xaf8412fcfd3a9399f66e60894c1c8a20054d3d55
  • Reward Token - 0x7fbc10850cae055b27039af31bd258430e714c62
  • Address with non-zero score: 0x81218f94eb7ac182462158efb0666cb9d5e32783

Please let me know how I can set the "rewardToken" field to be optional. Perhaps my understanding of the schema setup is wrong. Would love to understand the problem here.

Update: This seems to be a display issue. I am able to execute the strategy without providing the rewardToken.

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

No branches or pull requests

1 participant