bug(forge bind
): generated contract bindings are incompatible with alloy-rs 0.14.0
#10321
Labels
forge bind
): generated contract bindings are incompatible with alloy-rs 0.14.0
#10321
Component
Forge
Have you ensured that all of these are up to date?
What version of Foundry are you on?
forge Version: 1.1.0-nightly Commit SHA: f0e24fb Build Timestamp: 2025-04-15T06:04:06.457241000Z (1744697046)
What version of Foundryup are you on?
foundryup: 1.0.1
What command(s) is the bug in?
forge bind
Operating System
macOS (Apple Silicon)
Describe the bug
When running
forge bind
againstalloy
v0.14.0, the generated Rust code no longer compiles because theforge bind
template still assumes pre‑0.14 interfaces inalloy-contract
andalloy-sol-types
.The following errors pop up when using
alloy
crate of v0.14.0 with "transports" feature enabled:abi_decode_returns
lost itsvalidate: bool
parameterdecode_raw_log dropped
itsvalidate: bool
parameter as wellSolCallBuilder
type alias lost a generic parameterFor the
validate
param, the change log ofalloy-sol-macro-expander
(part ofalloy-core
) indicates that it has been removed in version "1.0.0" (released after version "0.8.24"), while the version used infoundry
stays at "0.8.22"The text was updated successfully, but these errors were encountered: