-
Notifications
You must be signed in to change notification settings - Fork 22
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: incentive manager #323
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## release/v2_contracts #323 +/- ##
========================================================
+ Coverage 88.56% 89.42% +0.85%
========================================================
Files 243 260 +17
Lines 23584 26656 +3072
========================================================
+ Hits 20887 23836 +2949
- Misses 2697 2820 +123 ☔ View full report in Codecov by Sentry. |
8af4d1a
to
2cb67f4
Compare
Schema generation had missing jobs:
Please run |
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.
I had a quick skim through the contract and didn't find anything major. A few other comments about merging with release/v2_contracts
branch though.
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.
Gonna keep looking through the massive test you did.
Pr looks very good curious about the Epoch change
.query_current_epoch(|result| { | ||
let epoch_response = result.unwrap(); | ||
assert_eq!(epoch_response.epoch.id, 40); | ||
}); |
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.
Had a proper look through this test.
Having done so, I think we should do more of these. Make proper scenarios for our interactions between contracts or even just for any case we want to ensure performs as expected.
Maybe we do something eventually which tests everything in tandem. All part of other PRs though makes no sense to hold this one up. Very impressive
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.
Is there a way you see we can leverage the test_case lib you used somewhere else? @0xFable
Co-authored-by: kaimen-sano <[email protected]>
Schema generation had missing jobs:
Please run |
1 similar comment
Schema generation had missing jobs:
Please run |
465e116
to
64ec60f
Compare
Schema generation had missing jobs:
Please run |
Description and Motivation
This PR adds the incentive manager to the v2 branch.
Related Issues
Checklist:
Update index.md
)cargo fmt --all --
.cargo clippy -- -D warnings
.cargo schema
.