Skip to content

Commit 81f00ea

Browse files
justproshgurinderufolex
authored
feat: add connector.send_tx; introduce listener (#2078)
* WIP add connector and listener * fix build * add endline * wip * submit mocked proofs * process submit proof errors * fix error handling * fix build * add test * rename * refactor configs * add reexport * update crates * feat(cores): cpu_range set * feat(cores): core manager * small improvements * small improvements * small improvements * small improvements * small improvements * small improvements * small improvements * small improvements * pin system threads * pin worker threads * Fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * use CUID * feat(config): Introduce ephemeral and persistent storage * fix * fix * fix * change layout + inject persistent dirs into services * fix test * Expose applied config in CreatedSwarm * rename stepper * fix * fix fd in core manager * fix fd in core manager * fix fd in core manager * update spell * update spell * update spell * update crates * shutdown workers runtime at shutdown signal * refactoring * fluence-spell-dtos update * fluence-spell-dtos update * fluence-spell-dtos update * wip * use EIP-1559 * fix * feat(cores): cpu_range set * feat(cores): core manager * small improvements * small improvements * small improvements * small improvements * small improvements * small improvements * small improvements * small improvements * pin system threads * pin worker threads * Fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * Review fixes * use CUID * feat(config): Introduce ephemeral and persistent storage * fix * fix * fix * change layout + inject persistent dirs into services * fix test * Expose applied config in CreatedSwarm * rename stepper * fix * fix fd in core manager * fix fd in core manager * fix fd in core manager * update spell * update spell * shutdown workers runtime at shutdown signal * fix * fluence-spell-dtos update * fluence-spell-dtos update * fix * fix * fix * fix * fix * fix * fix * fix * fix * update distro * fix * fix * remove unused * update fluence-spell-dtos * make injecttion async * fix(deps): decider 0.6.7 * fixes * fix * fix * update lock * fix * update decider * remove unused import --------- Co-authored-by: Nick <[email protected]> Co-authored-by: folex <[email protected]>
1 parent 06f253b commit 81f00ea

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+2784
-242
lines changed

Cargo.lock

+208-24
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+12-1
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,13 @@ members = [
4444
"particle-execution",
4545
"crates/system-services",
4646
"crates/chain-listener",
47+
"crates/chain-connector",
4748
"crates/hex-utils",
4849
"crates/chain-data",
50+
"crates/chain-types",
4951
"crates/types",
50-
"crates/core-manager"]
52+
"crates/core-manager"
53+
]
5154
exclude = [
5255
"nox/tests/tetraplets",
5356
]
@@ -97,6 +100,8 @@ subnet-resolver = { path = "crates/subnet-resolver" }
97100
hex-utils = { path = "crates/hex-utils" }
98101
chain-data = { path = "crates/chain-data" }
99102
chain-listener = { path = "crates/chain-listener" }
103+
chain-connector = { path = "crates/chain-connector" }
104+
chain-types = { path = "crates/chain-types" }
100105
types = { path = "crates/types" }
101106
core-manager = { path = "crates/core-manager" }
102107

@@ -165,6 +170,12 @@ futures-util = "0.3.30"
165170
num_cpus = "1.16.0"
166171
enum_dispatch = "0.3.12"
167172
serde_with = "3.6.0"
173+
mockito = "1.2.0"
174+
clarity = "1.3.0"
175+
cpu-utils = { git = "https://github.com/fluencelabs/capacity-commitment-prover/", branch = "main" }
176+
ccp-shared = { git = "https://github.com/fluencelabs/capacity-commitment-prover/", branch = "main" }
177+
ccp-rpc-client = { git = "https://github.com/fluencelabs/capacity-commitment-prover.git", branch = "main" }
178+
168179

169180
# Enable a small amount of optimization in debug mode
170181
[profile.dev]

crates/chain-connector/Cargo.toml

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
[package]
2+
name = "chain-connector"
3+
version = "0.1.0"
4+
edition = "2021"
5+
6+
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7+
8+
[dependencies]
9+
particle-builtins = { workspace = true }
10+
particle-execution = { workspace = true }
11+
particle-args = { workspace = true }
12+
chain-data = { workspace = true }
13+
chain-types = { workspace = true }
14+
ethabi = { workspace = true }
15+
jsonrpsee = { workspace = true, features = ["macros", "server", "client"] }
16+
eyre = { workspace = true }
17+
fluence-libp2p = { workspace = true }
18+
serde_json = { workspace = true }
19+
hex = { workspace = true }
20+
server-config = { workspace = true }
21+
clarity = { workspace = true }
22+
tokio = { workspace = true, features = ["rt", "macros"] }
23+
hex-utils = { workspace = true }
24+
futures = { workspace = true }
25+
ccp-shared = { workspace = true }
26+
thiserror = { workspace = true }
27+
28+
[dev-dependencies]
29+
mockito = { workspace = true }

0 commit comments

Comments
 (0)