Skip to content

Proxy Breaking Change #59

Description

@rya-sge

The function initializer must not be called in the constructor.

In the constructor, we need only the call to the ERC2771 / MetaTxModule constructor
Possible patch

constructor(
        address forwarder,
    ) MetaTxModule(forwarder) {
    }

    function initialize(
        address owner,
        string memory name,
        string memory symbol,
        string memory tokenId,
        string memory terms
    ) public initializer {
        __CMTAT_init(owner, name, symbol, tokenId, terms);
    }

Metadata

Metadata

Assignees

Labels

Critical IssueIt is very important to fix this issue.bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions