Cyfrin / foundry-devops

426 stars 53 forks source link

avoid deployment of library contract #18

Closed jjoshm closed 5 months ago

jjoshm commented 7 months ago

on the 0.1.0 tag:

if you call the get_most_recent_deployment function outside the broadcast and then deploy a contract in the same script it will deploy an additional DevOpsTools contract as a library.


on the master branch:

if you provide 3 arguments to the get_most_recent_deployment outside the broadcast and then deploy a contract in the same script it will deploy an additional DevOpsTools contract as a library.


PR: https://github.com/Cyfrin/foundry-devops/pull/19

PatrickAlphaC commented 5 months ago

fixed in 61f46bd03a21efa92d8f36d81664f3ef51dec307