Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update cli files, network to kras, relay to kras, deploy new deal #142

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions .fluence/aqua/deals.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ data Deals:
func get() -> Deals:
<- Deals(
defaultWorker=?[Deal(
definition="bafkreifncwgw7vgktf7j7qectsinrkhbhxjwfdvemmrshdsgi2ydelpvs4",
timestamp="2023-09-27T12:11:50.777Z",
dealIdOriginal="0x8d9C53312f0A4ad1Ba280ac197D371a33627E3bE",
dealId="8d9c53312f0a4ad1ba280ac197d371a33627e3be",
chainNetwork="testnet",
definition="bafkreihqcu7uilen6fu4a7sprhyhtk2xvd3z6lxicqric7iscorwlz7nce",
timestamp="2023-12-05T00:36:14.752Z",
dealIdOriginal="0xC175aE3B7A475076495b2FEEeb06B5150Af727EA",
dealId="c175ae3b7a475076495b2feeeb06b5150af727ea",
chainNetwork="kras",
chainNetworkId=80001
)]
)
21 changes: 2 additions & 19 deletions .fluence/aqua/hosts.aqua
Original file line number Diff line number Diff line change
@@ -1,21 +1,4 @@
aqua Hosts declares *

data SpellLocation:
hostId: string
spellId: string
workerId: string

data Host:
definition: string
installationSpells: []SpellLocation
relayId: string
timestamp: string
dummyDealId: string

data Hosts:
defaultWorker: ?Host

func get() -> Hosts:
<- Hosts(
defaultWorker=nil
)
func get() -> ?u8:
<- nil
12 changes: 6 additions & 6 deletions .fluence/workers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ version: 0

deals:
defaultWorker:
definition: "bafkreifncwgw7vgktf7j7qectsinrkhbhxjwfdvemmrshdsgi2ydelpvs4"
timestamp: "2023-09-27T12:11:50.777Z"
dealIdOriginal: "0x8d9C53312f0A4ad1Ba280ac197D371a33627E3bE"
dealId: "8d9c53312f0a4ad1ba280ac197d371a33627e3be"
chainNetwork: "testnet"
chainNetworkId: 8000
definition: bafkreihqcu7uilen6fu4a7sprhyhtk2xvd3z6lxicqric7iscorwlz7nce
timestamp: 2023-12-05T00:36:14.752Z
dealIdOriginal: "0xC175aE3B7A475076495b2FEEeb06B5150Af727EA"
dealId: c175ae3b7a475076495b2feeeb06b5150af727ea
chainNetwork: kras
chainNetworkId: 80001
10 changes: 3 additions & 7 deletions fluence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,16 @@

# Documentation: https://github.com/fluencelabs/fluence-cli/tree/main/docs/configs/fluence.md

version: 4
version: 5

aquaInputPath: src/aqua/main.aqua

workers:
defaultWorker:
services: [ eth_rpc ]

deals:
defaultWorker:
minWorkers: 3
targetWorkers: 3

relays: stage
services: [ eth_rpc ]
spells: []

services:
eth_rpc:
Expand Down
6 changes: 2 additions & 4 deletions gateway/configs/quickstart_config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
{
"providers": [
"<replace with your url_1/api-key>",
"<replace with your url_2/api-key>",
"<replace with your url_3/api-key>"
<your endpoint urls>,
],
"mode": "round-robin",
"relay": "/dns4/0-stage.fluence.dev/tcp/9000/wss/p2p/12D3KooWDcpWuyrMTDinqNgmXAuRdfd2mTdY9VoXZSAet2pDzh6r",
"relay": "/dns4/4-kras.fluence.dev/tcp/9000/wss/p2p/12D3KooWJd3HaMJ1rpLY1kQvcjRPEvnDwcXrH8mJvk7ypcZXqXGE",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You think fRPC should work with kras and not stage?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep. it's the default entry for all users.

"port": 3000,
"counterServiceId": null,
"counterPeerId": null,
Expand Down
Loading