Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Fix vanity command by taking the network into account#7192

Merged
5 commits merged intomasterfrom
bkchr-fix-vanity
Sep 23, 2020
Merged

Fix vanity command by taking the network into account#7192
5 commits merged intomasterfrom
bkchr-fix-vanity

Conversation

@bkchr
Copy link
Member

@bkchr bkchr commented Sep 23, 2020

Fixes: #7177

@bkchr bkchr added A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders. labels Sep 23, 2020
@bkchr bkchr requested a review from kianenigma September 23, 2020 14:56
#[test]
fn test_generation_with_single_char() {
let seed = generate_key::<sr25519::Pair>("j").unwrap();
let seed = generate_key::<sr25519::Pair>("j", Default::default()).unwrap();
Copy link
Contributor

Choose a reason for hiding this comment

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

This test case should also be a bit more meaningful or removed? Default is basically Substrate and testing for just j to be there seems a bit flaky.

Copy link
Member Author

Choose a reason for hiding this comment

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

I also changed it to ab. In the end it isn't such a great test. But this test is random and we don't want to wait until the end of the universe for a result :D

bkchr and others added 2 commits September 23, 2020 17:12
Co-authored-by: Kian Paimani <5588131+kianenigma@users.noreply.github.com>
@bkchr
Copy link
Member Author

bkchr commented Sep 23, 2020

bot merge

@ghost
Copy link

ghost commented Sep 23, 2020

Waiting for commit status.

@ghost
Copy link

ghost commented Sep 23, 2020

Checks failed; merge aborted.

@bkchr
Copy link
Member Author

bkchr commented Sep 23, 2020

bot merge

@ghost
Copy link

ghost commented Sep 23, 2020

The PR is currently unmergeable.

@bkchr
Copy link
Member Author

bkchr commented Sep 23, 2020

bot merge

@ghost
Copy link

ghost commented Sep 23, 2020

Waiting for commit status.

@ghost ghost merged commit 5f75688 into master Sep 23, 2020
@ghost ghost deleted the bkchr-fix-vanity branch September 23, 2020 16:30
This pull request was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

A0-please_review Pull request needs code review. B0-silent Changes should not be mentioned in any release notes C1-low PR touches the given topic and has a low impact on builders.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

can't generate polkadot vanity address by subkey

2 participants