• Mark Tyneway's avatar
    contracts-bedrock: fix mintable erc20 factory bug · 636ae0d8
    Mark Tyneway authored
    We need to make sure that the create2 salt commits to all
    uniquely identifying information so that addresses cannot clash,
    preventing the creation of a particular `OptimismMintableERC20Token`.
    Before this version, the salt did not commit to the decimals which
    means that it is possible to create a collision.
    636ae0d8
OptimismMintableERC20Factory.t.sol 3.17 KB