Skip to content
This repository was archived by the owner on Apr 11, 2021. It is now read-only.

add ignore file list on compilation#39

Merged
smartcontracts merged 3 commits intoethereum-optimism:masterfrom
garyng2000:master
Apr 9, 2021
Merged

add ignore file list on compilation#39
smartcontracts merged 3 commits intoethereum-optimism:masterfrom
garyng2000:master

Conversation

@garyng2000
Copy link
Copy Markdown

Description
just an an optional 'ignore/skip' list(of regex) when doing compilation as libraries like @OpenZeppelin may not play nice with ovm compiler yet would be included by hardhat

use like this in the hardhat.config.js

networks: {
localhost_l1: {
url: networks.localhost.l1RpcUrl,
accounts,
ignoreRxList: ["ovmzeppelin/."]
},
localhost_l2: {
url: networks.localhost.l2RpcUrl,
accounts,
ovm:true,
ignoreRxList: ["@OpenZeppelin.
"]
},

Copy link
Copy Markdown
Contributor

@smartcontracts smartcontracts left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thank you!!!

@smartcontracts smartcontracts merged commit d5dbc7d into ethereum-optimism:master Apr 9, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants