Skip to content

Commit

Permalink
* Introduce RPC and new protocol crate
Browse files Browse the repository at this point in the history
* Fork ledger traits

* Subxt based client - connectivity
* Development runtime - working, global logger use needs to consider rust::tracing
* Signature and address types, substrate crypto used directly for account signatures
* Seed mechanism changed in ChronicleSigning to allow us to supply a specific seed
  • Loading branch information
ryan-s-roberts committed Dec 5, 2023
1 parent f0c4df1 commit afc3f04
Show file tree
Hide file tree
Showing 56 changed files with 6,813 additions and 2,576 deletions.
4,041 changes: 2,828 additions & 1,213 deletions Cargo.lock

Large diffs are not rendered by default.

22 changes: 11 additions & 11 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ members = [
"crates/chronicle-domain",
"crates/chronicle-domain-lint",
"crates/chronicle-domain-test",
"crates/chronicle-protocol",
"crates/chronicle-synth",
"crates/chronicle-signing",
"crates/chronicle-telemetry",
"crates/gq-subscribe",
"crates/id-provider",
"crates/opa-tp",
"crates/opa-tp-protocol",
"crates/opactl",
"crates/sawtooth-tp",
"crates/pallet-chronicle",
"crates/pallet-opa",
"node/runtime-chronicle",
"node/node-chronicle",
"crates/runtime-api-chronicle",
"crates/rpc-chronicle",
"crates/protocol-substrate-chronicle",
]

[workspace.dependencies]
Expand All @@ -36,9 +35,6 @@ backoff = { version = "0.4.0", features = ["futures", "tokio"] }
base64 = "0.21"
bytes = "1.3.0"
cached = "0.42"
frame-support = "24.0.0"
frame-system = "24.0.0"
frame-benchmarking = "24.0.0"
cfg-if = "1.0.0"
chronicle-signing = { path = "crates/chronicle-signing" }
chrono = "0.4.26"
Expand All @@ -61,6 +57,9 @@ diesel = { version = "2.0.0-rc.0", features = [
] }
diesel_migrations = { version = "2.0.0-rc.0", features = ["postgres"] }
dotenvy = "0.15"
frame-benchmarking = "24.0.0"
frame-support = "24.0.0"
frame-system = "24.0.0"
futures = "0.3.21"
genco = "0.16.1"
glob = "0.3.0"
Expand All @@ -80,18 +79,21 @@ k256 = { version = "0.11.3", features = [
"ecdsa",
"pkcs8",
"sha256",
"keccak256",
"std",
"pem",
"serde",
] }
lazy_static = "1.4.0"
locspan = "0.7"
lru = "0.11"
macro-attr-2018 = "3.0.0"
maplit = "1.0.2"
metrics = "0.21.0"
metrics-exporter-prometheus = "0.12.1"
mime = "0.3"
mockito = "1.1"
newtype-derive-2018 = "0.2.1"
oauth2 = "4.4"
opa = { git = "https://github.com/tamasfe/opa-rs", rev = "3cf7fea" }
openssl = { version = "0.10" }
Expand Down Expand Up @@ -135,10 +137,9 @@ serde_derive = "1.0.152"
serde_json = "1.0.93"
serde_yaml = "0.9.14"
shellexpand = "3.0.0"
macro-attr-2018 = "3.0.0"
newtype-derive-2018 = "0.2.1"
temp-dir = "0.1.11"
tempfile = "3.4.0"
testcontainers = "0.14"
thiserror = "1.0"
tmq = "0.3"
tokio = { version = "1.27", features = [
Expand Down Expand Up @@ -166,4 +167,3 @@ uuid = "1.2.2"
valico = "3.6.0"
vaultrs = "*"
zmq = { version = "0.9", features = ["vendored"] }
testcontainers = "0.14"
5 changes: 2 additions & 3 deletions crates/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ async-trait = { workspace = true }
base64 = { workspace = true }
cached = { workspace = true }
cfg-if = { workspace = true }
chronicle-protocol = { path = "../chronicle-protocol" }
chronicle-signing = { workspace = true }
protocol-substrate-chronicle = { path = "../protocol-substrate-chronicle" }
chronicle-telemetry = { path = "../chronicle-telemetry" }
chrono = { workspace = true }
common = { path = "../common" }
Expand Down Expand Up @@ -50,7 +50,6 @@ rand = { workspace = true }
rand_core = { workspace = true }
reqwest = { workspace = true }
sawtooth-sdk = { workspace = true }
sawtooth_tp = { path = "../sawtooth-tp" }
serde = { workspace = true }
serde_derive = { workspace = true }
serde_json = { workspace = true }
Expand All @@ -65,7 +64,7 @@ uuid = { workspace = true }

[dev-dependencies]
assert_fs = { workspace = true }
chronicle-protocol = { path = "../chronicle-protocol" }
protocol-substrate-chronicle = { path = "../protocol-substrate-chronicle" }
insta = { workspace = true, features = ["json", "yaml"] }
opa-tp-protocol = { path = "../opa-tp-protocol" }
tempfile = { workspace = true }
Expand Down
1 change: 0 additions & 1 deletion crates/chronicle-domain-test/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ inmem = ["chronicle/inmem"]

[dev-dependencies]
async-stl-client = { workspace = true }
chronicle-protocol = { path = "../chronicle-protocol" }
futures = { workspace = true }
hex = { workspace = true }
insta = { workspace = true, features = ["json"] }
Expand Down
57 changes: 0 additions & 57 deletions crates/chronicle-protocol/Cargo.toml

This file was deleted.

10 changes: 0 additions & 10 deletions crates/chronicle-protocol/build.rs

This file was deleted.

47 changes: 0 additions & 47 deletions crates/chronicle-protocol/src/address.rs

This file was deleted.

28 changes: 0 additions & 28 deletions crates/chronicle-protocol/src/lib.rs

This file was deleted.

135 changes: 0 additions & 135 deletions crates/chronicle-protocol/src/messages.rs

This file was deleted.

Loading

0 comments on commit afc3f04

Please sign in to comment.