This bounty is no longer available
Web3 DAO | Optimism Logo

op-service: cleanup stringer types with `~string` generic

Organization

Optimism

Deadline

N/A

Status

ENDED


INSTRUCTIONS

Stringered / StringeredList / EnumString are hacky. We can get rid of the Stringer stuff, and use ~string (generic type, captures types of underlying string type) and use that to support EnumString. These helper funcs are used in things like the CLI flag construction, of which the usage will have to be updated.