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

updates incl. effector changes. #160

Closed
wants to merge 6 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
35 changes: 35 additions & 0 deletions .fluence/aqua-dependencies/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 18 additions & 1 deletion .fluence/aqua/deals.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,27 @@ data Deal:
definition: string
timestamp: string

data MyDeployment:
chainNetworkId: u64
dealId: string
dealIdOriginal: string
definition: string
matched: bool
timestamp: string

data Deals:
fRpcDeployment: ?Deal
myDeployment: ?MyDeployment

func get() -> Deals:
<- Deals(
fRpcDeployment=nil
fRpcDeployment=nil,
myDeployment=?[MyDeployment(
definition="bafkreidvdwopj7kxjpw56uh42rz7wvsjiilv5ft7vzuk3fspz73y7q5kou",
timestamp="2024-05-24T22:25:20.628Z",
dealIdOriginal="0x76E56472bf60f11aB791d922c41d523E0954B81F",
dealId="76e56472bf60f11ab791d922c41d523e0954b81f",
chainNetworkId=2358716091832359,
matched=true
)]
)
12 changes: 12 additions & 0 deletions .fluence/ccp-configs/nox-0_Config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[rpc-endpoint]
host = "0.0.0.0"
port = 9_389
utility-thread-ids = [ 1 ]

[prometheus-endpoint]
host = "0.0.0.0"
port = 9_384

[logs]
report-hashrate = false
log-level = "info"
12 changes: 12 additions & 0 deletions .fluence/ccp-configs/nox-1_Config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[rpc-endpoint]
host = "0.0.0.0"
port = 9_389
utility-thread-ids = [ 1 ]

[prometheus-endpoint]
host = "0.0.0.0"
port = 9_384

[logs]
report-hashrate = false
log-level = "info"
12 changes: 12 additions & 0 deletions .fluence/ccp-configs/nox-2_Config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[rpc-endpoint]
host = "0.0.0.0"
port = 9_389
utility-thread-ids = [ 1 ]

[prometheus-endpoint]
host = "0.0.0.0"
port = 9_384

[logs]
report-hashrate = false
log-level = "info"
39 changes: 39 additions & 0 deletions .fluence/configs/nox-0_Config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
aquavm_pool_size = 2
tcp_port = 7_771
websocket_port = 9_991
http_port = 18_080
tokio_metrics_enabled = true
metrics_enabled = true
metrics_timer_resolution = "1 minute"

[system_services]
enable = [ "aqua-ipfs", "decider" ]

[system_services.decider]
decider_period_sec = 60
worker_ipfs_multiaddr = "/dns4/ipfs/tcp/5001"
network_api_endpoint = "http://chain-rpc:8545"
matcher_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
wallet_key = "0xff754a90412465e887f34771da8407a9f42e32753ba19720e3f44c101c1ebbf0"
start_block = "earliest"
network_id = 31_337

[system_services.aqua_ipfs]
external_api_multiaddr = "/ip4/127.0.0.1/tcp/5001"
local_api_multiaddr = "/dns4/ipfs/tcp/5001"
ipfs_binary_path = "/usr/bin/ipfs"

[effectors.curl]
wasm_cid = "bafkreids22lgia5bqs63uigw4mqwhsoxvtnkpfqxqy5uwyyerrldsr32ce"

[effectors.curl.allowed_binaries]
curl = "/usr/bin/curl"

[chain_config]
http_endpoint = "http://chain-rpc:8545"
core_contract_address = "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
cc_contract_address = "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d"
market_contract_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
network_id = 31_337
wallet_key = "0xff754a90412465e887f34771da8407a9f42e32753ba19720e3f44c101c1ebbf0"
default_priority_fee = 0
39 changes: 39 additions & 0 deletions .fluence/configs/nox-1_Config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
aquavm_pool_size = 2
tcp_port = 7_772
websocket_port = 9_992
http_port = 18_081
tokio_metrics_enabled = true
metrics_enabled = true
metrics_timer_resolution = "1 minute"

[system_services]
enable = [ "aqua-ipfs", "decider" ]

[system_services.decider]
decider_period_sec = 60
worker_ipfs_multiaddr = "/dns4/ipfs/tcp/5001"
network_api_endpoint = "http://chain-rpc:8545"
matcher_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
wallet_key = "0x2db7dd877532df61fff6c9e8bf823dfc351f159d95a065477b5f56627cfb9df5"
start_block = "earliest"
network_id = 31_337

[system_services.aqua_ipfs]
external_api_multiaddr = "/ip4/127.0.0.1/tcp/5001"
local_api_multiaddr = "/dns4/ipfs/tcp/5001"
ipfs_binary_path = "/usr/bin/ipfs"

[effectors.curl]
wasm_cid = "bafkreids22lgia5bqs63uigw4mqwhsoxvtnkpfqxqy5uwyyerrldsr32ce"

[effectors.curl.allowed_binaries]
curl = "/usr/bin/curl"

[chain_config]
http_endpoint = "http://chain-rpc:8545"
core_contract_address = "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
cc_contract_address = "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d"
market_contract_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
network_id = 31_337
wallet_key = "0x2db7dd877532df61fff6c9e8bf823dfc351f159d95a065477b5f56627cfb9df5"
default_priority_fee = 0
39 changes: 39 additions & 0 deletions .fluence/configs/nox-2_Config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
aquavm_pool_size = 2
tcp_port = 7_773
websocket_port = 9_993
http_port = 18_082
tokio_metrics_enabled = true
metrics_enabled = true
metrics_timer_resolution = "1 minute"

[system_services]
enable = [ "aqua-ipfs", "decider" ]

[system_services.decider]
decider_period_sec = 60
worker_ipfs_multiaddr = "/dns4/ipfs/tcp/5001"
network_api_endpoint = "http://chain-rpc:8545"
matcher_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
wallet_key = "0xa926a63a651b30a4a89330564ad50f6ab7ba600908d8f7b620db01283eb21dbe"
start_block = "earliest"
network_id = 31_337

[system_services.aqua_ipfs]
external_api_multiaddr = "/ip4/127.0.0.1/tcp/5001"
local_api_multiaddr = "/dns4/ipfs/tcp/5001"
ipfs_binary_path = "/usr/bin/ipfs"

[effectors.curl]
wasm_cid = "bafkreids22lgia5bqs63uigw4mqwhsoxvtnkpfqxqy5uwyyerrldsr32ce"

[effectors.curl.allowed_binaries]
curl = "/usr/bin/curl"

[chain_config]
http_endpoint = "http://chain-rpc:8545"
core_contract_address = "0x0B306BF915C4d645ff596e518fAf3F9669b97016"
cc_contract_address = "0xc6e7DF5E7b4f2A278906862b61205850344D4e7d"
market_contract_address = "0x3Aa5ebB10DC797CAC828524e59A333d0A371443c"
network_id = 31_337
wallet_key = "0xa926a63a651b30a4a89330564ad50f6ab7ba600908d8f7b620db01283eb21dbe"
default_priority_fee = 0
Loading
Loading