mukan-sdk/testutil/testdata/testpb/unknonwnproto.proto
Mukan Erkin Törük 20afb5db80
Some checks failed
Build SimApp / build (amd64) (push) Waiting to run
Build SimApp / build (arm64) (push) Waiting to run
CodeQL / Analyze (push) Waiting to run
Build & Push / build (push) Waiting to run
Run Gosec / Gosec (push) Waiting to run
Lint / golangci-lint (push) Waiting to run
Checks dependencies and mocks generation / Check go mod tidy (push) Waiting to run
Checks dependencies and mocks generation / Check up to date mocks (push) Waiting to run
System Tests / setup (push) Waiting to run
System Tests / test-system (push) Blocked by required conditions
System Tests / test-system-legacy (push) Blocked by required conditions
Tests / Code Coverage / split-test-files (push) Waiting to run
Tests / Code Coverage / tests (00) (push) Blocked by required conditions
Tests / Code Coverage / tests (01) (push) Blocked by required conditions
Tests / Code Coverage / tests (02) (push) Blocked by required conditions
Tests / Code Coverage / tests (03) (push) Blocked by required conditions
Tests / Code Coverage / test-integration (push) Waiting to run
Tests / Code Coverage / test-e2e (push) Waiting to run
Tests / Code Coverage / repo-analysis (push) Blocked by required conditions
Tests / Code Coverage / test-sim-nondeterminism (push) Waiting to run
Tests / Code Coverage / test-clientv2 (push) Waiting to run
Tests / Code Coverage / test-core (push) Waiting to run
Tests / Code Coverage / test-depinject (push) Waiting to run
Tests / Code Coverage / test-errors (push) Waiting to run
Tests / Code Coverage / test-math (push) Waiting to run
Tests / Code Coverage / test-schema (push) Waiting to run
Tests / Code Coverage / test-collections (push) Waiting to run
Tests / Code Coverage / test-cosmovisor (push) Waiting to run
Tests / Code Coverage / test-confix (push) Waiting to run
Tests / Code Coverage / test-store (push) Waiting to run
Tests / Code Coverage / test-log (push) Waiting to run
Tests / Code Coverage / test-x-tx (push) Waiting to run
Tests / Code Coverage / test-x-nft (push) Waiting to run
Tests / Code Coverage / test-x-circuit (push) Waiting to run
Tests / Code Coverage / test-x-feegrant (push) Waiting to run
Tests / Code Coverage / test-x-evidence (push) Waiting to run
Tests / Code Coverage / test-x-upgrade (push) Waiting to run
Tests / Code Coverage / test-tools-benchmark (push) Waiting to run
Build & Push SDK Proto Builder / build (push) Has been cancelled
initial: sovereign Mukan Network fork
2026-05-11 03:18:24 +03:00

308 lines
8 KiB
Protocol Buffer

syntax = "proto3";
package testpb;
import "gogoproto/gogo.proto";
import "google/protobuf/any.proto";
import "cosmos/tx/v1beta1/tx.proto";
option go_package = "github.com/cosmos/cosmos-sdk/testutil/testdata";
message Customer1 {
int32 id = 1;
string name = 2;
float subscription_fee = 3;
string payment = 7;
}
message Customer2 {
int32 id = 1;
int32 industry = 2;
string name = 3;
float fewer = 4;
int64 reserved = 1047;
enum City {
Laos = 0;
LosAngeles = 1;
PaloAlto = 2;
Moscow = 3;
Nairobi = 4;
}
City city = 6;
google.protobuf.Any miscellaneous = 10;
}
message Nested4A {
int32 id = 1;
string name = 2;
}
message Nested3A {
int32 id = 1;
string name = 2;
repeated Nested4A a4 = 4;
map<int64, Nested4A> index = 5;
}
message Nested2A {
int32 id = 1;
string name = 2;
Nested3A nested = 3;
}
message Nested1A {
int32 id = 1;
Nested2A nested = 2;
}
message Nested4B {
int32 id = 1;
int32 age = 2;
string name = 3;
}
message Nested3B {
int32 id = 1;
int32 age = 2;
string name = 3;
repeated Nested4B b4 = 4;
}
message Nested2B {
int32 id = 1;
double fee = 2;
Nested3B nested = 3;
string route = 4;
}
message Nested1B {
int32 id = 1;
Nested2B nested = 2;
int32 age = 3;
}
message Customer3 {
int32 id = 1;
string name = 2;
float sf = 3;
float surcharge = 4;
string destination = 5;
oneof payment {
string credit_card_no = 7;
string cheque_no = 8;
}
Customer1 original = 9;
}
message TestVersion1 {
int64 x = 1;
TestVersion1 a = 2;
TestVersion1 b = 3; // [(gogoproto.nullable) = false] generates invalid recursive structs;
repeated TestVersion1 c = 4;
repeated TestVersion1 d = 5 [(gogoproto.nullable) = false];
oneof sum {
int32 e = 6;
TestVersion1 f = 7;
}
google.protobuf.Any g = 8;
repeated TestVersion1 h = 9; // [(gogoproto.castrepeated) = "TestVersion1"];
// google.protobuf.Timestamp i = 10;
// google.protobuf.Timestamp j = 11; // [(gogoproto.stdtime) = true];
Customer1 k = 12 [(gogoproto.embed) = true];
}
message TestVersion2 {
int64 x = 1;
TestVersion2 a = 2;
TestVersion2 b = 3; // [(gogoproto.nullable) = false];
repeated TestVersion2 c = 4;
repeated TestVersion2 d = 5; // [(gogoproto.nullable) = false];
oneof sum {
int32 e = 6;
TestVersion2 f = 7;
}
google.protobuf.Any g = 8;
repeated TestVersion1 h = 9; // [(gogoproto.castrepeated) = "TestVersion1"];
// google.protobuf.Timestamp i = 10;
// google.protobuf.Timestamp j = 11; // [(gogoproto.stdtime) = true];
Customer1 k = 12 [(gogoproto.embed) = true];
uint64 new_field = 25;
}
message TestVersion3 {
int64 x = 1;
TestVersion3 a = 2;
TestVersion3 b = 3; // [(gogoproto.nullable) = false];
repeated TestVersion3 c = 4;
repeated TestVersion3 d = 5; // [(gogoproto.nullable) = false];
oneof sum {
int32 e = 6;
TestVersion3 f = 7;
}
google.protobuf.Any g = 8;
repeated TestVersion1 h = 9; //[(gogoproto.castrepeated) = "TestVersion1"];
// google.protobuf.Timestamp i = 10;
// google.protobuf.Timestamp j = 11; // [(gogoproto.stdtime) = true];
Customer1 k = 12 [(gogoproto.embed) = true];
string non_critical_field = 1031;
}
message TestVersion3LoneOneOfValue {
int64 x = 1;
TestVersion3 a = 2;
TestVersion3 b = 3; // [(gogoproto.nullable) = false];
repeated TestVersion3 c = 4;
repeated TestVersion3 d = 5; // [(gogoproto.nullable) = false];
oneof sum {
int32 e = 6;
}
google.protobuf.Any g = 8;
repeated TestVersion1 h = 9; //[(gogoproto.castrepeated) = "TestVersion1"];
// google.protobuf.Timestamp i = 10;
// google.protobuf.Timestamp j = 11; // [(gogoproto.stdtime) = true];
Customer1 k = 12 [(gogoproto.embed) = true];
string non_critical_field = 1031;
}
message TestVersion3LoneNesting {
int64 x = 1;
TestVersion3 a = 2;
TestVersion3 b = 3; // [(gogoproto.nullable) = false];
repeated TestVersion3 c = 4;
repeated TestVersion3 d = 5; // [(gogoproto.nullable) = false];
oneof sum {
TestVersion3LoneNesting f = 7;
}
google.protobuf.Any g = 8;
repeated TestVersion1 h = 9; //[(gogoproto.castrepeated) = "TestVersion1"];
// google.protobuf.Timestamp i = 10;
// google.protobuf.Timestamp j = 11; // [(gogoproto.stdtime) = true];
Customer1 k = 12 [(gogoproto.embed) = true];
string non_critical_field = 1031;
message Inner1 {
int64 id = 1;
string name = 2;
message InnerInner {
string id = 1;
string city = 2;
}
InnerInner inner = 3;
}
Inner1 inner1 = 14;
message Inner2 {
string id = 1;
string country = 2;
message InnerInner {
string id = 1;
string city = 2;
}
InnerInner inner = 3;
}
Inner2 inner2 = 15;
}
message TestVersion4LoneNesting {
int64 x = 1;
TestVersion3 a = 2;
TestVersion3 b = 3; // [(gogoproto.nullable) = false];
repeated TestVersion3 c = 4;
repeated TestVersion3 d = 5; // [(gogoproto.nullable) = false];
oneof sum {
TestVersion3LoneNesting f = 7;
}
google.protobuf.Any g = 8;
repeated TestVersion1 h = 9; //[(gogoproto.castrepeated) = "TestVersion1"];
// google.protobuf.Timestamp i = 10;
// google.protobuf.Timestamp j = 11; // [(gogoproto.stdtime) = true];
Customer1 k = 12 [(gogoproto.embed) = true];
string non_critical_field = 1031;
message Inner1 {
int64 id = 1;
string name = 2;
message InnerInner {
int64 id = 1;
string city = 2;
}
InnerInner inner = 3;
}
Inner1 inner1 = 14;
message Inner2 {
string id = 1;
string country = 2;
message InnerInner {
string id = 1;
int64 value = 2;
}
InnerInner inner = 3;
}
Inner2 inner2 = 15;
}
message TestVersionFD1 {
int64 x = 1;
TestVersion1 a = 2;
oneof sum {
int32 e = 6;
TestVersion1 f = 7;
}
google.protobuf.Any g = 8;
repeated TestVersion1 h = 9; // [(gogoproto.castrepeated) = "TestVersion1"];
}
message TestVersionFD1WithExtraAny {
int64 x = 1;
TestVersion1 a = 2;
oneof sum {
int32 e = 6;
TestVersion1 f = 7;
}
AnyWithExtra g = 8;
repeated TestVersion1 h = 9; // [(gogoproto.castrepeated) = "TestVersion1"];
}
message AnyWithExtra {
google.protobuf.Any a = 1 [(gogoproto.embed) = true];
int64 b = 3;
int64 c = 4;
}
message TestUpdatedTxRaw {
bytes body_bytes = 1;
bytes auth_info_bytes = 2;
repeated bytes signatures = 3;
bytes new_field_5 = 5;
bytes new_field_1024 = 1024;
}
message TestUpdatedTxBody {
repeated google.protobuf.Any messages = 1;
string memo = 2;
int64 timeout_height = 3;
uint64 some_new_field = 5;
string some_new_field_non_critical_field = 1050;
repeated google.protobuf.Any extension_options = 1023;
repeated google.protobuf.Any non_critical_extension_options = 2047;
}
message TestUpdatedAuthInfo {
repeated cosmos.tx.v1beta1.SignerInfo signer_infos = 1;
cosmos.tx.v1beta1.Fee fee = 2;
bytes new_field_3 = 3;
bytes new_field_1024 = 1024;
}
message TestRepeatedUints {
repeated uint64 nums = 1;
}