From 4f53766428d245dfae84d061aebc8b31c7b005e5 Mon Sep 17 00:00:00 2001 From: arnoldy200 <75040229+arnoldy200@users.noreply.github.com> Date: Wed, 4 May 2022 13:08:01 -0500 Subject: [PATCH 1/2] Update the main.js One line change If shuffleLayerConfigurations = true and network = NETWORK.sol the generated image files start with 0, but still end at the same number. We need to reduce it by 1. --- src/main.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.js b/src/main.js index e9c08dcf2..e8416900b 100644 --- a/src/main.js +++ b/src/main.js @@ -341,7 +341,7 @@ const startCreating = async () => { let abstractedIndexes = []; for ( let i = network == NETWORK.sol ? 0 : 1; - i <= layerConfigurations[layerConfigurations.length - 1].growEditionSizeTo; + i <= (layerConfigurations[layerConfigurations.length - 1].growEditionSizeTo - (network == NETWORK.eth ? 0 : 1)); i++ ) { abstractedIndexes.push(i); From 89f7def29761ff1bd8eab15ca927544533bcfa3f Mon Sep 17 00:00:00 2001 From: arnoldy200 <75040229+arnoldy200@users.noreply.github.com> Date: Fri, 6 May 2022 19:57:40 -0500 Subject: [PATCH 2/2] Update update_info.js --- utils/update_info.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/update_info.js b/utils/update_info.js index f51788631..03dc7ed56 100644 --- a/utils/update_info.js +++ b/utils/update_info.js @@ -18,7 +18,7 @@ data.forEach((item) => { if (network == NETWORK.sol) { item.name = `${namePrefix} #${item.edition}`; item.description = description; - item.creators = solanaMetadata.creators; + item.properties.creators = solanaMetadata.creators; } else { item.name = `${namePrefix} #${item.edition}`; item.description = description;