-
Notifications
You must be signed in to change notification settings - Fork 990
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
Rename Floonet to Testnet #3431
Rename Floonet to Testnet #3431
Conversation
This works as is |
Awesome! |
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.
Couple of minor comments. Couple of files should be renamed.
I want to spend a bit of time today testing this locally to make sure we generate fresh config and read existing config correctly etc.
@@ -45,8 +45,8 @@ impl ExtKeychain { | |||
} | |||
|
|||
impl Keychain for ExtKeychain { | |||
fn from_seed(seed: &[u8], is_floo: bool) -> Result<ExtKeychain, Error> { | |||
let mut h = BIP32GrinHasher::new(is_floo); | |||
fn from_seed(seed: &[u8], is_test: bool) -> Result<ExtKeychain, Error> { |
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 have a WIP PR somewhere that attempts to cleanup passing around is_floo
(now is_test
). I'll see if I can resurrect it. I think we want to explicitly pass a "chain type" around rather than a simple bool like this.
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.
Sure, I leave it like that for now.
Thanks for the review. Addressed the file renaming issue.
Do you think it is worth it to write the migration code for it? Considering it's floonnet/testnet? |
No I think its fine if we just need to recreate config etc. I just want to make sure there are no surprises in there. |
Regenerated |
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.
👍
Okay LGTM |
Fixes #3429.
This should also be compatible with grin-wallet too.