-
Notifications
You must be signed in to change notification settings - Fork 29
HIP-147 #1037
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
base: main
Are you sure you want to change the base?
HIP-147 #1037
Conversation
abe06b3
to
5349080
Compare
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.
"... Any remaining emissions would be distributed as PoC rewards."
Do we have test somewhere that covers this case from HIP?
mobile_verifier/src/reward_shares.rs
Outdated
@@ -544,20 +541,18 @@ impl CoverageShares { | |||
pub struct DataTransferAndPocAllocatedRewardBuckets { | |||
pub data_transfer: Decimal, | |||
pub poc: Decimal, |
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 think we can (and should) encapsulate this field by removing pub
keyword. Since we have total_poc
wich acts as a geter of poc
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.
done .. ee645a8
All the previous integration tests already test this since this is how it already worked, before PoC got a minimum of 20% of the reward pool, with this change it now gets a minimum of 0% |
Implementation of https://github.com/helium/HIP/blob/main/0147-mobile-data-eats-first.md