-
Notifications
You must be signed in to change notification settings - Fork 741
Remove deprecated configs #1712
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
Conversation
We need a new ANR release to fix those tests. |
Co-authored-by: Dan Laine <daniel.laine@avalabs.org> Co-authored-by: Stephen <stephen@avalabs.org>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we will need a corresponding docs PR to remove the deprecated configs
@@ -1509,12 +1485,3 @@ func providedFlags(v *viper.Viper) map[string]interface{} { | |||
} | |||
return customSettings | |||
} | |||
|
|||
// getRenamedKey returns the new key if it is set, otherwise it returns the deprecated key. | |||
func getRenamedKey(v *viper.Viper, deprecatedKey string, newKey string) string { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This might be still useful to keep around if we deprecate keys in the future
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think it would fail linting as dead code
@@ -14,7 +14,7 @@ AVALANCHE_PATH=$( | |||
# https://github.com/ava-labs/avalanche-network-runner | |||
GOARCH=$(go env GOARCH) | |||
GOOS=$(go env GOOS) | |||
NETWORK_RUNNER_VERSION=1.3.9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this in the diff?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The older ANR versions used the deprecated genesis
key.
Why this should be merged
Removes deprecated flags, which were deprecated for ~2 months
How this works
Removes deprecated flags from keys and configs.
How this was documented
ava-labs/builders-hub#1450