Skip to content

Conversation

@gakonst
Copy link
Member

@gakonst gakonst commented Dec 23, 2021

Previously, you could only forge create path/Contract.sol:ContractName, and if you did forge create ContractName it'd panic the first time it runs because there's no such artifact in the cache yet.

With this PR you can just forge create ContractName, and if there's 2 with the same ones it proceeds to error out and ask you to provide the full path

previously you had to specify the full path, and it'd panic if you only provided a name
@gakonst gakonst force-pushed the fix/create-with-name branch from 493651c to 80a7a1b Compare December 23, 2021 20:03
@gakonst gakonst merged commit c5f18b6 into master Dec 23, 2021
@gakonst gakonst deleted the fix/create-with-name branch December 23, 2021 20:05
clifton pushed a commit to clifton/foundry that referenced this pull request Dec 27, 2021
previously you had to specify the full path, and it'd panic if you only provided a name
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants