Skip to content

Commit

Permalink
fix: deploy deal to testnet
Browse files Browse the repository at this point in the history
  • Loading branch information
dbcfd committed Feb 28, 2024
1 parent 299eab0 commit 0db6d25
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 19 deletions.
9 changes: 8 additions & 1 deletion .fluence/aqua/deals.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,12 @@ data Deals:

func get() -> Deals:
<- Deals(
myDeployment=nil
myDeployment=?[Deal(
definition="bafkreidedj24jxxnv5uk6u55in47ak67auuagovvg4qjtw2gkbighmzis4",
timestamp="2024-02-27T21:42:36.498Z",
dealIdOriginal="0x03689412E0d2B7C206872fc907f6BffC07f5849d",
dealId="03689412e0d2b7c206872fc907f6bffc07f5849d",
chainNetwork="dar",
chainNetworkId=3525067388221321
)]
)
7 changes: 0 additions & 7 deletions .fluence/workers.yaml

This file was deleted.

6 changes: 5 additions & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ members = [
anyhow = "1.0.80"
async-trait = "0.1.77"
base64 = "0.21.7"
clap = { version = "=4.4.18", default-features = false, features = ["derive", "std"] }
curve25519-dalek = "=4.1.1"
hmac = "0.12.1"
jwt = "0.16.0"
Expand All @@ -25,6 +24,11 @@ members = [
tracing-appender = "0.2.3"
url = "2.5.0"

[workspace.dependencies.clap]
version = "=4.4.18"
default-features = false
features = [ "derive", "std" ]

[workspace.dependencies.chrono]
version = "0.4.34"
features = [ "serde" ]
Expand Down
6 changes: 3 additions & 3 deletions fluence.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ version: 8

deployments:
myDeployment:
targetWorkers: 1
pricePerWorkerEpoch: 0.00001
initialBalance: 0.001
targetWorkers: 3
pricePerWorkerEpoch: "0.00001"
initialBalance: "1"
services: [ event_joiner ]
spells: [ event_joiner_periodic ]

Expand Down
14 changes: 7 additions & 7 deletions fluence/src/spells/event_joiner_periodic/spell.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ import EventJoiner, ExecutionConfig from "services.aqua"

func spell():
res = EventJoiner.process_events(ExecutionConfig(
client_id = "ceramic-dev-test",
public_key = "did:key",
private_key = "pk",
ceramic_endpoint = "http://localhost:7007",
checkpointer_endpoint = "http://localhost:8080",
attestation_model_id = "kjz",
materialization_model_id = "kjz"
client_id = "ceramic-fluence-test",
public_key = "did:key:z6Mkk3rtfoKDMMG4zyarNGwCQs44GSQ49pcYKQspHJPXSnVw",
private_key = "810d51e02cb63066b7d2d2ec67e05e18c29b938412050bdd3c04d878d8001f3c",
ceramic_endpoint = "https://ceramic-demo.hirenodes.io",
checkpointer_endpoint = "https://fluence-dev-1286760926.us-east-2.elb.amazonaws.com",
attestation_model_id = "kjzl6hvfrbw6c80bfxfy0hm7nsn978jwjrmoju294jvzv9mu2lcr6g17ri6qgt3",
materialization_model_id = "kjzl6hvfrbw6c7x410cdiy03gf5n3iiwnn20sf6p31db8kuxk25u8dfop4x8koy"
))

0 comments on commit 0db6d25

Please sign in to comment.