Skip to content

[Bug] Missing derive all for events #1133

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(all_derives)]
        #[sol(extra_derives(serde::Serialize, serde::Deserialize))]
        #[sol(extra_methods)]
        #[sol(abi)]
        #[sol(rpc)]
        Pool,
        "abi/uniswap_v_3/pool.json",
    );

For pool events enum it can't derive std traits. The uniswap v3 pool has two different swap event, which could be the cause.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions