-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Add StakeSdkProvider with stake-sdk #11668
Conversation
CLA Signature Action: All authors have signed the CLA. You may need to manually re-run the blocking PR check if it doesn't pass in a few minutes. |
New dependencies detected. Learn more about Socket for GitHub ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This PR needs some more work in terms of accessing SDK methods and state management.
Since we already have the package imported, it should be fairly simple to just call those methods by instantiating the sdk without adding a lot of context to it .
I would recommend breaking the analytics part out of this PR and adding tests for those in a separate PR which we can use.
@jclancy93 It might be good for you to have a look at this PR as well and see if I might be missing anything or if there is a gap in my understanding.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Requesting some changes due to changes in sdk package and some other minor comments.
Bitrise✅✅✅ Commit hash: 6db8da1 Note
|
1155304
to
d85c30d
Compare
I have read the CLA Document and I hereby sign the CLA |
Bitrise❌❌❌ Commit hash: d85c30d Note
Tip
|
Bitrise❌❌❌ Commit hash: e9d388d Note
Tip
|
Bitrise✅✅✅ Commit hash: 0d8c622 Note
|
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ ✅
Description
This pr introduces the StakeSdkProvider which eposes the stake-sdk to be used and shared by different stake components when included in a StakeProvider.
The stake-sdk exposes on & off chain service based for different experiences (pooled staking, validator staking..)
Related issues
Fixes:
STAKE-799
Manual testing steps
Screenshots/Recordings
Before
After
Pre-merge author checklist
Pre-merge reviewer checklist