Insrt-Finance / insrt-v2-contracts

0 stars 3 forks source link

Scenario Testing #105

Open NouDaimon opened 1 year ago

NouDaimon commented 1 year ago

Scenario tests should be used to ensure that the overall functionality of the PerpetualMint contract suite functions as intended.

These should be identified and listed, either in this issue or as separate issues.

CruzMolina commented 1 year ago

Currently it appears that only up to 20 batch mint requests per tx are supported for both ERC1155 & ERC721 assets when there are two depositors per collection and the probability of a minter winning an asset is low.

We should add a couple scenario tests to determine:

  1. The maximum limit per block (i.e. how many batch mint transactions can we resolve per block).
  2. The maximum limit of batch mint requests per tx when there is at least one winning outcome.
  3. The maximum limit of depositors for a collection per winning outcome with a single mint.
  4. The maximum limit of depositors for a collection and the batch mint requests per tx when there is at least one winning outcome.