This repository has been archived by the owner on Dec 13, 2019. It is now read-only.
[node, contracts] Participants list for defining expected order of parties in an app #2007
Labels
Milestone
Currently when an app is installed, the list of addresses that are used to determine app state and turn number is sorted.
monorepo/packages/node/src/models/state-channel.ts
Lines 165 to 171 in e730d77
This is an issue because the state of the app might rely on a different ordering of this list.
For example, it's not clear what address the funds are being sent to here:
monorepo/packages/apps/contracts/ETHUnidirectionalTransferApp.sol
Line 36 in e730d77
If a participants list is used, this list will not be sorted and we can define more reasonable expected transitions.
The text was updated successfully, but these errors were encountered: