I have deployed a dApp on a sidechain (namely xDai) and am worried about its security.
What happens if an EVM chain is compromised?
Will it be rolled back after a few hours? or what?
If the mainnet is compromised? If a sidechain (said to be less reliable than mainnet) is compromised how does this influence funds on the mainnet?
I am concerned mainly with long time security (I worry not much about fast traders).
How a "slow" user may lose money? He gets (the right to withdraw) one token per second and could lose big money only if he trades it right in the time of the compromise or during signup what isn't very important as he could just signup again after just a day of lost profit stream, right? Please describe possible scenaria of my users losing money (like when they sell their tokens on Uniswap?)
I need an answer detailed enough to make my own informed decisions.