Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[indexer grpc] mark protobuf schema stable; remove testing from its pkg path. #8277

Merged
merged 3 commits into from
May 18, 2023
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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