urbit / bridge

An application for interacting with Azimuth.
MIT License
96 stars 25 forks source link

Unable to initialize network keys via WalletConnect #1027

Closed gonzalonunez closed 1 year ago

gonzalonunez commented 2 years ago

Describe the bug Hi – I'm new to Urbit so please forgive me in advance if some of the terminology I use is incorrect 😅

I'm unable to initialize my network keys via WalletConnect. Getting the following error:

invalid object key - maxFeePerGas (argument="transaction:maxFeePerGas", value={"to":"0x33eecbf908478c10614626a9d304bfe18b78dd73","value":"0x0","nonce":13,"data":"0x4447e48c000000000000000000000000000000000000000000000000000000004c64a9d21d9403662ccfdac0ab30844f4da7c333f931911d3d2b30d721930b2f928e74db5b1da1f8d4f0ec48a53e8e9ade279c241459084629e6b489ce840e7eadf5045c00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000","gasLimit":"0x186a0","maxFeePerGas":"0x060db88400","maxPriorityFeePerGas":"0x47868c00"}, code=INVALID_ARGUMENT, version=properties/5.6.0)

To Reproduce Steps to reproduce the behavior:

  1. Connect a wallet via Rainbow / WalletConnect
  2. Go to Initiate Network Keys
  3. Without checking any of the boxes, try approving the transaction via Rainbow
  4. See error

Expected behavior I expected the transaction to succeed and Bridge to give me my network keys.

Screenshots On Rainbow, the transaction shows 0 ETH –– something feels wrong there. Here's the console. For what it's worth, connecting my wallet via MetaMask did not work. I am using the Arc browser from https://thebrowser.company, it's a Chromium browser but maybe something is going on there as well.

Screen Shot 2022-06-11 at 1 36 09 PM

Desktop (please complete the following information):

Smartphone (please complete the following information):

Login method (please complete the following information): WalletConnect

AFDudley commented 2 years ago

I experienced the same issue with a different wallet. I was able to use the browser within that wallet to navigate to bridge.urbit.org and generate the network key. Trying to download the key crashed that android-based wallet, but I was able to login to the site on my desktop using wallet connect to download the keyfile. I hope someone finds this helpful.

tomholford commented 2 years ago

Thanks @gonzalonunez for raising this issue.

After some research, this appears to be due to the fact that Bridge does not officially support EIP1559 transactions.

Are you able to try the same flow with Metamask + Chrome?

tomholford commented 1 year ago

EIP 1559 support shipped in #1057

gonzalonunez commented 1 year ago

Thanks @tomholford! Sorry I never got back to you re: Metamask + Chrome. Excited to get on Urbit soon :)