Skip to content

Commit

Permalink
refactor: aggregate ravs depending on allocation type (#596)
Browse files Browse the repository at this point in the history
* refactor: add allocation type

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* refactor: add generic for legacy or horizon

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* refactor: spawn allocation based on type

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* refactor: split Legacy and Horizon allocation id types

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* refactor: read receipts based on allocation type

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* chore: add todo for allocation id map

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* refactor: rename ReceiptType to NetworkVersion

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* chore: remove comments

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* refactor: remove sealed

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* docs: add docs for new and updated structs/functions/impl

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* refactor: remove JoinHandle since it doesn't run Drop

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

* docs: fix typos

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>

---------

Signed-off-by: Gustavo Inacio <gustavo@semiotic.ai>
  • Loading branch information
gusinacio authored Feb 5, 2025
1 parent a17137b commit 3d90f29
Show file tree
Hide file tree
Showing 13 changed files with 797 additions and 233 deletions.
10 changes: 5 additions & 5 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,12 @@ tonic-build = "0.12.3"

[patch.crates-io.tap_core]
git = "https://github.com/semiotic-ai/timeline-aggregation-protocol"
rev = "e5546a6"
rev = "9fd4beb"

[patch.crates-io.tap_aggregator]
git = "https://github.com/semiotic-ai/timeline-aggregation-protocol"
rev = "e5546a6"
rev = "9fd4beb"

[patch.crates-io.tap_graph]
git = "https://github.com/semiotic-ai/timeline-aggregation-protocol"
rev = "e5546a6"
rev = "9fd4beb"
1 change: 0 additions & 1 deletion crates/tap-agent/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ tracing-subscriber.workspace = true
tonic.workspace = true
bigdecimal = { workspace = true, features = ["serde"] }
graphql_client.workspace = true

ruint = { version = "1.12.3", features = [
"num-traits",
], default-features = false }
Expand Down
Loading

0 comments on commit 3d90f29

Please sign in to comment.