Skip to content

[Bug-003] - The Bridge does not request EVM chain change #62

@function0xMarki

Description

@function0xMarki

When the user accesses the Bridge, it is enough for the Wallet app to have any EVM chain selected, "Rollux, zkSYS, Polygon, BSC, Ethereum, etc", to allow it to continue.

When the Bridge requests the Wallet that it wants to connect to the Bridge, if the chain where the Wallet app is connected is EVM, it does not verify that it is in NEVM, and otherwise, it requests the change to the NEVM chain.

Here we see an example of how the Wallet app is connected to zkSYS Testnet, and yet, it shows the balance of that wallet in the zkSYS chain.

Image

Here we can see how despite requesting a change of wallet connection to the Bridge, it continues using the zkSYS testnet chain, without verifying that it is not connected to NEVM.

It has been verified that the console correctly shows the information that Pali Wallet provides about the identity of the chain to which it is connected. Example:

Console: Pali: Connected to chain with ID "0x89" -- to Polygon Console: Pali: Connected to chain with ID "0x1645" -- to Bitcoin + zkSYS
Console: Pali: Connected to chain with ID "0x39"-- to NEVM Console: Pali: Connected to chain with ID "0x23a" -- to Rollux

Therefore, the Bridge should check if the user is connected to "0x39" NEVM, and if not, request a swap chain.

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