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

chore: cleanup dependencies #507

Merged
merged 1 commit into from
Feb 7, 2024

Conversation

gregdhill
Copy link
Member

@gregdhill gregdhill commented Jul 28, 2023

Removes all patches and instead uses subxt versioning, the parachain dependencies have been feature-gated to not pull in additional Substrate dependencies. In the future we should rely on the metadata where possible and only substitute basic types (or those we control such as CurrencyId) - for example I removed the manual RichDispatchError decoding. Also made some superfluous cleanups to make the runtime crate look nicer.

Note that Cargo.lock actually got bigger because we're pulling in the weak dependency (sp-runtime) from interbtc-primitives (due to rust-lang/cargo#10801) but AFAIK these packages aren't compiled.

@gregdhill gregdhill force-pushed the chore/cleanup-deps branch 2 times, most recently from cb83d5a to 0299337 Compare July 28, 2023 11:27
Signed-off-by: Gregory Hill <gregorydhill@outlook.com>
@gregdhill gregdhill merged commit be2e70c into interlay:master Feb 7, 2024
6 checks passed
@gregdhill gregdhill deleted the chore/cleanup-deps branch February 7, 2024 15:54
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.

1 participant