if some of my calls to contract update state in order and reorg happen at blockchain does that alters state update order?


value = 0;

addone() -> value = 1 // reorg happen and this update to later block

addtwo() -> value = value + 2 // this execute before first ?

value should be 3 after second execution if no reorg.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.