Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabling contract deployer allowlist breaks the deployment #24

Open
giovanni-pucci opened this issue Jun 13, 2023 · 1 comment
Open

Comments

@giovanni-pucci
Copy link

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!

@vcastellm
Copy link
Member

What errors are you experiencing? can you paste relevant logs?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants