Closed EGreg closed 1 year ago
Just like getAddresses(roles) now should return an array of arrays, so should this method. It's much more useful that way, for my client-side code.
Basically the arrays should be in the same order as the addresses. So for example:
getRoles(['0x123...', '0x294...', '0x928...']) would return this: [[0, 4], [], [2, 4, 5]
getRoles(['0x123...', '0x294...', '0x928...'])
[[0, 4], [], [2, 4, 5]
Also change all calls to this function! Across all repos!
after investigation code in first look: seems need to check or/and update the following repos that using community(after task will be done):
Updated Created sub tasks:
done
Just like getAddresses(roles) now should return an array of arrays, so should this method. It's much more useful that way, for my client-side code.
Basically the arrays should be in the same order as the addresses. So for example:
getRoles(['0x123...', '0x294...', '0x928...'])
would return this:[[0, 4], [], [2, 4, 5]
Also change all calls to this function! Across all repos!