This is the mint function I write in my contract. Each non-fungible token here represents a mobile device with a unique device ID and the device belongs to a certain owner. So apart from the token id, it contains owner's information including his/her ID, wallet address and ipfs hash value of user identity profile. The token does not contain any metadata.
First part of the function is a for loop mapping owner's information to the token; Second is the mintBatch function that actually mints multiple non-fungible tokens to one address.
I am wondering if there is any upper limit on the number of NFTs I can mint using this function.
For instance, if I mint 100,000 such NFTs to an address, would the miner be unwilling to package this transaction into a new block because the size of the transaction is too big that it would slow down the whole mining process.
And would the EVM be able to handle such a large amount of state changes in a short time?