Closed hexonaut closed 3 months ago
Fixes an issue where exporting to multiple jsons at once would not separate by name.
Ex)
ScriptTools.exportContract("A", "someContractA", address(123)); ScriptTools.exportContract("B", "someContractB", address(456));
before this would output both contracts someContractA and someContractB to the B.json. With this change both A.json and B.json will have only their 1 respective contract.
someContractA
someContractB
B.json
A.json
All committers have signed the CLA.
Can you please explain a little bit further what issue you are trying to fix here?
Updated OP
Fixes an issue where exporting to multiple jsons at once would not separate by name.
Ex)
before this would output both contracts
someContractA
andsomeContractB
to theB.json
. With this change bothA.json
andB.json
will have only their 1 respective contract.