rmrk-tools
rmrk-tools copied to clipboard
Same block mint into+resadd
An attempt at trying to allow adding resources and minting into nfts in the same block they have been minted in by changing the block of the parent nft id to the remark block if it is 0 (different solution but similar result to https://github.com/rmrk-team/rmrk-tools/issues/89 with advantages being: it's slightly easier and might prevent some of the problems if block 0 is returned for the included block, disadvantage is that everything related needs to be in one block)
Still not sure if this is a good solution but it seems to work judging from the unit tests