Skip to content

Missing chain ID when app makes an eth_sendTransaction request #983

Description

@r0ohafza

Check existing issues

Describe the bug

I am building my own dialog app using the Porto SDK for our wallet. I have the extension setup here using the porto SDK and I have a porto dialog running on our app.

When adding support for the eth_sendTransaction flow I expect the request._decoded param to contain the chain ID as seen here.

But instead what's happening is the chainId information is present for apps like app.uniswap.org but missing for apps like relay.link. I can confirm that relay works fine with the porto iFrame so this could be an issue with my current setup.

I am also not getting any chainId information during the initial connection as seen here.

Link to Minimal Reproducible Example

No response

Steps To Reproduce

No response

Porto Version

0.2.21

Viem Version

2.29.4

Wagmi Version

2.17.5

TypeScript Version

5.9.2

Anything else?

I've been talking to jxom who has been very helpful during this integration. Opening the issue so others have eyes on it as well.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions