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/1500 fixed optimistic updates #1535

Merged
merged 9 commits into from
Nov 8, 2018

Conversation

faboweb
Copy link
Collaborator

@faboweb faboweb commented Nov 7, 2018

Closes #1500

Description:

❤️ Thank you!


  • Added entries in CHANGELOG.md with issue # and GitHub username
  • Reviewed Files changed in the github PR explorer

@codecov
Copy link

codecov bot commented Nov 7, 2018

Codecov Report

Merging #1535 into develop will decrease coverage by <.01%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           develop   #1535      +/-   ##
==========================================
- Coverage    96.41%   96.4%   -0.01%     
==========================================
  Files           97      97              
  Lines         1811    1810       -1     
  Branches        86      86              
==========================================
- Hits          1746    1745       -1     
  Misses          55      55              
  Partials        10      10
Impacted Files Coverage Δ
app/src/renderer/connectors/lcdClientMock.js 99.39% <ø> (ø) ⬆️
app/src/renderer/vuex/modules/delegation.js 100% <100%> (ø) ⬆️

@@ -255,4 +256,50 @@ describe(`Module: Delegations`, () => {
await store.dispatch(`updateDelegates`)
expect(store.state.delegation.committedDelegates).toBeTruthy()
})

it.only(`should update the atoms on a delegation optimistically`, async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

LOL @jbibla @NodeGuy check this new strategy to pass all unit tests

Copy link
Contributor

Choose a reason for hiding this comment

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

Genius!

fedekunze
fedekunze previously approved these changes Nov 7, 2018
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.

LGTM 👍

@fedekunze
Copy link
Contributor

needs to update the snapshots

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.

tested ACK

@fedekunze fedekunze merged commit 6120292 into develop Nov 8, 2018
@fedekunze fedekunze deleted the fabo/1500-fixed-optimistic-updates branch November 8, 2018 13:47
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.

Wrong balance after delegation
3 participants