We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b35c91c commit b8c074bCopy full SHA for b8c074b
1 file changed
solidity/contracts/libraries/operator/Groups.sol
@@ -14,6 +14,9 @@ library Groups {
14
// to distinguish the group `0` from null.
15
// The flag is toggled with bitwise XOR (`^`)
16
// which keeps all other bits intact but flips the flag bit.
17
+ // The flag should be set before writing to `groupIndices`,
18
+ // and unset after reading from `groupIndices`
19
+ // before using the value.
20
uint256 constant GROUP_INDEX_FLAG = 1 << 255;
21
22
struct Group {
0 commit comments