Skip to content

Commit 0802c75

Browse files
committed
fix(story-nft): fix scripts
1 parent 6351159 commit 0802c75

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

script/utils/DeployHelper.sol

+2
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,8 @@ contract DeployHelper is
278278
impl = address(0);
279279
_postdeploy("OrgStoryNFTFactory", address(orgStoryNftFactory));
280280

281+
orgStoryNftFactory.setDefaultOrgStoryNftTemplate(defaultOrgStoryNftTemplate);
282+
281283
if (!isTest) {
282284
if (writeDeploys) _writeDeployment();
283285
_endBroadcast();

script/utils/upgrades/UpgradeHelper.s.sol

+2-2
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ contract UpgradeHelper is
6868
}
6969

7070
function _writeAllAddresses() internal {
71-
string[] memory contractKeys = new string[](10);
71+
string[] memory contractKeys = new string[](11);
7272
contractKeys[0] = "DerivativeWorkflows";
7373
contractKeys[1] = "GroupingWorkflows";
7474
contractKeys[2] = "LicenseAttachmentWorkflows";
@@ -81,7 +81,7 @@ contract UpgradeHelper is
8181
contractKeys[9] = "OrgNFT";
8282
contractKeys[10] = "OrgStoryNFTFactory";
8383

84-
address[] memory addresses = new address[](10);
84+
address[] memory addresses = new address[](11);
8585
addresses[0] = derivativeWorkflowsAddr;
8686
addresses[1] = groupingWorkflowsAddr;
8787
addresses[2] = licenseAttachmentWorkflowsAddr;

0 commit comments

Comments
 (0)