fix: update default ports generated by CLI (#462)

* fix: update default ports generated by CLI

* fix
This commit is contained in:
shamsartem 2024-09-23 18:08:31 +02:00 committed by GitHub
parent e43e217434
commit e712d88019
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
6 changed files with 8 additions and 40 deletions

View File

@ -1,9 +0,0 @@
# yaml-language-server: $schema=schemas/env.json
# Defines user project preferences
# Documentation: https://github.com/fluencelabs/cli/tree/main/docs/configs/env.md
version: 0
fluenceEnv: local

View File

@ -1,28 +0,0 @@
{
"$id": "https://fluence.dev/schemas/env.yaml",
"title": "env.yaml",
"type": "object",
"description": "Defines user project preferences",
"properties": {
"fluenceEnv": {
"title": "Fluence environment",
"description": "Fluence environment to connect to",
"type": "string",
"enum": [
"dar",
"stage",
"local",
"custom"
],
"nullable": true
},
"version": {
"type": "integer",
"const": 0
}
},
"required": [
"version"
],
"additionalProperties": false
}

5
.gitignore vendored
View File

@ -9,3 +9,8 @@ node_modules/
dist/
public/
.DS_Store
.fluence/
# so we have stable peer ids for tests
!.fluence/provider-secrets.yaml
provider.yaml

View File

@ -26,7 +26,7 @@ import { wasm } from "./wasmb64.js";
const relay = {
multiaddr:
"/ip4/127.0.0.1/tcp/9991/ws/p2p/12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
"/ip4/127.0.0.1/tcp/999/ws/p2p/12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
peerId: "12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
};

View File

@ -2,7 +2,7 @@ import { Fluence, callAquaFunction } from "./js-client.min.js";
const relay = {
multiaddr:
"/ip4/127.0.0.1/tcp/9991/ws/p2p/12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
"/ip4/127.0.0.1/tcp/999/ws/p2p/12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
peerId: "12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
};

View File

@ -17,7 +17,7 @@
export const nodes = [
{
multiaddr:
"/ip4/127.0.0.1/tcp/9991/ws/p2p/12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
"/ip4/127.0.0.1/tcp/999/ws/p2p/12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
peerId: "12D3KooWBbMuqJJZT7FTFN4fWg3k3ipUKx6KEy7pDy8mdorK5g5o",
},
] as const;