Skip to content

Map nonce of transaction when creating contracts #20

Open
@Agusx1211

Description

@Agusx1211

Ether.js obtains the address of a deployed contract by computing it using the sender address + nonce, on EOAs this nonce is globally shared and increases with any transaction, but on Sequence the nonce is exclusive to contract creations.

One possible fix would be to modify the contract creation transaction receipts in such a way that their nonce matches the contract creation nonce. This could be difficult to achieve because the 'contract creation nonce' it's not easily trackeable.

A simpler alternative would be to use a different nonce space for contract creations

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions