You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 2, 2018. It is now read-only.
How to reproduce it (as minimally and precisely as possible)
Deposit 500 SC into Sia wallet
Set allowance of 500 SC for 12w
Wait for 50 contracts to form
Upload 300 GiB of data to Sia, 5 files at a time
Expected Behavior
The sum of wallet balance and contract spending remains constant at 500 SC. Any money removed from the wallet should end up in total contract spending.
I see this behavior hold when I try it with a 5 KS wallet:
In that test, the sum of wallet balance and contract spending remains a constant 5 KS.
Actual Behavior
Sia loses 166.66 SC of funds. Wallet balance reduces to 0, but Sia contract spending only increases to 333.33 SC, leaving 166.66 SC unaccounted for.
I actually ended up seeing the same thing on the 5000 SC allowance. I started with a 5000 SC wallet balance. Ended with 0 SC wallet balance and 2,966.7 in total contract spending, losing 2033.3 (41%).
mtlynch
changed the title
166.66 SC lost during contract formation
Sia loses funds during contract formation
Mar 21, 2018
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
BUG REPORT
How to reproduce it (as minimally and precisely as possible)
Expected Behavior
The sum of wallet balance and contract spending remains constant at 500 SC. Any money removed from the wallet should end up in total contract spending.
I see this behavior hold when I try it with a 5 KS wallet:
In that test, the sum of wallet balance and contract spending remains a constant 5 KS.
Actual Behavior
Sia loses 166.66 SC of funds. Wallet balance reduces to 0, but Sia contract spending only increases to 333.33 SC, leaving 166.66 SC unaccounted for.
missing.
Environment
Logs: https://gist.github.com/mtlynch/ccc29acfbd7cf4c9716180eac2af39a5
Metrics data: https://docs.google.com/spreadsheets/d/1g6bMB7CrH_Nn7orUfguD7RDd_9rmHKlXLJrrqv06sd4/edit#gid=1191012075
The text was updated successfully, but these errors were encountered: