Turning EnumerableSet.AddressSet into a WordSet (bytes32)


do you see any problem with configuring the EnumerableSet.AddressSet library to work for bytes32 “word/stack item”

I literally just changed the address values to bytes32 values everywhere.

1 Like

No, it should work fine. There’s been some discussion around extending EnumerableSet on this issue on the repo, but sadly without support for generics there is little we can do other than provide multiple variants.

1 Like