Coder Social home page Coder Social logo

darkforest-local's People

Contributors

cha0sg0d avatar ichub avatar jacobrosenthal avatar phated avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

darkforest-local's Issues

Failed init proof check

I successfully can run a game locally.

However, in production I can create a lobby, but I always get Failed init proof check when finding a home planet.

Here is my deployed site

And, here is an example of a transaction that failed .

I did recompile the circuits like the documents recommended. However, I am a little confused on how my frontend even knows what smart contracts to use. I deployed the smart contracts, but how does the client know to use those smart contracts versus smart contracts other's deployed?

Screenshot of issue:
Screenshot 2024-03-26 at 12 31 54 AM

deploy contracts fail because of gas fee

When I want to deploy one test round on xdai for me,
I use yarn workspace eth hardhat:prod deploy to deploy contracts but fail.
Then i set the gas Price in eth/hardhat.config.ts and deploy contracts successfully.

// The xdai config, but it isn't added to networks unless we have a DEPLOYER_MNEMONIC
const xdai = {
  // Using our archive node for admin task running
  url: 'https://rpc-df.xdaichain.com/',
  accounts: {
    mnemonic: DEPLOYER_MNEMONIC,
  },
  chainId: 100,
 gasPrice: 5000000000,
};

Investigate patch-package instead of forking submodules

Using patch-package, we might be able to implement a smoother workflow for adjusting packages/client/eth without requiring a full-fork of every submodule.

This is the same technique that MarrowDAO used for their round, except they only forked the client and generated the patch against node_modules directly. Since patch-package is supposed to be aware of workspaces, it might be a good development experience in this project (e.g. you could edit the typescript files and then regenerate the JS afterwards).

Error connecting to blockchain

I see an "error connecting to blockchain" alert when I try to access my website that is hosting DF
This is the reason given in logs:
{
"reason": "could not detect network",
"code": "NETWORK_ERROR",
"event": "noNetwork"
}
please advise, I am running in gitpod.io

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.