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 Dec 13, 2019. It is now read-only.
When creating a payment via the UnidirectionalTransferApp, the app successfully installs, updates, and uninstalls. However, on uninstall the recipient's freeBalance does not correctly increment.
After installing, I get the following result from calling getAppState:
I then call takeAction twice, once to transfer the entire balance to the receiver (0 starting balance), and once to finalize the state. After these actions, I get the following response from getAppState:
Notice the second call delivers a state with the wrong structure, and drops the receiver's address 0x7D745....
Once the app is uninstalled, which does not throw an error, the sender's free balance decrements appropriately as does the hub's in its channel with the receiver. However, no balances are incremented.
Note: Balances displayed were manually converted to strings for easier to read logs.
balances are correctly incremented after uninstalling the application 🎉
cf19drofxots
changed the title
[node] Receiver free balance not increasing on uninstall, weird state mutations.
[node] Weird state struct mutations
Jul 29, 2019
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When creating a payment via the
UnidirectionalTransferApp
, the app successfully installs, updates, and uninstalls. However, on uninstall the recipient'sfreeBalance
does not correctly increment.After installing, I get the following result from calling
getAppState
:I then call
takeAction
twice, once to transfer the entire balance to the receiver (0 starting balance), and once to finalize the state. After these actions, I get the following response fromgetAppState
:Notice the second call delivers a state with the wrong structure, and drops the receiver's address
0x7D745...
.Once the app is uninstalled, which does not throw an error, the sender's free balance decrements appropriately as does the hub's in its channel with the receiver. However, no balances are incremented.
Note: Balances displayed were manually converted to strings for easier to read logs.
Other helpful information for debugging:
actionEncoding
:stateEncoding
:takeAction
call torpcRouter
The text was updated successfully, but these errors were encountered: