Skip to content

More map types in EnumerableMap #4713

@RyanRHall

Description

@RyanRHall

🧐 Motivation
Small feature request, but I would love if EnumerableMap would support an address => bytes32 and a uint256 => bytes32 mapping. I have several cases where this has been useful and I end up using a Bytes32ToBytes32Map and then casting the key to the type I want. It works fine, but it would be cleaner if we supported the more specific types :). Happy to help contribute the changes!

📝 Details
Hopefully the motivation section is sufficiently clear :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions