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
With the current markets release there is a bug where the client does not send funds in step 4. Instead, the retrieval gets stuck:
ClientEventOpen
ClientEventDealProposed
ClientEventDealAccepted
ClientEventPaymentChannelAddingFunds
ClientEventPaymentChannelReady
ClientEventLaneAllocated
<no further events>
The provider does send a request for payment while the client is in the state DealStatusPaymentChannelAddingInitialFunds.
However the client ignores the event.
It seems the reason is because DealStatusPaymentChannelAddingInitialFunds is not included in the list of payment channel creation states:
Background
When making a retrieval, the process is:
With the current markets release there is a bug where the client does not send funds in step 4. Instead, the retrieval gets stuck:
The provider does send a request for payment while the client is in the state
DealStatusPaymentChannelAddingInitialFunds
.However the client ignores the event.
It seems the reason is because
DealStatusPaymentChannelAddingInitialFunds
is not included in the list of payment channel creation states:go-fil-markets/retrievalmarket/impl/clientstates/client_fsm.go
Lines 23 to 29 in 7ff7573
So when the provider requests payment, and the
ClientEventPaymentRequested
event is fired, the event is ignored:go-fil-markets/retrievalmarket/impl/clientstates/client_fsm.go
Lines 177 to 187 in 7f8d9b6
Solution
We just need to add
DealStatusPaymentChannelAddingInitialFunds
topaymentChannelCreationStates
The text was updated successfully, but these errors were encountered: