Skip to content

Commit da77dc4

Browse files
authored
Merge pull request #10 from graphprotocol/tmigone/rename-cleanup
Tmigone/rename cleanup
2 parents 15ea55d + 80999de commit da77dc4

13 files changed

Lines changed: 30 additions & 30 deletions

File tree

CONTRIBUTING.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ All types of contributions are encouraged and valued. See the [Table of Contents
3232

3333
> If you want to ask a question, we assume that you have read the available [Documentation]().
3434
35-
Before you ask a question, it is best to search for existing [Issues](https://github.com/graphprotocol/timeline-aggregation-protocol/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
35+
Before you ask a question, it is best to search for existing [Issues](https://github.com/graphprotocol/graph-tally/issues) that might help you. In case you have found a suitable issue and still need clarification, you can write your question in this issue. It is also advisable to search the internet for answers first.
3636

3737
If you then still feel the need to ask a question and need clarification, we recommend the following:
3838

39-
- Open an [Issue](https://github.com/graphprotocol/timeline-aggregation-protocol/issues/new).
39+
- Open an [Issue](https://github.com/graphprotocol/graph-tally/issues/new).
4040
- Provide as much context as you can about what you're running into.
4141
- Provide project and platform versions (nodejs, npm, etc), depending on what seems relevant.
4242

@@ -68,7 +68,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform
6868

6969
- Make sure that you are using the latest version.
7070
- Determine if your bug is really a bug and not an error on your side e.g. using incompatible environment components/versions (Make sure that you have read the [documentation](). If you are looking for support, you might want to check [this section](#i-have-a-question)).
71-
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/graphprotocol/timeline-aggregation-protocol/issues?q=label%3Abug).
71+
- To see if other users have experienced (and potentially already solved) the same issue you are having, check if there is not already a bug report existing for your bug or error in the [bug tracker](https://github.com/graphprotocol/graph-tally/issues?q=label%3Abug).
7272
- Also make sure to search the internet (including Stack Overflow) to see if users outside of the GitHub community have discussed the issue.
7373
- Collect information about the bug:
7474
- Stack trace (Traceback)
@@ -85,7 +85,7 @@ A good bug report shouldn't leave others needing to chase you up for more inform
8585
8686
We use GitHub issues to track bugs and errors. If you run into an issue with the project:
8787

88-
- Open an [Issue](https://github.com/graphprotocol/timeline-aggregation-protocol/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
88+
- Open an [Issue](https://github.com/graphprotocol/graph-tally/issues/new). (Since we can't be sure at this point whether it is a bug or not, we ask you not to talk about a bug yet and not to label the issue.)
8989
- Explain the behavior you would expect and the actual behavior.
9090
- Please provide as much context as possible and describe the *reproduction steps* that someone else can follow to recreate the issue on their own. This usually includes your code. For good bug reports you should isolate the problem and create a reduced test case.
9191
- Provide the information you collected in the previous section.
@@ -107,13 +107,13 @@ This section guides you through submitting an enhancement suggestion for Graph T
107107

108108
- Make sure that you are using the latest version.
109109
- Read the [documentation]() carefully and find out if the functionality is already covered, maybe by an individual configuration.
110-
- Perform a [search](https://github.com/graphprotocol/timeline-aggregation-protocol/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
110+
- Perform a [search](https://github.com/graphprotocol/graph-tally/issues) to see if the enhancement has already been suggested. If it has, add a comment to the existing issue instead of opening a new one.
111111
- Find out whether your idea fits with the scope and aims of the project. It's up to you to make a strong case to convince the project's developers of the merits of this feature. Keep in mind that we want features that will be useful to the majority of our users and not just a small subset. If you're just targeting a minority of users, consider writing an add-on/plugin library.
112112

113113
<!-- omit in toc -->
114114
#### How Do I Submit a Good Enhancement Suggestion?
115115

116-
Enhancement suggestions are tracked as [GitHub issues](https://github.com/graphprotocol/timeline-aggregation-protocol/issues).
116+
Enhancement suggestions are tracked as [GitHub issues](https://github.com/graphprotocol/graph-tally/issues).
117117

118118
- Use a **clear and descriptive title** for the issue to identify the suggestion.
119119
- Provide a **step-by-step description of the suggested enhancement** in as many details as possible.

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ version = "0.1.0"
1414
edition = "2021"
1515
rust-version = "1.91"
1616
license = "Apache-2.0"
17-
repository = "https://github.com/graphprotocol/timeline-aggregation-protocol"
17+
repository = "https://github.com/graphprotocol/graph-tally"
1818

1919
[workspace.dependencies]
2020
anyhow = { version = "1.0.98" }

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
# Graph Tally (Timeline Aggregation Protocol)
1+
# Graph Tally
22

33
| Crate | Latest Version |
44
| ------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
5-
| **graph_tally_aggregator** | [![GHCR](https://img.shields.io/github/v/release/graphprotocol/timeline-aggregation-protocol?filter=graph_tally_aggregator-*&label=ghcr.io)](https://github.com/graphprotocol/timeline-aggregation-protocol/pkgs/container/graph_tally_aggregator) |
6-
| **graph_tally_core** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/timeline-aggregation-protocol?filter=graph_tally_core-*)](https://github.com/graphprotocol/timeline-aggregation-protocol/releases) |
7-
| **graph_tally_eip712_message** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/timeline-aggregation-protocol?filter=graph_tally_eip712_message-*)](https://github.com/graphprotocol/timeline-aggregation-protocol/releases) |
8-
| **graph_tally_graph** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/timeline-aggregation-protocol?filter=graph_tally_graph-*)](https://github.com/graphprotocol/timeline-aggregation-protocol/releases) |
9-
| **graph_tally_receipt** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/timeline-aggregation-protocol?filter=graph_tally_receipt-*)](https://github.com/graphprotocol/timeline-aggregation-protocol/releases) |
5+
| **graph_tally_aggregator** | [![GHCR](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_aggregator-*&label=ghcr.io)](https://github.com/graphprotocol/graph-tally/pkgs/container/graph_tally_aggregator) |
6+
| **graph_tally_core** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_core-*)](https://github.com/graphprotocol/graph-tally/releases) |
7+
| **graph_tally_eip712_message** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_eip712_message-*)](https://github.com/graphprotocol/graph-tally/releases) |
8+
| **graph_tally_graph** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_graph-*)](https://github.com/graphprotocol/graph-tally/releases) |
9+
| **graph_tally_receipt** | [![GitHub Release](https://img.shields.io/github/v/release/graphprotocol/graph-tally?filter=graph_tally_receipt-*)](https://github.com/graphprotocol/graph-tally/releases) |
1010

1111
## Overview
1212

@@ -80,4 +80,4 @@ system being off-chain.
8080

8181
Contributions are welcome! Please submit a pull request or open an issue to
8282
discuss potential changes.
83-
Also, make sure to follow the [Contributing Guide](https://github.com/graphprotocol/timeline-aggregation-protocol/blob/main/CONTRIBUTING.md).
83+
Also, make sure to follow the [Contributing Guide](https://github.com/graphprotocol/graph-tally/blob/main/CONTRIBUTING.md).

crates/aggregator/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ As described in the [gateway README section on Graph Tally](https://github.com/e
2020
## Settings
2121

2222
```txt
23-
A JSON-RPC service for the Timeline Aggregation Protocol that lets clients request an aggregate receipt from a list of
23+
A JSON-RPC service for Graph Tally that lets clients request an aggregate receipt from a list of
2424
individual receipts.
2525
2626
Usage: graph_tally_aggregator [OPTIONS] --private-key <PRIVATE_KEY>
@@ -164,7 +164,7 @@ We define these warning codes:
164164
"0.1"
165165
]
166166
},
167-
"message": "The API version 0.0 will be deprecated. Please check https://github.com/graphprotocol/timeline_aggregation_protocol for more information."
167+
"message": "The API version 0.0 will be deprecated. Please check https://github.com/graphprotocol/graph-tally for more information."
168168
}
169169
]
170170
}

crates/aggregator/src/server.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,15 +437,15 @@ pub async fn run_server(
437437
// Create a `TcpListener` using tokio.
438438
let listener = TcpListener::bind(&format!("0.0.0.0:{port}"))
439439
.await
440-
.expect("Failed to bind to tap-aggregator port");
440+
.expect("Failed to bind to graph_tally_aggregator port");
441441

442442
let addr = listener.local_addr()?;
443443
let handle = tokio::spawn(async move {
444444
if let Err(e) = axum::serve(listener, Shared::new(service))
445445
.with_graceful_shutdown(shutdown_handler())
446446
.await
447447
{
448-
log::error!("Tap Aggregator error: {e}");
448+
log::error!("Graph Tally Aggregator error: {e}");
449449
}
450450
});
451451

@@ -936,7 +936,7 @@ mod tests {
936936
/// that to fit about 250 receipts. We also test with 300 receipts, which should
937937
/// exceed the limit.
938938
/// We conclude that a limit of 10MB should fit about 25k receipts, and thus
939-
/// the TAP spec will require that the aggregator supports up to 15k receipts
939+
/// the Graph Tally spec will require that the aggregator supports up to 15k receipts
940940
/// per aggregation request as a safe limit.
941941
#[rstest]
942942
#[tokio::test]

crates/core/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ pub fn graph_tally_eip712_domain(
5858
}
5959

6060
#[cfg(test)]
61-
mod tap_tests {
61+
mod tests {
6262
use std::str::FromStr;
6363

6464
use graph_tally_graph::{Receipt, ReceiptAggregateVoucher};

crates/core/src/manager/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,6 @@
8080
pub mod adapters;
8181
#[cfg(feature = "in_memory")]
8282
pub mod context;
83-
mod tap_manager;
83+
mod core;
8484

85-
pub use tap_manager::Manager;
85+
pub use core::Manager;

crates/core/src/rav_request.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
//! Request to Tap Aggregator
1+
//! Request to Graph Tally Aggregator
22
33
use graph_tally_receipt::rav::AggregationError;
44
use thegraph_core::alloy::sol_types::SolStruct;

crates/graph/src/rav.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ sol! {
3333
address serviceProvider;
3434
// The address of the data service the RAV was issued to
3535
address dataService;
36-
// The RAV timestamp, indicating the latest TAP Receipt in the RAV
36+
// The RAV timestamp, indicating the latest Graph Tally Receipt in the RAV
3737
uint64 timestampNs;
3838
// Total amount owed to the service provider since the beginning of the
3939
// payer-service provider relationship, including all debt that is already paid for.

0 commit comments

Comments
 (0)