We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 703921d commit 125cf9bCopy full SHA for 125cf9b
codex/sales/states/downloading.nim
@@ -75,6 +75,15 @@ method run*(
75
return some State(SaleErrored(error: err, reprocessSlot: false))
76
77
trace "Download complete"
78
+ without keyId =? reservation.key, error:
79
+ error "Couldn't get reservation key", id = $reservation.id, error = error.msg
80
+
81
+ if updatedReservation =? await reservations.get(keyId, Reservation):
82
+ if updatedReservation.size != 0:
83
+ error "After downloading the data there is unused capacity in Reservation"
84
+ else:
85
+ error "Couldn't get updated reservation"
86
87
return some State(SaleInitialProving())
88
except CancelledError as e:
89
trace "SaleDownloading.run was cancelled", error = e.msgDetail
0 commit comments