Skip to content

[Bug] Missing derive for call enum #3857

Closed

Description

@Jinwei1987

Component

contract

What version of Alloy are you on?

1.8.3

Operating System

macOS (Apple Silicon)

Describe the bug

    alloy::sol!(
        #[sol(extra_derives(Debug, PartialEq, Eq, Hash, serde::Serialize, serde::Deserialize))]
        #[sol(extra_methods)]
        #[sol(abi)]
        #[sol(rpc)]
        QuoterV2,
        "abi/uniswap_v_3/quoter_v_2.json",
    );

for call enums, it does not derive any trait except Clone

Activity

  1. added
    bug
    on Mar 31, 2026
  2. kirsanium commented on Sep 5, 2026

    @kirsanium

    It's not reproducible. It was fixed I think in alloy-rs/core@6e77545 .

  3. moved this from Todo to Done in Alloyon Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    • Status
      Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions