Skip to content

Commit

Permalink
[indexer grpc] mark protobuf schema stable.
Browse files Browse the repository at this point in the history
* Remove the `testing1` from the pkg path.
  • Loading branch information
larry-aptos authored May 18, 2023
1 parent 6050325 commit ca2f498
Show file tree
Hide file tree
Showing 46 changed files with 3,051 additions and 3,066 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/aptos-protos/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "aptos-protos"
version = "0.2.1"
version = "0.2.2"
authors = ["Aptos Labs <[email protected]>"]
description = "Aptos Protobuf Definitions"
repository = "https://github.com/aptos-labs/aptos-core"
Expand Down
4 changes: 2 additions & 2 deletions crates/aptos-protos/proto/aptos/indexer/v1/raw_data.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ syntax = "proto3";

package aptos.indexer.v1;

import "aptos/transaction/testing1/v1/transaction.proto";
import "aptos/transaction/v1/transaction.proto";

message GetTransactionsRequest {
// Required; start version of current stream.
Expand All @@ -23,7 +23,7 @@ message GetTransactionsRequest {
// TransactionsResponse is a batch of transactions.
message TransactionsResponse {
// Required; transactions data.
repeated aptos.transaction.testing1.v1.Transaction transactions = 1;
repeated aptos.transaction.v1.Transaction transactions = 1;

// Required; chain id.
optional uint64 chain_id = 2 [jstype = JS_STRING];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ syntax = "proto3";

package aptos.internal.fullnode.v1;

import "aptos/transaction/testing1/v1/transaction.proto";
import "aptos/transaction/v1/transaction.proto";

// Transaction data is transferred via 1 stream with batches until terminated.
// One stream consists:
Expand All @@ -15,7 +15,7 @@ import "aptos/transaction/testing1/v1/transaction.proto";
// StreamStatus: BATCH_END with version x + (k + 1) * n - 1

message TransactionsOutput {
repeated aptos.transaction.testing1.v1.Transaction transactions = 1;
repeated aptos.transaction.v1.Transaction transactions = 1;
}

message StreamStatus {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

syntax = "proto3";

package aptos.transaction.testing1.v1;
package aptos.transaction.v1;

import "aptos/util/timestamp/timestamp.proto";

Expand Down
217 changes: 112 additions & 105 deletions crates/aptos-protos/src/pb/aptos.indexer.v1.rs

Large diffs are not rendered by default.

341 changes: 173 additions & 168 deletions crates/aptos-protos/src/pb/aptos.internal.fullnode.v1.rs

Large diffs are not rendered by default.

Loading

0 comments on commit ca2f498

Please sign in to comment.