Closed CruzMolina closed 1 year ago
I doubt there will be enough gas to mint 100x, so it may be worthwhile at some point to check what the max mint number is based on that constraint versus the Chainlink VRF max words constraint.
That's my plan when reworking the mint fulfillment/resolution side of things. Will be adding test cases to see what we can expect as a real constraint.
PerpetualMintInternal
_requestRandomWords
to passPerpetualMint
Storage.Layout
as a parameterCollectionNotActive
customerror
inIPerpetualMintInternal
InvalidNumberOfMints
customerror
inIPerpetualMintInternal
PerpetualMintInternal
_attemptMint
to_attemptBatchMint
for supporting multiple mint attempts per txIPerpetualMint
attemptMint
->attemptBatchMint
for supporting multiple mint attempts per txPerpetualMint
attemptMint
->attemptBatchMint
for supporting multiple mint attempts per txPerpetualMintHelper
facet cutselector
,attemptMint
->attemptBatchMint
PerpetualMintInternal
_setMintFeeBP
fnsetMintFeeBP
fn inIPerpetualMint
setMintFeeBP
fn toPerpetualMint
setMintFeeBP
fn selector toPerpetualMintHelper
fordiamondCut
subscriptionId
as a testconstant
inPerpetualMintTest
VRF_COORDINATOR
address
castingStorageRead
_protocolFees
storage slot calculationStorageRead
_mintFeeBP
storage slot calculationIVRFCoordinatorV2Events
testinterface
PerpetualMint
attemptBatchMint
behavior tests