diff --git a/.fluence/env.yaml b/.fluence/env.yaml deleted file mode 100644 index cacea2c5..00000000 --- a/.fluence/env.yaml +++ /dev/null @@ -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 diff --git a/.fluence/schemas/env.json b/.fluence/schemas/env.json deleted file mode 100644 index 9c03303a..00000000 --- a/.fluence/schemas/env.json +++ /dev/null @@ -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 -} diff --git a/.gitignore b/.gitignore index 05062ccd..76227199 100644 --- a/.gitignore +++ b/.gitignore @@ -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 diff --git a/packages/@tests/aqua/src/index.ts b/packages/@tests/aqua/src/index.ts index e03b2ecb..bcce4fb4 100644 --- a/packages/@tests/aqua/src/index.ts +++ b/packages/@tests/aqua/src/index.ts @@ -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", }; diff --git a/packages/@tests/smoke/web/public/index.js b/packages/@tests/smoke/web/public/index.js index eaf67c5d..4894e530 100644 --- a/packages/@tests/smoke/web/public/index.js +++ b/packages/@tests/smoke/web/public/index.js @@ -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", }; diff --git a/packages/core/js-client/src/clientPeer/__test__/connection.ts b/packages/core/js-client/src/clientPeer/__test__/connection.ts index b09178c7..2d69351c 100644 --- a/packages/core/js-client/src/clientPeer/__test__/connection.ts +++ b/packages/core/js-client/src/clientPeer/__test__/connection.ts @@ -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;