omgnetwork / optimism

Monorepo implementing the Optimistic Ethereum protocol
https://optimism.io
MIT License
16 stars 6 forks source link

Can't Switch Layer on Bobba Gateway #583

Open GenericProgramer opened 2 years ago

GenericProgramer commented 2 years ago

Browser: Brave Wallet: Metamask with Nano Ledger Hardware Wallet

Issue: Trying to switch layer results in nothing happening an error in dev console when trying to switch layer on the gateway.

inpage.js:1 MetaMask - RPC Error: The method 'wallet_switchEthereumChain' does not exist / is not available.

inpage.js:1 MetaMask - RPC Error: The method 'wallet_switchEthereumChain' does not exist / is not available. {code: -32601, message: "The method 'wallet_switchEthereumChain' does not exist / is not available.", data: {…}} main.879918c4.chunk.js:1 MetaMask - Switch Error: -32601

GenericProgramer commented 2 years ago

This works on chrome but not Brave. But now I can't approve transactions on MetaMask in chrome when trying to stake or bridge back to L1. Even though I have deposited ETH.

GenericProgramer commented 2 years ago

For anyone else having this issue you can have a workaround by adding the mainnet details in the wallet extension manually using the details from here https://docs.boba.network/developer-docs/006_parameters-mainnet then switching from the Eth main net to the Bobba main net in the wallet extension.

shopdropbeta commented 2 years ago

I am also having the same issue with tansfering from L1 to L2 to claim the airdrop. I am using XDEFI extension and cannot seem to add a mainnet to it like you can quite easily in Metamask so this isn't a workaround for me. Having said that, why can't I we transition easily between layers? It doesn't look like anyone is working on this issue since you posted it.