Skip to content

Hash immutable state into spawned template address #3977

Closed
@lrettig

Description

@lrettig

Rationale explained here in internal slack thread. It was discussed on today's research call. Basically, without this, it's trivially easy for someone to "clone" or "squat" the address of an existing, deployed contract (i.e., spawned template) (say, Uniswap) from chain X on chain Y. We shouldn't allow this.

We should emulate the behavior of Ethereum's create2.

CC @noamnelke, @selfdual-brain, @countvonzero, @dshulyak

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions