Skip to content
This repository was archived by the owner on Feb 23, 2024. It is now read-only.

Update .sw files with latest vm operators#398

Draft
djma wants to merge 1 commit intoFuelLabs:masterfrom
djma:djma/395
Draft

Update .sw files with latest vm operators#398
djma wants to merge 1 commit intoFuelLabs:masterfrom
djma:djma/395

Conversation

@djma
Copy link

@djma djma commented Dec 19, 2022

I'm trying to get swayswap to run locally.

The first commit fixes the compiler errors in #395.

The vercel preview seems to run fine. But currently trying to figure out this node connection error in my local:

request to http://localhost:4000/graphql failed, reason: socket hang up

> swayswap@0.1.0 contracts:init-pool /Users/davidma/crypto/fuellabs/swayswap
> pnpm run --filter swayswap-app contracts:init --init-pool


> swayswap-app@0.1.0 contracts:init /Users/davidma/crypto/fuellabs/swayswap/packages/app
> pnpm exec ts-node ./scripts/contracts-init "--init-pool"

Initialize Token Contract
Token Contract already initialized
/Users/davidma/crypto/fuellabs/swayswap/node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491
			reject(new FetchError(`request to ${request.url} failed, reason: ${err.message}`, 'system', err));
          ^
FetchError: request to http://localhost:4000/graphql failed, reason: socket hang up
    at ClientRequest.<anonymous> (/Users/davidma/crypto/fuellabs/swayswap/node_modules/.pnpm/node-fetch@2.6.7/node_modules/node-fetch/lib/index.js:1491:11)
    at ClientRequest.emit (node:events:513:28)
    at ClientRequest.emit (node:domain:489:12)
    at Socket.socketOnEnd (node:_http_client:514:9)
    at Socket.emit (node:events:525:35)
    at Socket.emit (node:domain:489:12)
    at endReadableNT (node:internal/streams/readable:1359:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21) {
  type: 'system',
  errno: 'ECONNRESET',
  code: 'ECONNRESET'
}

@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants