Skip to content

Commit d8b88eb

Browse files
committed
refactor: changes to dips to better support payment collection in indexer-agent
1 parent abcd7fe commit d8b88eb

19 files changed

+702
-105
lines changed

.sqlx/query-47f848e049f3ff22e65bb53edc7ddc1646e68d6db58124b6e0d780c037f73513.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-cb01d485323ed4b697d3c0c645f5174cc42ea3884e5b54ffb5c94605637d0baa.json renamed to .sqlx/query-5e4575f3b015895c5ba3f066c5d010a09c48290e2200fc1c6426234192ce0f82.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-d0258d53c19174720f2d4d9cde481e457931b65eca471efed650b10d70d2282a.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.sqlx/query-f36803bd99ba0b93b312950e8d88c94a80335ea34bf7200aef5d18e6983a2cb1.json

Lines changed: 154 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.lock

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

crates/dips/Cargo.toml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ version = "0.1.0"
44
edition = "2021"
55

66
[dependencies]
7+
axum.workspace = true
8+
build-info.workspace = true
79
thiserror.workspace = true
810
anyhow.workspace = true
911
alloy-rlp = "0.3.10"
@@ -15,6 +17,7 @@ prost-types.workspace = true
1517
uuid.workspace = true
1618
base64.workspace = true
1719
tokio.workspace = true
20+
sqlx.workspace = true
1821

1922
[build-dependencies]
2023
tonic-build = { workspace = true }

crates/dips/build.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,13 @@ fn main() {
66
tonic_build::configure()
77
.out_dir("src/proto")
88
.include_file("indexer.rs")
9-
.build_client(false)
109
.protoc_arg("--experimental_allow_proto3_optional")
1110
.compile_protos(&["proto/indexer.proto"], &["proto/"])
1211
.expect("Failed to compile DIPs indexer RPC proto(s)");
1312

1413
tonic_build::configure()
1514
.out_dir("src/proto")
1615
.include_file("gateway.rs")
17-
.build_server(false)
1816
.protoc_arg("--experimental_allow_proto3_optional")
1917
.compile_protos(&["proto/gateway.proto"], &["proto"])
2018
.expect("Failed to compile DIPs gateway RPC proto(s)");

crates/dips/proto/gateway.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ syntax = "proto3";
22

33
package graphprotocol.gateway.dips;
44

5-
service DipsService {
5+
service DipperService {
66
/**
77
* Cancel an _indexing agreement_.
88
*

crates/dips/proto/indexer.proto

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ syntax = "proto3";
22

33
package graphprotocol.indexer.dips;
44

5-
service DipsService {
5+
service IndexerDipsService {
66
/**
77
* Propose a new _indexing agreement_ to an _indexer_.
88
*

0 commit comments

Comments
 (0)