Skip to content

[OTHER] PropertyFactory should be used Clones.clone #1204

Open
@aggre

Description

@aggre

What would you like to share?

Clones.clone effectively reduces the waste of redeploying the "same implementation" by leveraging the Proxy pattern.

PropertyFactory.create contains Property.sol and it calls new each time it is executed. Therefore, it consumes a lot of gas fees.

Replacing the implementation of PropertyFactory.create with Clones.clone would require the following changes:

Additional information

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions