Skip to content

Commit

Permalink
Semicolon after tag
Browse files Browse the repository at this point in the history
  • Loading branch information
youkaicountry committed Sep 14, 2021
1 parent 61b125b commit 917e056
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 22 deletions.
6 changes: 3 additions & 3 deletions koinos/broadcast/broadcast.proto
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import "koinos/protocol/protocol.proto";
message transaction_accepted {
protocol.transaction transaction = 1;
bytes payer = 2;
uint64 max_payer_resources = 3; [jstype = JS_STRING]
uint64 trx_resource_limit = 4; [jstype = JS_STRING]
uint64 height = 5; [jstype = JS_STRING]
uint64 max_payer_resources = 3 [jstype = JS_STRING];
uint64 trx_resource_limit = 4 [jstype = JS_STRING];
uint64 height = 5 [jstype = JS_STRING];
}

message block_accepted {
Expand Down
12 changes: 6 additions & 6 deletions koinos/chain/chain.proto
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ enum privilege {

message head_info {
block_topology head_topology = 1;
uint64 last_irreversible_block = 2; [jstype = JS_STRING]
uint64 last_irreversible_block = 2 [jstype = JS_STRING];
}

message prints_args {
Expand Down Expand Up @@ -158,9 +158,9 @@ message get_head_info_return {
}

message hash_args {
uint64 code = 1; [jstype = JS_STRING]
uint64 code = 1 [jstype = JS_STRING];
bytes obj = 2;
uint64 size = 3; [jstype = JS_STRING]
uint64 size = 3 [jstype = JS_STRING];
}

message hash_return {
Expand Down Expand Up @@ -189,15 +189,15 @@ message get_max_account_resources_args {
}

message get_max_account_resources_return {
uint64 value = 1; [jstype = JS_STRING]
uint64 value = 1 [jstype = JS_STRING];
}

message get_transaction_resource_limit_args {
protocol.transaction transction = 1;
}

message get_transaction_resource_limit_return {
uint64 value = 1; [jstype = JS_STRING]
uint64 value = 1 [jstype = JS_STRING];
}

message get_last_irreversible_block_args {}
Expand Down Expand Up @@ -236,5 +236,5 @@ message get_account_nonce_args {
}

message get_account_nonce_result {
uint64 nonce = 1; [jstype = JS_STRING]
uint64 nonce = 1 [jstype = JS_STRING];
}
2 changes: 1 addition & 1 deletion koinos/common.proto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ option go_package = "github.com/koinos/koinos-proto-golang/koinos";

message block_topology {
bytes id = 1;
uint64 height = 2; [jstype = JS_STRING]
uint64 height = 2 [jstype = JS_STRING];
bytes previous = 3;
}
4 changes: 2 additions & 2 deletions koinos/contracts/pow/pow.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import "koinos/common.proto";

message difficulty_metadata {
bytes target = 1;
uint64 last_block_time = 2; [jstype = JS_STRING]
uint64 last_block_time = 2 [jstype = JS_STRING];
bytes difficulty = 3;
uint64 target_block_interval = 4; [jstype = JS_STRING]
uint64 target_block_interval = 4 [jstype = JS_STRING];
}

message pow_signature_data {
Expand Down
8 changes: 4 additions & 4 deletions koinos/protocol/protocol.proto
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ message operation {
}

message active_transaction_data {
uint64 resource_limit = 1; [jstype = JS_STRING]
uint64 nonce = 2; [jstype = JS_STRING]
uint64 resource_limit = 1 [jstype = JS_STRING];
uint64 nonce = 2 [jstype = JS_STRING];
repeated operation operations = 3;
}

Expand Down Expand Up @@ -76,8 +76,8 @@ message passive_block_data {}

message block_header {
bytes previous = 1;
uint64 height = 2; [jstype = JS_STRING]
uint64 timestamp = 3; [jstype = JS_STRING]
uint64 height = 2 [jstype = JS_STRING];
uint64 timestamp = 3 [jstype = JS_STRING];
}

message block_active_data {
Expand Down
2 changes: 1 addition & 1 deletion koinos/rpc/block_store/block_store_rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ message get_blocks_by_id_response {

message get_blocks_by_height_request {
bytes head_block_id = 1;
uint64 ancestor_start_height = 2; [jstype = JS_STRING]
uint64 ancestor_start_height = 2 [jstype = JS_STRING];
uint32 num_blocks = 3;
bool return_block = 4;
bool return_receipt = 5;
Expand Down
4 changes: 2 additions & 2 deletions koinos/rpc/chain/chain_rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ message get_head_info_request {}

message get_head_info_response {
block_topology head_topology = 1;
uint64 get_last_irreversible_block = 2; [jstype = JS_STRING]
uint64 get_last_irreversible_block = 2 [jstype = JS_STRING];
}

message get_chain_id_request {}
Expand Down Expand Up @@ -60,7 +60,7 @@ message get_account_nonce_request {
}

message get_account_nonce_response {
uint64 nonce = 1; [jstype = JS_STRING]
uint64 nonce = 1 [jstype = JS_STRING];
}

message chain_rpc_request {
Expand Down
6 changes: 3 additions & 3 deletions koinos/rpc/mempool/mempool_rpc.proto
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ import "koinos/rpc/rpc.proto";

message check_pending_account_resources_request {
bytes payer = 1;
uint64 max_payer_resources = 2; [jstype = JS_STRING]
uint64 trx_resource_limit = 3; [jstype = JS_STRING]
uint64 max_payer_resources = 2 [jstype = JS_STRING];
uint64 trx_resource_limit = 3 [jstype = JS_STRING];
}

message check_pending_account_resources_response {
bool success = 1;
}

message get_pending_transactions_request {
uint64 limit = 1; [jstype = JS_STRING]
uint64 limit = 1 [jstype = JS_STRING];
}

message get_pending_transactions_response {
Expand Down

0 comments on commit 917e056

Please sign in to comment.