Skip to content

@eth-optimism/contracts@0.2.10 does not package artifacts #802

@krebernisak

Description

@krebernisak

Describe the bug
@eth-optimism/contracts@0.2.10 does not package artifacts or artifacts-ovm like it did in v0.2.9, which breaks packaged functions like getContractDefinition.

To Reproduce
Steps to reproduce the behavior:

  1. Update to @eth-optimism/contracts@0.2.10 from NPM
  2. Try to use import { getContractFactory } from '@eth-optimism/contracts'

Expected behavior
Expecting getContractDefinition not to throw, for example on getContractFactory('Lib_AddressManager').

Screenshots

@eth-optimism/contracts@0.2.9:
Screenshot 2021-05-07 at 13 01 23

@eth-optimism/contracts@0.2.10:
Screenshot 2021-05-07 at 13 03 05

Metadata

Metadata

Labels

C-bugCategory: bugsS-confirmedStatus: A confirmed bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions