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

fix: vote balance update #2207

Merged
merged 5 commits into from
Mar 7, 2019
Merged

fix: vote balance update #2207

merged 5 commits into from
Mar 7, 2019

Conversation

spkjp
Copy link
Contributor

@spkjp spkjp commented Mar 7, 2019

Proposed changes

Fixes the vote balance update after reverting a vote transaction. The transaction fee was incorrectly applied which lead to small discrepancies over time (number of reverts x fee).

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (improve a current implementation without adding a new feature or fixing a bug)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Build (changes that affect the build system)
  • Docs (documentation only changes)
  • Test (adding missing tests or fixing existing tests)
  • Other... Please describe:

Checklist

  • I have read the CONTRIBUTING documentation
  • Lint and unit tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • I have added necessary documentation (if appropriate)

@spkjp spkjp requested a review from faustbrian March 7, 2019 02:24
@spkjp spkjp requested a review from kristjank as a code owner March 7, 2019 02:24
@codecov-io
Copy link

codecov-io commented Mar 7, 2019

Codecov Report

Merging #2207 into 2.2 will increase coverage by 0.07%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              2.2    #2207      +/-   ##
==========================================
+ Coverage   79.16%   79.23%   +0.07%     
==========================================
  Files         331      331              
  Lines        7918     7918              
  Branches     1092     1116      +24     
==========================================
+ Hits         6268     6274       +6     
+ Misses       1617     1612       -5     
+ Partials       33       32       -1
Impacted Files Coverage Δ
packages/core-database/src/wallet-manager.ts 75% <100%> (+3.26%) ⬆️

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 a1c7ddf...d96d686. Read the comment docs.

@faustbrian faustbrian merged commit 5050778 into ArkEcosystem:2.2 Mar 7, 2019
@spkjp spkjp mentioned this pull request Mar 8, 2019
12 tasks
faustbrian pushed a commit that referenced this pull request Mar 8, 2019
vasild added a commit that referenced this pull request Mar 11, 2019
* ArkEcosystem/core/develop:
  chore: update dependencies and remove unused imports (#2212)
  fix(core-tester-cli): Don't hide errors from HTTP failures (#2223)
  chore: update CircleCI config
  chore: use yarn setup on CircleCI
  fix: resolve core-tester-utils conflicts and various errors
  chore: yarn.lock
  chore: bump versions
  chore: resolve conflicts
  refactor(core): allow to provide yes/no callbacks for confirm
  feat(core): suggest another command if the requested one was not found
  fix(core): only quote string flags that contain whitespace
  fix(core-blockchain): node stuck during sync  (#2220)
  docs: add #2217 to the changelog
  refactor(core): use restart instead of reload
  refactor(core): log the stderr output for pm2 errors
  refactor(core): handle pm2 errors outside of the process manager
  refactor(core): log the pm2 status if it is unknown
  refactor(core-p2p): log concise error message instead of dumping the reply (#2215)
  fix(core-blockchain): return if last downloaded block changed (#2216)
  fix(core-transaction-pool): invalid transactions after rollback (#2217)
  feat(core-p2p): Don't spoil the quorum if the peer has !forgingAllowed (#2214)
  fix(core): escape string flags
  docs: add #2207 to the changelog
  refactor(core-forger): Increase timeout for getting the network state (#2208)
  fix: vote balance update (#2207)
  fix(core): exclude undefined values from string casting
  build(docker): use latest release in production images
  chore: install stable release via setup script
  test(core-p2p): toBeGreaterThanOrEqual instead of toBe
  release: 2.2.0
  chore: bump version
  fix: schema
  fix: max payload size
  fix: quorum issues (#2091)
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.

3 participants