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

use subxt-signer to reduce the number of deps #720

Merged
merged 5 commits into from
Dec 5, 2023
Merged

Conversation

niklasad1
Copy link
Member

@niklasad1 niklasad1 commented Nov 28, 2023

Close #718

This commit reduces the dependency tree ~50 crates by fixing that the repo doesn't bring in two versions of sp-core and sp-runtime.

The reason is that subxt has its own version of these crates when the substrate-compat feature flag is enabled and ideally we would remove both sp-core and sp-runtime completely but it doesn't work because pallet-epm depends on them.

Close #718

This commit reduces the dependency tree ~50 crates.
src/commands/dry_run.rs Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
Copy link

@lexnv lexnv left a comment

Choose a reason for hiding this comment

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

Looks clean! Always good to avoid extra-deps! 👍

@niklasad1 niklasad1 requested a review from gpestana November 30, 2023 09:51
@niklasad1 niklasad1 merged commit eb767d0 into main Dec 5, 2023
1 check passed
@niklasad1 niklasad1 deleted the na-subxt-signer branch December 5, 2023 08:26
niklasad1 added a commit that referenced this pull request Dec 21, 2023
niklasad1 added a commit that referenced this pull request Dec 21, 2023
* Revert "use `subxt-signer` to reduce the number of deps (#720)"

This reverts commit eb767d0.

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

Successfully merging this pull request may close these issues.

deps: remove subxt --feature substrate-compat to remove duplicated dependencies
2 participants