-
Mark Tyneway authored
For some reason `strings.TrimPrefix` is removing an extra character sometimes. We want to remove the `.json` extension and using it will sometimes also remove the final character in the contract name. This is problematic because when you call `hh.GetDeployment`, with the name of the contract, it will not be able to find the deployment because the name of the deployment will not match the name passed in by the user. This instead slices off the `.json` from the string manually.
f6b101a6
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
testdata | ||
hardhat.go | ||
hardhat_test.go | ||
types.go | ||
utils.go |