mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 12:19:24 +00:00
CREATE was originally intended for gas savings. While one sketch did move to CREATE2, the security concerns around address collisions (requiring all init codes not be malleable to achieve security) continue to justify this. To resolve the gas estimation concerns raised in the prior commit, the createAddress function has been made constant-gas.
357 B
357 B