Skip to content

Commit

Permalink
Deprecate the auth API (#2684)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenButtolph authored Jan 31, 2024
1 parent 14508dd commit 4457903
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const (
chainUpgradeFileName = "upgrade"
subnetConfigFileExt = ".json"

authDeprecationMsg = "Auth API is deprecated"
ipcDeprecationMsg = "IPC API is deprecated"
keystoreDeprecationMsg = "keystore API is deprecated"
acceptedFrontierGossipDeprecationMsg = "push-based accepted frontier gossip is deprecated"
Expand All @@ -66,6 +67,10 @@ var (
// TODO: deprecate "BootstrapIDsKey" and "BootstrapIPsKey"
commitThresholdDeprecationMsg = fmt.Sprintf("use --%s instead", SnowCommitThresholdKey)
deprecatedKeys = map[string]string{
APIAuthRequiredKey: authDeprecationMsg,
APIAuthPasswordKey: authDeprecationMsg,
APIAuthPasswordFileKey: authDeprecationMsg,

IpcAPIEnabledKey: ipcDeprecationMsg,
IpcsChainIDsKey: ipcDeprecationMsg,
IpcsPathKey: ipcDeprecationMsg,
Expand Down

0 comments on commit 4457903

Please sign in to comment.