archethic-node icon indicating copy to clipboard operation
archethic-node copied to clipboard

SC: Respect user conditions order

Open Neylix opened this issue 1 year ago • 0 comments

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

Neylix avatar Jul 27 '23 06:07 Neylix