status-im / status-mobile

a free (libre) open source, mobile OS for Ethereum
https://status.app
Mozilla Public License 2.0
3.88k stars 984 forks source link

Account balance is not recalculated without relogin if sending all available tokens amount #8877

Closed asemiankevich closed 4 years ago

asemiankevich commented 5 years ago

Problem

I have ETH > 0 to pay for gas I have 100 STT on my balance for Status account I have Account 1 added to my multiaccount

If i send 1000 STT (all the amount i have) from Status account to my Account 1, i can see the that amount is duplicated in Total balance, as well as Status account is not deducted with this 1000 STT.

image

Steps

NOTE: the balance is correct after user logs out and log in back

Expected result

  1. status account is deducted with 1000 STT
  2. account 1 is debited with 1000 STT
  3. total STT value is 1000 for multiaccount

Notes

build: nightly 30-Aug-2019 device: Huawei P10 Lite, Android 8

yenda commented 4 years ago

@churik is it reproducible?

churik commented 4 years ago

I'll take a look today, but I suppose yes (no "help to reproduce" label). Nastya rechecked it

churik commented 4 years ago

It is reproducible. Tested on IOS 11.4.1., iPhone 7

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


This issue now has a funding of 80.0 DAI (80.0 USD @ $1.0/DAI) attached to it.

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work has been started.

These users each claimed they can complete the work by 1 week from now. Please review their action plans below:

1) speedyfixer has applied to start work _(Funders only: approve worker | reject worker)_.

I'm able to start on Saturday (UTC-5), the plan is:

  1. Reproduce the bug on my local environment
  2. Debug the issue with the help of re-frisk and Clojure REPL
  3. Fix the problem
  4. Make a PR 2) gerstaro has applied to start work _(Funders only: approve worker | reject worker)_.

I am able to start rigtaway for this project. I guess I have to fix something using web3.js and web3 object to interact with the smart contract. The front end is made with react.js ? I am a dapps developer as well as ethereum smart contract developer using solidity. Thanks 3) tbenr has been approved to start work.

I'm interested working on this, I'm already experienced in Status project and I think I can fix this with little\no overhead for you guys :) 4) theblockchainlottery has applied to start work _(Funders only: approve worker | reject worker)_.

Put the kettle on, load up the IDE, drink some coffee, check the github, read the docs, do some coding, fix some bugs

Learn more on the Gitcoin Issue Details page.

gitcoinbot commented 4 years ago

@tbenr Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

tbenr commented 4 years ago

@gitcoinbot still need some time

tbenr commented 4 years ago

@rachel working on this but i cant do any transaction: after signing I always get this error: image any help? cc @asemiankevich

tbenr commented 4 years ago

@rachelhamlin @asemiankevich I created a new account and now works. Maybe i was using an old account with statusgo issues.

gitcoinbot commented 4 years ago

@tbenr Hello from Gitcoin Core - are you still working on this issue? Please submit a WIP PR or comment back within the next 3 days or you will be removed from this ticket and it will be returned to an ‘Open’ status. Please let us know if you have questions!

Funders only: Snooze warnings for 1 day | 3 days | 5 days | 10 days | 100 days

gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


Work for 80.0 DAI (80.0 USD @ $1.0/DAI) has been submitted by:

  1. @tbenr

@StatusSceptre please take a look at the submitted work:


gitcoinbot commented 4 years ago

Issue Status: 1. Open 2. Started 3. Submitted 4. Done


The funding of 80.0 DAI (80.0 USD @ $1.0/DAI) attached to this issue has been approved & issued to @tbenr.