Skip to content

Remove unnecessary variable in whitelist.spec.ts #2154

@smartcontracts

Description

@smartcontracts

Very simple task. whitelist.spec.ts imports this variable:

import { l2Provider } from './shared/utils'

However, this same variable already exists on the OptimismEnv object created later:

env = await OptimismEnv.new()

Specifically:

env.l2Provider

We can get rid of the extra import by using env.l2Provider instead of l2Provider directly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions