Skip to content

Can't accept HON tokens in module 2 #685

@aspiers

Description

@aspiers

Describe the bug

I can't accept HON tokens in https://read.kernel.community/en/learn/module-2/money-speech

To Reproduce

Steps to reproduce the behavior:

  1. Go to https://read.kernel.community/en/learn/module-2/money-speech

  2. Click "Connect"

  3. Connect wallet (Metamask in my case)

  4. Click "Get some!"

  5. Click on "Ask"

  6. Click on "Honour"

  7. Observe spinner spinning endlessly (see screenshot)

  8. Observe constant walletconnect errors on the dev console throughout the above steps, e.g.:

     WebSocket connection to 'wss://t.bridge.walletconnect.org/?env=browser&host=read.kernel.community&protocol=wc&version=1' failed:
    

Expected behavior

Presumably receive some HON tokens

Diagnosis

This is extremely likely due to WalletConnect v1 infrastructure being shut down quite some time ago and the relevant libraries in this codebase (wagmi and various WalletConnect modules) not being updated to use v2. The various bridge.walletconnect.org subdomains don't even exist in DNS any more, so there's absolutely no way this can work as it currently stands.

Suggested fix

Other people (including myself) have come across the same issue in the past, e.g. see this StackOverflow comment. It should be pretty easy to upgrade wagmi and dependencies to solve this.

Screenshots

Image

Desktop (please complete the following information):

  • OS: openSUSE Tumbleweed
  • Browser: Chrome
  • Version: 133

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions