Skip to content

toSimple7702Account works with EntryPoint v0.8 only #4166

@drortirosh

Description

@drortirosh

Check existing issues

Viem Version

2.42.1

Current Behavior

the toSimple7702Account function assumes a v0.8 entryPoint, and always use the delegate at 0xe6Cae83BdE06E4c305530e199D7217f42808555B

Instead, it should accept (at least as optional) an entryPoint address, and use the correct delegate

For EntryPoint v0.9, it is 0xa46cc63eBF4Bd77888AA327837d20b23A63a56B5

Expected Behavior

No response

Steps To Reproduce

No response

Link to Minimal Reproducible Example

No response

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions