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

nearcore: deprecate network configurations’s external_address field #7300

Merged
merged 2 commits into from
Aug 1, 2022

Conversation

mina86
Copy link
Contributor

@mina86 mina86 commented Jul 30, 2022

The field has never been used. It’s only causes confusion as to its
purpose. Deprecate it.

Issue: #7198

@mina86 mina86 added P-low Priority: low S-automerge labels Jul 30, 2022
@mina86 mina86 requested a review from pompon0 July 30, 2022 15:31
@mina86 mina86 requested a review from a team as a code owner July 30, 2022 15:31
@mina86 mina86 requested a review from matklad July 30, 2022 15:31
The field has never been used.  It’s only causes confusion as to its
purpose.  Deprecate it.

Issue: near#7198
Copy link
Contributor

@pompon0 pompon0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: you might want to make it more uniform and generalize this a bit: have a constant set containing list of deprecated fields (annotated with scheduled deletion time) then extract these fields after serde_ignored::deserialize (to decrease the level of nesting, for readability).

@near-bulldozer near-bulldozer bot merged commit c08a08d into near:master Aug 1, 2022
@mina86 mina86 deleted the a branch August 1, 2022 14:52
@mina86
Copy link
Contributor Author

mina86 commented Aug 1, 2022

There is in fact #6436 which calls for generalisation of this code.

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

Successfully merging this pull request may close these issues.

3 participants