terraform-polygon-supernets icon indicating copy to clipboard operation
terraform-polygon-supernets copied to clipboard

Enabling contract deployer allowlist breaks the deployment

Open giovanni-pucci opened this issue 1 year ago • 1 comments

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!

giovanni-pucci avatar Jun 13 '23 17:06 giovanni-pucci