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

Refactor get_account_id_from_seed / get_from_seed to one common place #5804

Conversation

programskillforverification
Copy link
Contributor

@programskillforverification programskillforverification commented Sep 23, 2024

Closes #5705

Copy link
Contributor

@iulianbarbu iulianbarbu left a comment

Choose a reason for hiding this comment

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

There are usages of get_account_id_from_seed in templates/parachain/runtime/src/genesis_config_presets.rs, can you update this too?

Not sure what IDE you're using, but if it is using rust-analyzer it might see the errors there if you set WASM_BUILD_CARGO_ARGS="--message-format=json" in the environment before starting your IDE and waiting for a full build/indexing. Also, please mark this PR as ready for review as soon as you changed everything you wanted (merging it with latest master might be a good thing to do before then too).

Copy link
Contributor

@michalkucharczyk michalkucharczyk left a comment

Choose a reason for hiding this comment

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

Some final nits sorry.
Looks good. Thank you!

@michalkucharczyk
Copy link
Contributor

I'd wait for @davxy opinion as this PR touches sp-core/crypto.

Copy link
Member

@davxy davxy left a comment

Choose a reason for hiding this comment

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

Looks good. Thank you

Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
Co-authored-by: Michal Kucharczyk <1728078+michalkucharczyk@users.noreply.github.com>
@iulianbarbu iulianbarbu added this pull request to the merge queue Oct 17, 2024
@iulianbarbu iulianbarbu removed this pull request from the merge queue due to a manual request Oct 17, 2024
@iulianbarbu iulianbarbu added this pull request to the merge queue Oct 17, 2024
Merged via the queue into paritytech:master with commit a2c7575 Oct 17, 2024
194 checks passed
@bkchr
Copy link
Member

bkchr commented Oct 18, 2024

/tip small

Copy link

@bkchr A referendum for a small (20 DOT) tip was successfully submitted for @programskillforverification (12gcYUJzFF4x2kdBAZu5zbRd6o7HitBb3iRMuiVtemYuvBEt on polkadot).

Referendum number: 1244.
tip

Copy link

The referendum has appeared on Polkassembly.

@programskillforverification
Copy link
Contributor Author

/tip small

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T17-primitives Changes to primitives that are not covered by any other label.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor get_account_id_from_seed / get_from_seed to one common place
5 participants