Skip to content
This repository was archived by the owner on Jul 10, 2025. It is now read-only.

Commit 82da491

Browse files
authored
chore: Renaming things (#316)
* Renaming * Fix * Fix * Fix * Use main
1 parent c991f09 commit 82da491

File tree

5 files changed

+57
-65
lines changed

5 files changed

+57
-65
lines changed

.github/e2e/docker-compose.yml

Lines changed: 40 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
networks:
2-
fluence:
2+
nox:
33
driver: bridge
44
ipam:
55
config:
@@ -11,7 +11,7 @@ services:
1111
ports:
1212
- 8545:8545
1313
networks:
14-
fluence:
14+
nox:
1515

1616
ipfs:
1717
image: ipfs/go-ipfs
@@ -23,11 +23,11 @@ services:
2323
volumes:
2424
- ./ipfs/:/container-init.d/
2525
networks:
26-
fluence:
26+
nox:
2727
ipv4_address: 10.50.10.100
2828

29-
fluence-1:
30-
image: ${RUST_PEER_IMAGE}
29+
nox-1:
30+
image: ${NOX_IMAGE}
3131
ports:
3232
- 7771:7771
3333
- 9991:9991
@@ -44,21 +44,21 @@ services:
4444
- -w=9991
4545
- -x=10.50.10.10
4646
- --external-maddrs
47-
- /dns4/fluence-1/tcp/7771
48-
- /dns4/fluence-1/tcp/9991/ws
47+
- /dns4/nox-1/tcp/7771
48+
- /dns4/nox-1/tcp/9991/ws
4949
- --allow-private-ips
5050
- --local
51-
# - --bootstraps=/dns/fluence-1/tcp/7771
51+
# - --bootstraps=/dns/nox-1/tcp/7771
5252
# 12D3KooWBM3SdXWqGaawQDGQ6JprtwswEg3FWGvGhmgmMez1vRbR
5353
- -k=hK62afickoeP2uZbmSkAYXxxqP8ozq16VRN7qfTP719EHC5V5tjrtW57BSjUr8GvsEXmJRbtejUWyPZ2rZMyQdq
5454
depends_on:
5555
- ipfs
5656
networks:
57-
fluence:
57+
nox:
5858
ipv4_address: 10.50.10.10
5959

60-
fluence-2:
61-
image: ${RUST_PEER_IMAGE}
60+
nox-2:
61+
image: ${NOX_IMAGE}
6262
ports:
6363
- 7772:7772
6464
- 9992:9992
@@ -75,20 +75,20 @@ services:
7575
- -w=9992
7676
- -x=10.50.10.20
7777
- --external-maddrs
78-
- /dns4/fluence-2/tcp/7772
79-
- /dns4/fluence-2/tcp/9992/ws
78+
- /dns4/nox-2/tcp/7772
79+
- /dns4/nox-2/tcp/9992/ws
8080
- --allow-private-ips
81-
- --bootstraps=/dns/fluence-1/tcp/7771
81+
- --bootstraps=/dns/nox-1/tcp/7771
8282
# 12D3KooWQdpukY3p2DhDfUfDgphAqsGu5ZUrmQ4mcHSGrRag6gQK
8383
- -k=2WijTVdhVRzyZamWjqPx4V4iNMrajegNMwNa2PmvPSZV6RRpo5M2fsPWdQr22HVRubuJhhSw8BrWiGt6FPhFAuXy
8484
depends_on:
8585
- ipfs
8686
networks:
87-
fluence:
87+
nox:
8888
ipv4_address: 10.50.10.20
8989

90-
fluence-3:
91-
image: ${RUST_PEER_IMAGE}
90+
nox-3:
91+
image: ${NOX_IMAGE}
9292
ports:
9393
- 7773:7773
9494
- 9993:9993
@@ -105,20 +105,20 @@ services:
105105
- -w=9993
106106
- -x=10.50.10.30
107107
- --external-maddrs
108-
- /dns4/fluence-3/tcp/7773
109-
- /dns4/fluence-3/tcp/9993/ws
108+
- /dns4/nox-3/tcp/7773
109+
- /dns4/nox-3/tcp/9993/ws
110110
- --allow-private-ips
111-
- --bootstraps=/dns/fluence-1/tcp/7771
111+
- --bootstraps=/dns/nox-1/tcp/7771
112112
# 12D3KooWRT8V5awYdEZm6aAV9HWweCEbhWd7df4wehqHZXAB7yMZ
113113
- -k=2n2wBVanBeu2GWtvKBdrYK9DJAocgG3PrTUXMharq6TTfxqTL4sLdXL9BF23n6rsnkAY5pR9vBtx2uWYDQAiZdrX
114114
depends_on:
115115
- ipfs
116116
networks:
117-
fluence:
117+
nox:
118118
ipv4_address: 10.50.10.30
119119

120-
fluence-4:
121-
image: ${RUST_PEER_IMAGE}
120+
nox-4:
121+
image: ${NOX_IMAGE}
122122
ports:
123123
- 7774:7774
124124
- 9994:9994
@@ -135,20 +135,20 @@ services:
135135
- -w=9994
136136
- -x=10.50.10.40
137137
- --external-maddrs
138-
- /dns4/fluence-4/tcp/7774
139-
- /dns4/fluence-4/tcp/9994/ws
138+
- /dns4/nox-4/tcp/7774
139+
- /dns4/nox-4/tcp/9994/ws
140140
- --allow-private-ips
141-
- --bootstraps=/dns/fluence-1/tcp/7771
141+
- --bootstraps=/dns/nox-1/tcp/7771
142142
# 12D3KooWBzLSu9RL7wLP6oUowzCbkCj2AGBSXkHSJKuq4wwTfwof
143143
- -k=4zp8ucAikkjB8CmkufYiFBW4QCDUCbQG7yMjviX7W8bMyN5rfChQ2Pi5QCWThrCTbAm9uq5nbFbxtFcNZq3De4dX
144144
depends_on:
145145
- ipfs
146146
networks:
147-
fluence:
147+
nox:
148148
ipv4_address: 10.50.10.40
149149

150-
fluence-5:
151-
image: ${RUST_PEER_IMAGE}
150+
nox-5:
151+
image: ${NOX_IMAGE}
152152
ports:
153153
- 7775:7775
154154
- 9995:9995
@@ -165,20 +165,20 @@ services:
165165
- -w=9995
166166
- -x=10.50.10.50
167167
- --external-maddrs
168-
- /dns4/fluence-5/tcp/7775
169-
- /dns4/fluence-5/tcp/9995/ws
168+
- /dns4/nox-5/tcp/7775
169+
- /dns4/nox-5/tcp/9995/ws
170170
- --allow-private-ips
171-
- --bootstraps=/dns/fluence-1/tcp/7771
171+
- --bootstraps=/dns/nox-1/tcp/7771
172172
# 12D3KooWBf6hFgrnXwHkBnwPGMysP3b1NJe5HGtAWPYfwmQ2MBiU
173173
- -k=3ry26rm5gkJXvdqRH4FoM3ezWq4xVVsBQF7wtKq4E4pbuaa6p1F84tNqifUS7DdfJL9hs2gcdW64Wc342vHZHMUp
174174
depends_on:
175175
- ipfs
176176
networks:
177-
fluence:
177+
nox:
178178
ipv4_address: 10.50.10.50
179179

180-
fluence-6:
181-
image: ${RUST_PEER_IMAGE}
180+
nox-6:
181+
image: ${NOX_IMAGE}
182182
ports:
183183
- 7776:7776
184184
- 9996:9996
@@ -193,16 +193,16 @@ services:
193193
- --aqua-pool-size=2
194194
- -t=7776
195195
- -w=9996
196-
- --bootstraps=/dns/fluence-1/tcp/7771
196+
- --bootstraps=/dns/nox-1/tcp/7771
197197
- -x=10.50.10.60
198198
- --external-maddrs
199-
- /dns4/fluence-6/tcp/7776
200-
- /dns4/fluence-6/tcp/9996/ws
199+
- /dns4/nox-6/tcp/7776
200+
- /dns4/nox-6/tcp/9996/ws
201201
- --allow-private-ips
202202
# 12D3KooWPisGn7JhooWhggndz25WM7vQ2JmA121EV8jUDQ5xMovJ
203203
- -k=5Qh8bB1sF28uLPwr3HTvEksCeC6mAWQvebCfcgv9y6j4qKwSzNKm2tzLUg4nACUEo2KZpBw11gNCnwaAdM7o1pEn
204204
depends_on:
205205
- ipfs
206206
networks:
207-
fluence:
208-
ipv4_address: 10.50.10.60
207+
nox:
208+
ipv4_address: 10.50.10.60

.github/workflows/e2e.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -36,20 +36,18 @@ jobs:
3636
with:
3737
ref: ${{ github.ref }}
3838

39-
aqua-playground:
39+
aqua:
4040
needs:
4141
- js-client
4242

43-
uses: fluencelabs/aqua-playground/.github/workflows/tests.yml@master
43+
uses: fluencelabs/aqua/.github/workflows/tests.yml@main
4444
with:
4545
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
46-
rust-peer-image: "fluencelabs/nox:unstable_minimal"
4746

4847
fluence-cli:
4948
needs:
5049
- js-client
5150

5251
uses: fluencelabs/fluence-cli/.github/workflows/tests.yml@main
5352
with:
54-
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"
55-
rust-peer-image: "fluencelabs/nox:unstable_minimal"
53+
js-client-snapshots: "${{ needs.js-client.outputs.js-client-snapshots }}"

.github/workflows/snapshot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
id-token: write
3838

3939
steps:
40-
- name: Checkout fluence-js
40+
- name: Checkout js-client
4141
uses: actions/checkout@v3
4242
with:
43-
repository: fluencelabs/fluence-js
43+
repository: fluencelabs/js-client
4444
ref: ${{ inputs.ref }}
4545

4646
- uses: pnpm/[email protected]
@@ -92,4 +92,4 @@ jobs:
9292
uses: fluencelabs/github-actions/pnpm-publish-snapshot@main
9393
with:
9494
id: ${{ steps.version.outputs.id }}
95-
set-version: false
95+
set-version: false

.github/workflows/tests.yml

Lines changed: 9 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@ name: Run tests with worflow_call
33
on:
44
workflow_call:
55
inputs:
6-
rust-peer-image:
7-
description: "rust-peer image tag"
6+
nox-image:
7+
description: "nox image tag"
88
type: string
9-
default: "fluencelabs/nox:unstable_ipfs"
9+
default: "fluencelabs/nox:unstable_minimal"
1010
avm-version:
1111
description: "@fluencelabs/avm version"
1212
type: string
@@ -21,13 +21,12 @@ on:
2121
default: "master"
2222

2323
env:
24-
RUST_PEER_IMAGE: "${{ inputs.rust-peer-image }}"
24+
NOX_IMAGE: "${{ inputs.nox-image }}"
2525
FORCE_COLOR: true
2626
CI: true
27-
# DEBUG: '*'
2827

2928
jobs:
30-
fluence-js:
29+
js-client:
3130
name: "Run tests"
3231
runs-on: ubuntu-latest
3332

@@ -62,20 +61,16 @@ jobs:
6261
username: ${{ env.DOCKER_USERNAME }}
6362
password: ${{ env.DOCKER_PASSWORD }}
6463

65-
- name: Setup tmate session
66-
if: failure()
67-
uses: mxschmitt/action-tmate@v3
68-
6964
- name: Checkout
7065
uses: actions/checkout@v3
7166
with:
7267
repository: fluencelabs/fluence-js
7368
ref: ${{ inputs.ref }}
7469

75-
- name: Pull rust-peer image
76-
run: docker pull $RUST_PEER_IMAGE
70+
- name: Pull nox image
71+
run: docker pull $NOX_IMAGE
7772

78-
- name: Run rust-peer
73+
- name: Run nox network
7974
uses: isbang/[email protected]
8075
with:
8176
compose-file: ".github/e2e/docker-compose.yml"
@@ -110,4 +105,4 @@ jobs:
110105

111106
- name: Dump rust-peer logs
112107
if: always()
113-
uses: jwalton/gh-docker-logs@v2
108+
uses: jwalton/gh-docker-logs@v2

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ If you are using TypeScript:
8282

8383
## Usage in an Application
8484

85-
Once you've added the client, you can compile [Aqua](https://github.com/fluencelabs/aqua) and run it in your application. To compile Aqua, use [Fluence CLI](https://github.com/fluencelabs/fluence-cli).
85+
Once you've added the client, you can compile [Aqua](https://github.com/fluencelabs/aqua) and run it in your application. To compile Aqua, use [flox](https://github.com/fluencelabs/flox).
8686

8787
1. Install the package:
8888

8989
```
90-
npm i -D "@fluencelabs/fluence-cli"
90+
npm i -D "@fluencelabs/flox"
9191
```
9292

9393
2. Add a directory in your project for Aqua code, e.g., `_aqua`.
@@ -210,4 +210,3 @@ Any interested person is welcome to contribute to the project. Please, make sure
210210
## License
211211

212212
All software code is copyright (c) Fluence Labs, Inc. under the [Apache-2.0](./LICENSE) license.
213-

0 commit comments

Comments
 (0)