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

[Wallet] Rollback zeroSync toggle in case it was not successful #2434

Merged
merged 6 commits into from
Jan 15, 2020

Conversation

i1skn
Copy link
Contributor

@i1skn i1skn commented Jan 14, 2020

Description

If Data Saver mode was not changed successfully - it needs to be rolled back. In case of rollback we are initiating geth a second time - so we need restart the app. I've added a warning of potential restart, so it won't be a surprise for user.

Tested

Android Device

Related issues

Backwards compatibility

Yes

@i1skn i1skn requested a review from annakaz January 14, 2020 14:39
@i1skn i1skn requested review from cmcewen and jmrossy as code owners January 14, 2020 14:39
@i1skn i1skn changed the title Rollback zeroSync toggle in case it was not successful [Wallet] Rollback zeroSync toggle in case it was not successful Jan 14, 2020
@codecov
Copy link

codecov bot commented Jan 14, 2020

Codecov Report

Merging #2434 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2434      +/-   ##
==========================================
- Coverage   74.54%   74.53%   -0.01%     
==========================================
  Files         280      280              
  Lines        7923     7920       -3     
  Branches     1016      731     -285     
==========================================
- Hits         5906     5903       -3     
  Misses       1903     1903              
  Partials      114      114
Flag Coverage Δ
#mobile 74.53% <100%> (-0.01%) ⬇️
Impacted Files Coverage Δ
packages/mobile/src/account/Invite.tsx 80.59% <ø> (-0.29%) ⬇️
...es/mobile/src/escrow/EscrowedPaymentListScreen.tsx 100% <ø> (ø) ⬆️
packages/mobile/test/values.ts 100% <ø> (ø) ⬆️
...le/src/escrow/ReclaimPaymentConfirmationScreen.tsx 81.42% <ø> (ø) ⬆️
packages/mobile/src/escrow/actions.ts 100% <ø> (ø) ⬆️
packages/mobile/src/send/Send.tsx 39.79% <ø> (ø) ⬆️
packages/mobile/src/escrow/__mocks__.ts 100% <ø> (ø) ⬆️
...ages/mobile/src/escrow/EscrowedPaymentListItem.tsx 72% <100%> (ø) ⬆️

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 d2cca2b...6658292. Read the comment docs.

Copy link
Contributor

@annakaz annakaz left a comment

Choose a reason for hiding this comment

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

🚢

@i1skn i1skn merged commit 634264a into master Jan 15, 2020
@i1skn i1skn deleted the i1skn/zerosync-pin branch January 15, 2020 00:02
aaronmgdr added a commit that referenced this pull request Jan 15, 2020
* master: (30 commits)
  Fix coin colors  (#2441)
  Make governance CLI more usable (#2428)
  Slashing params for stake off phase 2 (#2418)
  [Wallet] Rollback zeroSync toggle in case it was not successful (#2434)
  [Wallet] Cleanup unused StateProps references (#2439)
  Add unit tests and cli checks for validator hotfix interaction (#2340)
  Add proper Spanish translations (#2427)
  Catch exceptions during polling (#2432)
  Add unfreeze-contracts command to celotool (#2433)
  Fix verify-contracts file dependency missing (#2426)
  Upload correct bootnode IP address on internal testnet (#2402)
  [Wallet]: Historic Gold prices chart (#2345)
  Fix documentation link (#2404)
  Docs nits (#2424)
  Update genesis block accounts config to be correct for phase 2 (#2416)
  Sort on correct vote amount in validator election migration (#2417)
  Make attestation opt-in (#2230)
  Adjustment to home banner / mobile menu (#2408)
  Clarify documentation on validator proxy (#2371)
  [Slashing] Adding whitelist checks for onlySlasher to Validators.sol (#2347)
  ...
aaronmgdr added a commit that referenced this pull request Jan 21, 2020
* master: (25 commits)
  Add react-testing-utils + Fix Analytics (#2437)
  collect coverage on web (#2415)
  Add callouts to serve text messages in regions (#2458)
  [Wallet] Historical currency conversions in the transaction feed (#2446)
  CLI relock fix (#2464)
  Update copyright year + inline button  (#2468)
  Voting bot for stake off (#2327)
  Change order of profile info (#2454)
  [Wallet] Fix type check regression for components wrapped by our custom `withTranslation` (#2457)
  Unfreeze rewards by default (#2452)
  Baklava and baklavastaging deploys (#2421)
  Fix coin colors  (#2441)
  Make governance CLI more usable (#2428)
  Slashing params for stake off phase 2 (#2418)
  [Wallet] Rollback zeroSync toggle in case it was not successful (#2434)
  [Wallet] Cleanup unused StateProps references (#2439)
  Add unit tests and cli checks for validator hotfix interaction (#2340)
  Add proper Spanish translations (#2427)
  Catch exceptions during polling (#2432)
  Add unfreeze-contracts command to celotool (#2433)
  ...

# Conflicts:
#	packages/web/src/brandkit/common/MobileMenu.test.tsx
#	yarn.lock
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.

“Data saver” toggle is enabled without entering Security PIN
3 participants