Insrt-Finance / insrt-v2-contracts

0 stars 3 forks source link

Figure out max mint attempts per tx #149

Closed CruzMolina closed 1 year ago

CruzMolina commented 1 year ago

Currently the max theoretical limit number of mint attempts is 500 per tx, but that assumes the chainlink max callback limit can process that many fulfillments. It's likely it cannot so we should figure out what the actual limit is and set a guard on mint attempts

CruzMolina commented 1 year ago

Currently it looks like we can support the max number of 500 mint attempts per tx, but we don't yet have the $MINT consolation token integrated into fulfillment.

CruzMolina commented 1 year ago

As of #167, using 2 random words per mint, we can support a maximum of 250 mints per tx.

CruzMolina commented 1 year ago

Going to close this as the change in #173 to emit one cumulative MintResult saves even more gas per mint resolution tx.

Current max mint attempts we can support per tx is 250.