But, storage operations are not in a transaction right? If my chain modifies storage, two writes for
But, storage operations are not in a transaction right? If my chain modifies storage, two writes for example, and the 2nd one fails, then the 1st one will still be persisted.
BTW, I am not arguing what Lumenize provides is not useful, just arguing that it can get very confusing with these tricks. I know they are interesting technically, but I usually find that it's a very nice way to introduce bugs too.
BTW, I am not arguing what Lumenize provides is not useful, just arguing that it can get very confusing with these tricks. I know they are interesting technically, but I usually find that it's a very nice way to introduce bugs too.