archethic-node
archethic-node copied to clipboard
SC: Respect user conditions order
Is your feature request related to a problem?
Currenlty the conditions structure of a smart contract is a map. Hence when we execute each condition fields to determine if incoming trigger transaction is valid, the fields are checked in a non specific order (order of the map). It could be usefull to respect the order defined by the user, it could bring more flexibility and control to execute the low cost control before the high one
Describe the solution you'd like
Conditions struct in a Contract should be able to keep the order defined by the user
Additional context
No response
Epic
No response