Why can the same smart contract code be deployed unchanged on several chains?
The EVM charges Gas for each instruction. When a transaction runs out of Gas, it aborts and rolls back any state changes, so infinite loops can't hold up the entire network.
I didn't understand this before, and wasted enough money to pay for several hotpot meals.
It's best to only invest money you can afford to lose without it affecting your life.
$ETH 1832.54(+0.81%)

You have to bear the risks yourself—just chatting.