You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently if we want to update an alias/foundry/nft output we need to check the fields of the previous output and also set them to the new one, maybe with the state transition index updated (not for all, but at least for many fields), instead of every time manually going over every feature block, immutable feature block and other fields, we should have one or multiple functions to make it easier
For example something like this should be made easier, but we also still need the options to modify some fields ourself
Should the helper functions just return the OutputBuilder with the fields updated? Then we can just overwrite the fields we want to change in a different way
Can this also be useful for basic outputs because of metadata/tag feature blocks?
The text was updated successfully, but these errors were encountered:
Description
Currently if we want to update an alias/foundry/nft output we need to check the fields of the previous output and also set them to the new one, maybe with the state transition index updated (not for all, but at least for many fields), instead of every time manually going over every feature block, immutable feature block and other fields, we should have one or multiple functions to make it easier
For example something like this should be made easier, but we also still need the options to modify some fields ourself
Motivation
Cleaner and less code.
Requirements
Open questions (optional)
Should the helper functions just return the OutputBuilder with the fields updated? Then we can just overwrite the fields we want to change in a different way
Can this also be useful for basic outputs because of metadata/tag feature blocks?
The text was updated successfully, but these errors were encountered: