Skip to content

Use DEFAULT_CHAIN everywhere it makes sense #711

@dnwiebe

Description

@dnwiebe

We recently changed the default chain from polygon-mainnet to base-mainnet. In order to do so, we changed the definition of DEFAULT_CHAIN, but there were a lot of specific references to polygon-mainnet (that is, not DEFAULT_CHAIN) that had to be individually changed as well. Many of them were in strings--for example, file paths.

Since the default chain has changed more than once in the past and will probably change again in the future, all the direct references to it should be changed so that they're references to DEFAULT_CHAIN instead. If that requires additional functionality to be added to DEFAULT_CHAIN so that it can render itself as a piece of a file path, then that additional functionality should be supplied.

Metadata

Metadata

Assignees

No one assigned

    Labels

    optimizationNot reaquired, but good to have

    Type

    No type

    Projects

    Status

    🔖 Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions