Git Product home page Git Product logo

Comments (4)

briandoyle81CB avatar briandoyle81CB commented on August 20, 2024

The relevant code is here: https://github.com/briandoyle81CB/dao-gate/blob/main/src/app/page.tsx

from wagmi.

tmm avatar tmm commented on August 20, 2024

Spent some time trying to reproduce and wasn't able to unfortunately (sounds like there might be a race condition from what you described). Happy to look into this further if there's some way to consistently reproduce. Also, curious about the following.

  • What browsers and/or operating systems have this issue?
  • What address(es) does this issue happen with?
  • Does this happen when you use Viem directly?
  • Are you using a high-availability RPC service? (e.g. Alchemy, Infura, QuickNode)

from wagmi.

briandoyle81CB avatar briandoyle81CB commented on August 20, 2024

Thanks for looking! I'm hopeful that this is a random edge case, but worried about it being too common - seen in about half of the 8-12 browser/machine combos we've tested, with > half machines showing the fail state on at least one browser.

But this is using the way I'm teaching how to use useReadContract (https://docs.base.org/base-camp/docs/reading-and-displaying-data/configuring-useReadContract) and we haven't seen or heard something like this reported before, or experienced it ourselves.

Do you see anything less than optimal in the implementation?: https://github.com/briandoyle81CB/dao-gate/blob/main/src/app/page.tsx

  • Only tested on Sonoma, but with Firefox, Chrome, Brave, and Safari with no patterns emerging
  • Tested with the current address0x038ee341181e1090159eab1f4ba2c28f4b50330d and 0x354ef633fb3ba2c427f18fc39fcf96a31d0fd577, with no patterns on fail or success with either contract
  • I haven't tried using viem directly, but I'll do that either tonight or tomorrow
  • No change in fail or success state from changing the RPC service, and fail or success states are always consistent

from wagmi.

github-actions avatar github-actions commented on August 20, 2024

This issue has been locked since it has been closed for more than 14 days.

If you found a concrete bug or regression related to it, please open a new bug report with a reproduction against the latest Wagmi version. If you have any questions or comments you can create a new discussion thread.

from wagmi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.