Skip to content

Conversation

bbalser
Copy link
Collaborator

@bbalser bbalser commented Aug 27, 2025

@bbalser bbalser marked this pull request as ready for review September 9, 2025 10:52
Copy link
Member

@kurotych kurotych left a 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?

@@ -544,20 +541,18 @@ impl CoverageShares {
pub struct DataTransferAndPocAllocatedRewardBuckets {
pub data_transfer: Decimal,
pub poc: Decimal,
Copy link
Member

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done .. ee645a8

@bbalser
Copy link
Collaborator Author

bbalser commented Sep 9, 2025

"... Any remaining emissions would be distributed as PoC rewards." Do we have test somewhere that covers this case from HIP?

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%

@kurotych kurotych self-requested a review September 9, 2025 13:11
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