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

CIP 54: Don't send community rewards to reserve #2030

Merged
merged 1 commit into from
Jun 6, 2023

Conversation

palango
Copy link
Contributor

@palango palango commented Mar 2, 2023

Description

Required changes to implement CIP 54

Tested

TODO

Related issues

Fixes https://github.com/celo-org/celo-blockchain-planning/issues/22

Backwards compatibility

Changes consensus rules and will therefor be enabled with the next hardfork.

@akeyless-target-app
Copy link

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit cd0fb9a

coverage: 50.0% of statements across all listed packages
coverage:  63.4% of statements in consensus/istanbul
coverage:  42.7% of statements in consensus/istanbul/announce
coverage:  55.7% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  63.2% of statements in consensus/istanbul/core
coverage:  50.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.4% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random
CommentID: c8bcbb8128

@palango palango force-pushed the paul/epoch-rewards-reserve branch from cd0fb9a to d47d76c Compare April 20, 2023 09:34
@github-actions
Copy link

github-actions bot commented Apr 20, 2023

Coverage from tests in ./e2e_test/... for ./consensus/istanbul/... at commit 34fe67b

coverage: 49.2% of statements across all listed packages
coverage:  61.3% of statements in consensus/istanbul
coverage:  37.5% of statements in consensus/istanbul/announce
coverage:  54.4% of statements in consensus/istanbul/backend
coverage:   0.0% of statements in consensus/istanbul/backend/backendtest
coverage:  24.3% of statements in consensus/istanbul/backend/internal/replica
coverage:  64.6% of statements in consensus/istanbul/core
coverage:  45.0% of statements in consensus/istanbul/db
coverage:   0.0% of statements in consensus/istanbul/proxy
coverage:  64.4% of statements in consensus/istanbul/uptime
coverage:  51.8% of statements in consensus/istanbul/validator
coverage:  79.2% of statements in consensus/istanbul/validator/random

@github-actions
Copy link

github-actions bot commented Apr 20, 2023

5814 passed, 44 skipped

@codecov
Copy link

codecov bot commented Apr 20, 2023

Codecov Report

Patch coverage: 66.99% and project coverage change: +1.04 🎉

Comparison is base (71bdbcf) 54.30% compared to head (ab302ec) 55.34%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2030      +/-   ##
==========================================
+ Coverage   54.30%   55.34%   +1.04%     
==========================================
  Files         692      674      -18     
  Lines      115642   113454    -2188     
==========================================
- Hits        62795    62792       -3     
+ Misses      49014    46843    -2171     
+ Partials     3833     3819      -14     
Impacted Files Coverage Δ
cmd/devp2p/internal/ethtest/transaction.go 0.00% <0.00%> (ø)
cmd/geth/chaincmd.go 0.00% <0.00%> (ø)
cmd/geth/main.go 21.39% <ø> (+0.91%) ⬆️
cmd/geth/usage.go 10.90% <ø> (ø)
cmd/utils/flags.go 2.56% <0.00%> (ø)
consensus/istanbul/utils.go 47.10% <ø> (+1.13%) ⬆️
contracts/currency/currency.go 55.00% <ø> (ø)
contracts/election/election.go 25.00% <ø> (ø)
contracts/epoch_rewards/epoch_rewards.go 88.88% <ø> (ø)
contracts/freezer/freezer.go 70.00% <ø> (ø)
... and 48 more

... and 29 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@palango palango changed the title Draft: Don't send community rewards to reserve CIP 54: Don't send community rewards to reserve Apr 26, 2023
@palango palango force-pushed the paul/epoch-rewards-reserve branch from d47d76c to 2685a67 Compare June 6, 2023 10:23
@palango palango marked this pull request as ready for review June 6, 2023 10:23
@palango palango force-pushed the paul/epoch-rewards-reserve branch from 2685a67 to ab302ec Compare June 6, 2023 11:29
@palango palango merged commit 7521f9d into master Jun 6, 2023
@palango palango deleted the paul/epoch-rewards-reserve branch June 6, 2023 12:14
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.

2 participants