Skip to content

Commit 33a6121

Browse files
committed
Revert proto files changes
1 parent c055632 commit 33a6121

File tree

7 files changed

+40
-122
lines changed

7 files changed

+40
-122
lines changed

scripts/generate_protobuf.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ set -o errexit -o nounset -o pipefail
88
SCRIPT_PATH="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
99

1010
rm -rf "${SCRIPT_PATH}/SecretNetwork"
11-
git clone --depth 1 --branch v1.15.0-beta.0 https://github.com/scrtlabs/SecretNetwork "${SCRIPT_PATH}/SecretNetwork"
11+
git clone --depth 1 --branch revert-proto-changes https://github.com/scrtlabs/SecretNetwork "${SCRIPT_PATH}/SecretNetwork"
1212

1313
# plugins paths, note this must be an abolsute path on Windows
1414

src/grpc_gateway/secret/compute/v1beta1/msg.pb.ts

+1-3
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import * as CosmosBaseV1beta1Coin from "../../../cosmos/base/v1beta1/coin.pb"
88
import * as fm from "../../../fetch.pb"
99
export type MsgStoreCode = {
10-
sender?: string
10+
sender?: Uint8Array
1111
wasm_byte_code?: Uint8Array
1212
source?: string
1313
builder?: string
@@ -26,7 +26,6 @@ export type MsgInstantiateContract = {
2626
init_funds?: CosmosBaseV1beta1Coin.Coin[]
2727
callback_sig?: Uint8Array
2828
admin?: string
29-
sender_address?: string
3029
}
3130

3231
export type MsgInstantiateContractResponse = {
@@ -41,7 +40,6 @@ export type MsgExecuteContract = {
4140
callback_code_hash?: string
4241
sent_funds?: CosmosBaseV1beta1Coin.Coin[]
4342
callback_sig?: Uint8Array
44-
sender_address?: string
4543
}
4644

4745
export type MsgExecuteContractResponse = {

src/grpc_gateway/secret/registration/v1beta1/msg.pb.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@
66

77
import * as fm from "../../../fetch.pb"
88
export type RaAuthenticate = {
9-
sender?: string
9+
sender?: Uint8Array
1010
certificate?: Uint8Array
11-
sender_addr?: Uint8Array
1211
}
1312

1413
export type RaAuthenticateResponse = {

src/protobuf/secret/compute/v1beta1/msg.ts

+11-57
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/protobuf/secret/registration/v1beta1/msg.ts

+9-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)