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

go/consensus/tendermint/apps/staking: Fix emitted reward events #4033

Merged
merged 2 commits into from
Jun 16, 2021

Conversation

kostko
Copy link
Member

@kostko kostko commented Jun 16, 2021

No description provided.

@kostko kostko added the c:bug Category: bug label Jun 16, 2021
@kostko kostko force-pushed the kostko/fix/staking-evt-reward-xfer branch from 0d4396f to 15588da Compare June 16, 2021 09:00
Using typed events makes it slightly harder to use an incorrect key/value
combination. Unfortunately we cannot use this in all of the cases due to events
in registry/roothash not being nicely structured and changing this would require
existing nodes to resync due to internal event key changes.
Comment on lines +4 to +6
combination. Unfortunately we cannot use this in all of the cases due to
events in registry/roothash not being nicely structured and changing this
would require existing nodes to resync due to internal event key changes.
Copy link
Member Author

Choose a reason for hiding this comment

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

Opened #4034 to track this.

@kostko kostko marked this pull request as ready for review June 16, 2021 09:15
@codecov
Copy link

codecov bot commented Jun 16, 2021

Codecov Report

Merging #4033 (32eeab6) into master (f2498a4) will increase coverage by 0.01%.
The diff coverage is 98.36%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #4033      +/-   ##
==========================================
+ Coverage   67.04%   67.05%   +0.01%     
==========================================
  Files         410      410              
  Lines       42183    42148      -35     
==========================================
- Hits        28280    28263      -17     
+ Misses       9909     9897      -12     
+ Partials     3994     3988       -6     
Impacted Files Coverage Δ
go/consensus/tendermint/apps/staking/fees.go 45.11% <80.00%> (-1.27%) ⬇️
go/beacon/api/pvss.go 80.95% <100.00%> (+0.95%) ⬆️
go/consensus/tendermint/api/api.go 83.54% <100.00%> (+0.42%) ⬆️
go/consensus/tendermint/api/context.go 88.88% <100.00%> (+0.08%) ⬆️
...o/consensus/tendermint/apps/beacon/backend_pvss.go 59.73% <100.00%> (+0.17%) ⬆️
...consensus/tendermint/apps/governance/governance.go 62.73% <100.00%> (-0.29%) ⬇️
...nsensus/tendermint/apps/governance/transactions.go 70.45% <100.00%> (-0.34%) ⬇️
...o/consensus/tendermint/apps/scheduler/scheduler.go 72.23% <100.00%> (ø)
go/consensus/tendermint/apps/staking/staking.go 52.86% <100.00%> (-0.30%) ⬇️
go/consensus/tendermint/apps/staking/state/gas.go 84.31% <100.00%> (-0.60%) ⬇️
... and 38 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 f2498a4...32eeab6. Read the comment docs.

@kostko kostko enabled auto-merge June 16, 2021 10:42
@kostko kostko merged commit 8b74679 into master Jun 16, 2021
@kostko kostko deleted the kostko/fix/staking-evt-reward-xfer branch June 16, 2021 10:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:bug Category: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants