Skip to content

Enabling contract deployer allowlist breaks the deployment #24

Open
@giovanni-pucci

Description

Enabling contract deployer allowlist breaks the deployment

Description

When I add the following flags to the polygon-edge genesis command, my chain doesn't work at all:

--contract-deployer-allow-list-admin {{ deployer_addr }}
--contract-deployer-allow-list-enabled {{ deployer_addr }}

Environment

  • Polygon Edge v1.0.0-rc1

Proposed Solution

I've managed to get through this issue by adding the validators addresses to the flags.

I'd propose to either add the validators automatically within the genesis command when the flag is set or document this in a way we can preempt the issue and prevent this issue from happening.

In case you opt for keeping it the way it is, please add an error message once the deployment fails specifying the cause.

Cheers!

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions