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

Remove legacy contract deployment whitelisting mechanism #1556

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions chain/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ type Params struct {
Forks *Forks `json:"forks"`
ChainID int64 `json:"chainID"`
Engine map[string]interface{} `json:"engine"`
Whitelists *Whitelists `json:"whitelists,omitempty"`
BlockGasTarget uint64 `json:"blockGasTarget"`

// Access control configuration
Expand Down Expand Up @@ -75,11 +74,6 @@ func (p *Params) GetEngine() string {
return ""
}

// Whitelists specifies supported whitelists
type Whitelists struct {
Deployment []types.Address `json:"deployment,omitempty"`
}

// Forks specifies when each fork is activated
type Forks struct {
Homestead *Fork `json:"homestead,omitempty"`
Expand Down
2 changes: 0 additions & 2 deletions command/root/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ import (
"github.com/0xPolygon/polygon-edge/command/status"
"github.com/0xPolygon/polygon-edge/command/txpool"
"github.com/0xPolygon/polygon-edge/command/version"
"github.com/0xPolygon/polygon-edge/command/whitelist"
)

type RootCommand struct {
Expand Down Expand Up @@ -57,7 +56,6 @@ func (rc *RootCommand) registerSubCommands() {
backup.GetCommand(),
genesis.GetCommand(),
server.GetCommand(),
whitelist.GetCommand(),
license.GetCommand(),
polybftsecrets.GetCommand(),
polybft.GetCommand(),
Expand Down
66 changes: 0 additions & 66 deletions command/whitelist/deployment/deployment.go

This file was deleted.

162 changes: 0 additions & 162 deletions command/whitelist/deployment/params.go

This file was deleted.

32 changes: 0 additions & 32 deletions command/whitelist/deployment/result.go

This file was deleted.

72 changes: 0 additions & 72 deletions command/whitelist/show/params.go

This file was deleted.

20 changes: 0 additions & 20 deletions command/whitelist/show/result.go

This file was deleted.

Loading
Loading