Skip to content

Duplicate requests during initialization #727

@blakezimmerman

Description

@blakezimmerman

During initialization, three duplicate requests are made to the full node. They stem from getSDKWallets which calls the constructors for AptosConnectGoogleWallet, AptosConnectAppleWallet, and AptosConnectGenericWallet. All three of these constructors reach out to the full node to fetch the chain ID. Ideally, the chain ID should be fetched once and passed to these constructors so that dapps don't have duplicate requests slowing down page load.

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