rmrk-tools icon indicating copy to clipboard operation
rmrk-tools copied to clipboard

Same block mint into+resadd

Open Erebos0506 opened this issue 3 years ago • 1 comments

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)

Erebos0506 avatar Jun 23 '22 22:06 Erebos0506

Still not sure if this is a good solution but it seems to work judging from the unit tests

Erebos0506 avatar Jun 23 '22 22:06 Erebos0506