were cross-shards transactions? Besides that they were also not atomic.
The point is that cross-shard transactions on most projects (including Elrond) are multiple times slower than transactions on a blockchain without any shard.
This basically means to achieve that 257k TPS they couldn't have used many cross-shard transactions.
Next point is that Elrond does not support atomic composability cross-shards, because for atomic composability you need synchronisation between shards (which would break scalability) instead of the asynchronous appreach Elrond takes for composability. However, you can simulate "atomic composability" with smart contracts by rolling back partially failed transactions, but this is slow, expensive, very error prone and complex. Also the smart contracts need to be prepared for a specific use case therefore this is not a universal like composability on Ethereum currently.
If you want a deeper dive why sharding breaks atomic composability, you may want to read this thread from Vitalik Buterin regarding ETH2 (https://ethresear.ch/t/cross-shard-defi-composability/6268/5), in particular the conversation between Agusx1211, vbuterin and cdertio.
I am not trying to shill or fud here, everybody should DYOR, I just want to recommend to research Radix and then decide on your own 😊.
This was unbelievably valuable thank you. This was my exact concern but I'm too technologically inept to figure it out myself.
Обсуждают сегодня