Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Sia loses funds during contract formation #2772
How to reproduce it (as minimally and precisely as possible)
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.
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.