Submitted by 0xRajeev
The current block gas limit is 15M and not 12.5 as indicated in the comment for setNFTMintingLimit(60) in Factorys constructor. So this could be changed accordingly but a safe threshold needs to be enforced in the setter setNFTMintingLimit() which is currently lacking. That would prevent accidentally setting the minting limit to something beyond what the block gas limit would safely allow.
Recommend that If NFT minting limit dependence on block gas limit is critical to the functioning, consider using GASLIMIT opcode to dynamically check block gas limit to set nftMintingLimit appropriately before creating a market.
Splidge (Reality Cards) acknowledged:
