golemfactory / clay

Golem is creating a global market for computing power.
https://golem.network
GNU General Public License v3.0
2.91k stars 286 forks source link

Set correct state when creating task with no funds #5137

Closed kmazurek closed 4 years ago

kmazurek commented 4 years ago

Resolves: https://github.com/golemfactory/golem/issues/5012

When task creation fails due to insufficient funds, the task's state is now set to errorCreating. This commit also changes that state to be considered final.

codecov[bot] commented 4 years ago

Codecov Report

Merging #5137 into b0.23 will increase coverage by 0.03%. The diff coverage is 90.9%.

@@            Coverage Diff            @@
##           b0.23    #5137      +/-   ##
=========================================
+ Coverage   89.9%   89.94%   +0.03%     
=========================================
  Files        238      238              
  Lines      22438    22443       +5     
=========================================
+ Hits       20174    20186      +12     
+ Misses      2264     2257       -7