fix: upgrade alloy to 1.8 and reqwest to 0.13 to fix compilation#45
Merged
fix: upgrade alloy to 1.8 and reqwest to 0.13 to fix compilation#45
Conversation
alloy =1.0 resolved to 1.0.42 which pulled mismatched sub-crate versions: alloy-provider 1.6.3 (reqwest 0.12) alongside alloy-rpc-client 1.8.2 (reqwest 0.13). This caused a type mismatch error in alloy-provider's http_with_client() call. Changes: - Upgrade alloy from =1.0 to 1.8 (resolves to 1.8.2 with consistent sub-crate versions) - Upgrade reqwest from 0.12 to 0.13 - Remove deprecated feature flags: rpc-types-json, json-rpc, hyper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
alloy =1.0resolved to1.0.42which internally pulled mismatched sub-crate versions:alloy-provider1.6.3 → depends onreqwest0.12alloy-rpc-client1.8.2 → depends onreqwest0.13Two different versions of
reqwest::Clientcoexisted, causing a type mismatch error inalloy-provider'shttp_with_client()call:This broke gravity-sdk CI: https://github.com/Galxe/gravity-sdk/actions/runs/23585608675/job/68677899532
Fix
alloyfrom=1.0to1.8(resolves to 1.8.2 with all consistent sub-crates)reqwestfrom0.12to0.13rpc-types-json,json-rpc,hyperCargo.lockfor reproducible builds