Skip to content

sign_transaction ignores signer overrides #192

@bamorim

Description

@bamorim

Hey, thanks for building such a library for the Elixir ecossystem. Much appreciated.

I've been playing around with your library and realized that the sign_transaction was ignoring the signer opts I'd pass into it:

Ethers.send_transaction(create_safe_tx, from: my_wallet, to: config["SAFE_PROXY_FACTORY_ADDRESS"], signer: Ethers.Signer.Local, signer_opts: [private_key: private_key])

This was failing and I realized that it was because it was using the JsonRPC. Looking at the code, I believe we should pass overrides to the get_signer function instead of opts, but since I'm new to the codebase and I currently don't have time to clone and test the repository (might try to do that later), I'm just reporting as it is (sorry).

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