At some point we introduced the "normalize contract alias" function and I think we replaced most uses of .contract() for it because it was almost the same, but it differs in an important detail when the contract is not local, which was causing this issue.
No regression tests because unfortunately we don't have an existing test setup for truffle deployed information.
Fixes https://github.com/OpenZeppelin/openzeppelin-sdk/issues/1516.
At some point we introduced the "normalize contract alias" function and I think we replaced most uses of
.contract()
for it because it was almost the same, but it differs in an important detail when the contract is not local, which was causing this issue.No regression tests because unfortunately we don't have an existing test setup for truffle deployed information.