We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4abe0e commit a9233d7Copy full SHA for a9233d7
packages/cli/package/src/lib/chain/offer/offer.ts
@@ -1334,7 +1334,8 @@ function indexerResourcesToOnchainResources(
1334
.filter(({ resourceDescription: { type }, maxSupply }) => {
1335
return (
1336
onChainResourceTypeToResourceType(type) === resourceType &&
1337
- Number(maxSupply) > 0
+ // TODO: temporary solution to allow non-cpu resources to have maxSupply 0
1338
+ (resourceType !== "cpu" || Number(maxSupply) > 0)
1339
);
1340
})
1341
.map(
0 commit comments