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

[SERVICES-2586] Add staking min unbound epochs field to staking proxy model #1472

Conversation

mad2sm0key
Copy link
Contributor

Reasoning

  • Currently, the front end needs to perform an additional query for fetching minUnbondEpochs for a staking farm corresponding to a staking proxy

Proposed Changes

  • add stakingMinUnboundEpochs field to StakingProxy model
  • add resolver method for the newly added field

How to test

stakingProxies {
    address
    stakingFarmAddress
    stakingMinUnboundEpochs
    farmToken {
      ticker
    }
    lpFarmToken {
      ticker
    }
  }

@mad2sm0key mad2sm0key merged commit 48cf058 into development Sep 13, 2024
1 check failed
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

Successfully merging this pull request may close these issues.

4 participants