vegaprotocol / vegawallet-desktop

Desktop application for Vega Protocol's wallet
MIT License
15 stars 12 forks source link

Cannot import network using .toml file #561

Closed radoslaw-szpiech closed 1 year ago

radoslaw-szpiech commented 1 year ago

Description

Network cannot be imported by file. There was a change in admin.import_network, and it looks like this right now:

{
    "id": 1,
    "jsonrpc": "2.0",
    "method": "admin.import_network",
    "params": {
        "name": "local-network",
        "url": "file:///Users/username/local-network.toml"
    }
}

Mayb it was missed in UI side.

When finished, please "unskip" test in import-network.cy.ts.

Screens: Screenshot 2023-03-21 at 17 58 55 Screenshot 2023-03-21 at 17 58 48