Posted on c/ElrondDevelopers 1 bog8304552146c/ElrondDevelopers 2 years ago In case I iterate over a stored VecMapper and along the way I update the iterated items and at some point I decide to sc_panic("That is not supose to happen"); Will the iterated and modified structs be left unchanged ? Comment 1 Comments mwf81318617 2years ago If you throw an error the changed state is discarded and won't be persisted on the blockchain :)
If you throw an error the changed state is discarded and won't be persisted on the blockchain :)