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

fix: rename swarm key #4647

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

ersonp
Copy link

@ersonp ersonp commented Apr 17, 2024

Checklist

  • I have read the coding guide.
  • My change requires a documentation update, and I have done it.
  • I have added tests to cover my changes.
  • I have filled out the description and linked the related issues.

Description

In a new node wallet.key will be created instead of swarm.key. In an old node the swarm.key will be renamed to wallet.key on start. Due to this, downgrading the node won't be possible because of the name change.

Open API Spec Version Changes (if applicable)

Motivation and Context (Optional)

Related Issue (Optional)

fixes #4023

Screenshots (if appropriate):

ersonp added 3 commits April 17, 2024 15:01
BREAKING CHANGE: The key previously known as swarm.key is now named wallet.key. This change is necessary to improve the clarity of the key's purpose.
@ldeffenb
Copy link
Collaborator

Why? Since the swarm.key is also used to generate the swarm overlay? It's not just a "wallet" key IMHO.

@ersonp
Copy link
Author

ersonp commented Apr 18, 2024

Frankly, I am not qualified/experienced enough in bee to give a proper reason for the change. I am just looking around to contribute to this project and I found #4023 in the good first issues.

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

Successfully merging this pull request may close these issues.

rename swarm.key to wallet.key
2 participants