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

Fabo/2341 better validator updates #2370

Merged
merged 10 commits into from
Mar 27, 2019
Merged

Fabo/2341 better validator updates #2370

merged 10 commits into from
Mar 27, 2019

Conversation

faboweb
Copy link
Collaborator

@faboweb faboweb commented Mar 27, 2019

Closes #2341

Description:

Thank you! 🚀


For contributor:

  • Added entries in PENDING.md with issue # and GitHub username
  • Reviewed Files changed in the github PR explorer
  • Attach screenshots of the UI components on the PR description (if applicable)
  • Scope of work approved for big PRs

For reviewer:

  • Manually tested the changes on the UI

@codecov
Copy link

codecov bot commented Mar 27, 2019

Codecov Report

Merging #2370 into develop will increase coverage by 0.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2370      +/-   ##
===========================================
+ Coverage    96.42%   96.43%   +0.01%     
===========================================
  Files          106      106              
  Lines         2376     2383       +7     
  Branches       129      129              
===========================================
+ Hits          2291     2298       +7     
  Misses          65       65              
  Partials        20       20
Impacted Files Coverage Δ
app/src/renderer/vuex/store.js 100% <ø> (ø) ⬆️
app/src/renderer/vuex/modules/delegates.js 98.27% <100%> (+0.23%) ⬆️

@codecov
Copy link

codecov bot commented Mar 27, 2019

Codecov Report

Merging #2370 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop    #2370      +/-   ##
===========================================
+ Coverage    96.43%   96.43%   +<.01%     
===========================================
  Files          106      106              
  Lines         2381     2387       +6     
  Branches       129      129              
===========================================
+ Hits          2296     2302       +6     
  Misses          65       65              
  Partials        20       20
Impacted Files Coverage Δ
app/src/renderer/vuex/store.js 100% <ø> (ø) ⬆️
app/src/renderer/vuex/modules/delegates.js 98.27% <100%> (+0.23%) ⬆️
app/src/renderer/components/common/TmPage.vue 100% <100%> (ø) ⬆️
app/src/renderer/components/wallet/LiCoin.vue 100% <0%> (ø) ⬆️

PENDING.md Outdated
@@ -0,0 +1,2 @@
[Fixed] Better inplace updates to validators so the information (like signing info) never hides again once it was once loaded @faboweb
Copy link
Contributor

Choose a reason for hiding this comment

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

missing issue/PR number


// incrementally add the validator to the list or update it in place
// "upsert": (computing, databases) An operation that inserts rows into a database table if they do not already exist, or updates them if they do.
function upsertValidator(state, validator) {
Copy link
Contributor

Choose a reason for hiding this comment

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

nice addition ! this will be way faster with the object refactor

fedekunze
fedekunze previously approved these changes Mar 27, 2019
Copy link
Contributor

@fedekunze fedekunze left a comment

Choose a reason for hiding this comment

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

utACK

fedekunze
fedekunze previously approved these changes Mar 27, 2019
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.

Signing info is lost when validators get updated
2 participants