Compare to Solidity
CosmWasm aims to address some of the security issues present in Ethereum/Solidity. It does this by preventing reentrancy attacks, which are a common exploit in the DeFi world. Additionally, it provides a more streamlined experience for migrating contracts, as opposed to using a"library contract" pattern. Overall, CosmWasm improves the security of smart contracts on the Cosmos ecosystem by preventing the most common classes of attacks found in Solidity.