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

Add a threshold above which rewards start accruing for a subgraph #528

Merged
merged 6 commits into from
May 26, 2022

Conversation

abarmat
Copy link
Contributor

@abarmat abarmat commented Dec 6, 2021

Summary

Add a threshold of token signaled that a subgraph needs to have as a minimum to start accruing rewards.

@abarmat abarmat changed the title feat: add a threshold above which rewards start accruing for a subgraph Add a threshold above which rewards start accruing for a subgraph Dec 6, 2021
@abarmat abarmat force-pushed the ariel/rewards-subgraph-threshold branch from 8616569 to fdbc60c Compare December 13, 2021 06:44
@abarmat abarmat added the audited label Feb 8, 2022
@codecov
Copy link

codecov bot commented Apr 20, 2022

Codecov Report

Merging #528 (7f427b2) into dev (2cf753f) will decrease coverage by 0.22%.
The diff coverage is 86.66%.

@@            Coverage Diff             @@
##              dev     #528      +/-   ##
==========================================
- Coverage   90.60%   90.37%   -0.23%     
==========================================
  Files          35       37       +2     
  Lines        1703     1798      +95     
  Branches      282      294      +12     
==========================================
+ Hits         1543     1625      +82     
- Misses        160      173      +13     
Flag Coverage Δ
unittests 90.37% <86.66%> (-0.23%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
contracts/discovery/GNS.sol 88.57% <ø> (+1.45%) ⬆️
contracts/rewards/RewardsManager.sol 95.95% <20.00%> (-4.05%) ⬇️
contracts/curation/Curation.sol 100.00% <100.00%> (ø)
contracts/curation/GraphCurationToken.sol 100.00% <100.00%> (ø)
contracts/staking/Staking.sol 96.26% <0.00%> (-2.74%) ⬇️
contracts/base/SubgraphNFT.sol
contracts/base/SubgraphNFTDescriptor.sol
contracts/discovery/SubgraphNFTDescriptor.sol 100.00% <0.00%> (ø)
... and 4 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b9d3c48...7f427b2. Read the comment docs.

@abarmat abarmat merged commit e6a459b into dev May 26, 2022
abarmat added a commit that referenced this pull request Jul 13, 2022
- Add a threshold above which rewards start accruing for a subgraph (#528)
- Verify contracts with sourcify (#574)
- Add GraphCurationToken to addressbook (#575)
- Rework graph config files (#572)
abarmat added a commit that referenced this pull request Jul 13, 2022
- Add a threshold above which rewards start accruing for a subgraph (#528)
- Verify contracts with sourcify (#574)
- Add GraphCurationToken to addressbook (#575)
- Rework graph config files (#572)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants