Skip to content

[Bug] Missing derive all for events #3856

@Jinwei1987

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
    No fields configured for issues without a type.

    Projects

    Status
    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions