Skip to content

bug: the app does not allow reloading the page on localhost #128

@portdeveloper

Description

@portdeveloper

Is there an existing issue for this?

Current Behavior

I was playing around with a local contract and here is what happens when you load a contract and then refresh the page:

chrome_yF5eNnN6Nv.mp4

Expected Behavior

It should ask for an abi again or better, it should save the abi to localStorage when the user submits it for the first time and load it when the page is refreshed.

Steps To Reproduce

  1. go to abi.ninja
  2. select localhost
  3. enter a contract address you deployed on your local node
  4. enter its abi
  5. wait for it to load
  6. refresh the page

Anything else?

This problem was partially fixed in #120. However, with wagmi v2, the PR will get closed and we need another solution to this.

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