GithubHelp home page GithubHelp logo

Comments (5)

shawnwang0715 avatar shawnwang0715 commented on July 27, 2024

OK, I figured out why.

There's nothing wrong with the code, but my configurations.
Heres's some tips for any other people who have similar issues:

  1. Try to set a valid BLOCK_EXPLORER. Although it's optional, somehow leave it as a blank value may make you get stuck when adding a new network.
  2. Check the RPC_URL and CHAIN_ID are accessible in your docker container. You may have a different network environment between the host and the docker container.
  3. Always use a lower case NETWORK_NAME!!! This is very important, I got stuck for over two weeks because I set the NETWORK_NAME with both uppercase and lower case. This would make synpress can't find the network name.

from synpress.

drptbl avatar drptbl commented on July 27, 2024

Hey @shawnwang0715, thank you very much for this information ❤️. I will make sure to fix these two issues from points 1 and 3.

For point 2, this is not an issue. Synpress uses kovan by default, so if you don't pass these env vars to docker image, it will obviously use default network which is kovan.

I will make sure to fix this in upcoming synpress release (ETA next week).

btw. sorry for not looking in to it earlier. I'm currently a little bit busy with other stuff.

Cheers,
Jakub.

from synpress.

shawnwang0715 avatar shawnwang0715 commented on July 27, 2024

Hey @drptbl, I'm not sure whether this is an issue, but when I tried to enter the wrong values (for example, a RPC_URL without http:// or https:// prefix) to a custom network, synpress can still continue the process (click save button, although it's not clickable in GUI) without any warning or error messages.
And then, synpress tries to wait for the custom network to appear in the drop-down menu, which is not possible (because the custom network can't be added successfully); that's why I thought I got stuck.

Maybe displaying error messages in the console would help other devs when they using docker. How do you think?

Regards,

from synpress.

drptbl avatar drptbl commented on July 27, 2024

@shawnwang0715 Yeah, for sure. Synpress error handling has to be improved and be more descriptive to avoid long debugging process.

from synpress.

drptbl avatar drptbl commented on July 27, 2024

Hey @shawnwang0715, I've addressed all issues you've described above. Sorry for delay!

You can check it out using @synthetixio/[email protected].

Thanks for awesome feedback 🙏.

All Best,
Jakub.

from synpress.

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.