Repository navigation
chore(deps): update rust crate alloy to 0.15.0 - #24
renovate[bot] wants to merge 1 commit into
Conversation
1fdccbc to
9b1bfe8
Compare
54bd533 to
6821912
Compare
6821912 to
c00d0db
Compare
c00d0db to
1640536
Compare
1640536 to
f8ea1fd
Compare
darkmatteragent
left a comment
There was a problem hiding this comment.
The version constraint and lockfile satisfy the requested dependency update, but the upgrade is not ready to merge: it contradicts the consuming crate's documented Rust-version requirement and leaves its generated contract-call consumer incompatible. Traced Alloy usage through the workspace manifest, example library, binary, and documented commands; retained both compatibility findings. No build or test execution was available.
|
|
||
| [workspace.dependencies] | ||
| alloy = { version = "0.2.1", default-features = false, features = [ | ||
| alloy = { version = "0.15.0", default-features = false, features = [ |
There was a problem hiding this comment.
P1 correctness: Reconcile the upgrade with the consuming crate's Rust MSRV
The workspace still declares rust-version = "1.77.2", and crates/alloy-web3-example/Cargo.toml inherits that declaration while consuming alloy.workspace. The upstream v0.14.0 notes document an MSRV increase to 1.82, whereas this upgrade selects Alloy 0.15.11. This also inverts the explicit compatibility rationale in crates/alloy-web3-example/src/lib.rs:54–56: Alloy 0.2 was selected to preserve the workspace MSRV. The new dependency cannot build with the declared compiler. Retain a compatible release or explicitly migrate the compiler-support declarations and workflow along with this upgrade.
|
|
||
| [workspace.dependencies] | ||
| alloy = { version = "0.2.1", default-features = false, features = [ | ||
| alloy = { version = "0.15.0", default-features = false, features = [ |
There was a problem hiding this comment.
P1 correctness: Migrate the single-return contract-call consumer
The upgraded contract bindings unwrap single-return values, so the existing Counter.number().call().await in crates/alloy-web3-example/src/lib.rs:71–77 now yields U256 rather than the old generated return struct. The subsequent number._0 therefore fails to compile. The lockfile selects alloy-contract 0.15.11 and alloy-sol-macro/sol-types 1.7.3, making this affect the workspace build and the documented cargo test -p alloy-web3-example even when COUNTER_ADDRESS is unset: the optional runtime branch must still type-check. Update the consumer to use the returned number directly as part of the dependency migration.
f8ea1fd to
e685871
Compare
e685871 to
b93d942
Compare
darkmatteragent
left a comment
There was a problem hiding this comment.
The requested Alloy version range and 0.15.11 lockfile resolution are consistent, but the dependency-only migration leaves two compatibility defects. Current-head source confirms that the example inherits the unchanged Rust 1.77.2 declaration and still accesses the old single-return wrapper. These affect the existing example and workspace build/test workflow. Both candidate findings are retained; no additional independently supported defect was found. No compilation or test execution was available, and the minimum compiler required by the complete resolved graph was not established.
|
|
||
| [workspace.dependencies] | ||
| alloy = { version = "0.2.1", default-features = false, features = [ | ||
| alloy = { version = "0.15.0", default-features = false, features = [ |
There was a problem hiding this comment.
P1 correctness: Reconcile the Alloy upgrade with the declared Rust MSRV
The workspace still declares Rust 1.77.2, and crates/alloy-web3-example/Cargo.toml inherits both that compiler floor and this dependency. The supplied upstream v0.14.0 release notes explicitly raise Alloy's MSRV to 1.82, so selecting 0.15 breaks the advertised compiler-support contract. This also contradicts the explicit explanation in the example's src/lib.rs:54–56 that its Alloy version preserves the workspace MSRV. Preserve compatibility or deliberately update the inherited compiler declaration to a tested floor for the resolved graph; the full graph may require more than 1.82.
|
|
||
| [workspace.dependencies] | ||
| alloy = { version = "0.2.1", default-features = false, features = [ | ||
| alloy = { version = "0.15.0", default-features = false, features = [ |
There was a problem hiding this comment.
P1 correctness: Migrate the Counter call's single-return value consumer
The upgraded bindings return the single uint256 result directly as U256, while crates/alloy-web3-example/src/lib.rs:71–77 still awaits Counter.number().call() and then accesses number._0. That field belongs to the old generated return wrapper and does not exist on U256, so the example no longer type-checks with the selected alloy-contract 0.15.11 and alloy-sol-types 1.7.3. This breaks the workspace cargo check/test CI steps and the documented example test command even when COUNTER_ADDRESS is unset, since the Some branch must still compile. Migrate the consumer to use number directly as part of the dependency update.
Note
This PR body was truncated due to platform limits.
This PR contains the following updates:
0.2.1→0.15.0Warning
Some dependencies could not be looked up. Check the warning logs for more information.
Release Notes
alloy-rs/alloy (alloy)
v0.15.11Compare Source
Bug Fixes
Documentation
Features
fill_envelope(#2411)Miscellaneous Tasks
Other
Refactor
v0.15.10Compare Source
Bug Fixes
Documentation
Features
Miscellaneous Tasks
alloy-rpc-types-debugto check_no_std (#2401)Other
Styling
alloy-rpc-types-debugno_stdcompatible (#2400)v0.15.9Compare Source
Documentation
Features
Miscellaneous Tasks
v0.15.8Compare Source
Documentation
Features
Miscellaneous Tasks
Styling
Testing
v0.15.7Compare Source
Bug Fixes
Documentation
Features
secp256k1sender recovery (#2352)Miscellaneous Tasks
Other
for fortoforrequest.rs (#2347)v0.15.6Compare Source
Bug Fixes
Miscellaneous Tasks
v0.15.5Features
Miscellaneous Tasks
v0.15.3Compare Source
Features
Miscellaneous Tasks
v0.15.2Compare Source
Miscellaneous Tasks
v0.15.1Compare Source
Bug Fixes
Documentation
Features
fill_envelope(#2411)Miscellaneous Tasks
Other
Refactor
v0.15.0Compare Source
Bug Fixes
transport] Enable hyper-tls via hyper feature (#2320)Documentation
Features
multicall] AddCallItemto dynamic builder (#2307)ws] Retry mechanism in WsConnect (#2303)Miscellaneous Tasks
Other
Styling
provider] Renameon_*toconnect_*(#2225)v0.14.0Compare Source
Bug Fixes
BlobAndProofV2(#2283)BlobsBundleV2::take(#2281)Dependencies
Documentation
Features
provider] Nonce filler helpers (#2280)ExecutionPayloadEnvelopeV5(#2284)From<TxHash>forPendingTxConfig(#2282)AsRefandAsMutforTxEip4844(#2272)eth-wallet] Set default signer helper (#2271)consensus] WithEncoded helpers (#2266)Miscellaneous Tasks
ancestor_headerstoExecutionWitness(#2294)Styling
Testing
v0.13.0Compare Source
Bug Fixes
pubsub] Retry connecting to backend (#2254)pubsub] Fix race condition in ActiveSub (#2222)Dependencies
Documentation
Features
provider] Watch_full_blocks (#2194)signers]Web3Signer(#2238)provider] Subscribe_full_blocks (#2215)provider] Eth_signTransaction (#2236)provider] ApplyGetSubscriptionto trait (#2220)provider]DebugApigeneric overNetwork(#2211)Miscellaneous Tasks
provider] UseWeakClientinGetSubscription(#2219)Other
Styling
Testing
v0.12.6Compare Source
Bug Fixes
eip1559/constants.rs(#2190)Dependencies
Features
RequestsOrHash(#2216)node-bindings] Anvil typed hardforks (#2207)SerializeandDeserializeforRecovered<T>(#2204)FallbackLayertransport (#2135)ThrottleLayerto Transport layers (#2154)Miscellaneous Tasks
Other
Signed<T>(#2193)Styling
v0.12.5Compare Source
Bug Fixes
Features
contract] Build signed and usigned txs from CallBuilder (#2178)consensus]TxEnvelopegeneric overEip4844(#2169)types-beacon] DeriveTreeHashforBidTrace(#2175)Miscellaneous Tasks
v0.12.4Compare Source
Bug Fixes
OnceBox(#2165)Documentation
Miscellaneous Tasks
v0.12.3Compare Source
Features
Miscellaneous Tasks
v0.12.2Bug Fixes
Miscellaneous Tasks
v0.12.0Compare Source
Bug Fixes
provider] Custom deser for pending blocks (#2146)rpc-types] Allow missingeffectiveGasPricein TxReceipt (#2143)provider] Fill txs oneth_callops (#2092)Dependencies
Features
provider]decode_respforEthCall(#2157)OnceCellforSigned::hash(#2025)Recoveredinto more types (#2151)consensus] Impl RlpEncodableTx for TypedTx (#2150)provider] MockProvider (#2137)provider]EthGetBlockbuilder type (#2044)consensus] Separate RlpTx trait functionality (#2138)eth-call] Rm borrowing from provider api (#2127)provider] Trace api builder (#2119)IntoWalletto pass signer directly toProviderBuilder(#2120)rpc-types] Decode log from receipt (#2086)contract] Decode asSolError(#2072)CopyforRecovered(#2082)DynProviderdiscoverability (#2076)consensus] Introduce block traits (#2057)contract] Handle reverts (#2058)eip4844] Heap allocated blob (#2050)Miscellaneous Tasks
consensus] RenameRecoveredmethods (#2155)provider] Fixmockedret type (#2156)provider] Use quicknode (#2121)PayloadError(#2087)on_builtintoconnect(#2078)Other
rlpfeature tofullfeature (#2124)Styling
Testing
v0.11.1Compare Source
Bug Fixes
ChainLayernetwork agnostic (#2045)multicall] Impl Error forFailure+ clear returnsEmptybuilder. (#2043)Documentation
Features
provider] Multicall (#2010)AnvilInstancefromAnvilProvider(#2037)Signer+TxSigner) and (SignerSync+TxSignerSync) (#2035)ExecutionPayload(#2014)node-bindings] Expose anvil wallet (#1994)meta] Enable pubsub,trace,txpool,debug,anvil apis viafull(#1992)Miscellaneous Tasks
Ethereumnetwork inFillProvider(#1995)Other
Testing
v0.11.0Compare Source
Bug Fixes
contract] Rm IntoFuture for CallBuilder (#1945)node-bindings] Resetchild.stdoutinAnvilInstance(#1920)transport] UseHttpsConnectorinHyperTransport(#1899)Dependencies
Documentation
Features
provider]eth_callManybuilder (#1944)Receipts(#1930)BlobParamsandBlobScheduleItem(#1919)meta] Addessentialsto default features (#1904)provider] Instantiate recommended fillers by default (#1901)Miscellaneous Tasks
Typed2718toEncodable2718(#1913)BlockNumberOrTagto be case-insensitive (#1891)Other
Refactor
Styling
BlockOverridesinSimBundleOverrides(#1917)Testing
v0.9.2Compare Source
Bug Fixes
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.