This commit is contained in:
Prad Nukala
2024-07-06 03:17:04 -04:00
parent e127d70584
commit f6b04e1599
7 changed files with 42 additions and 122 deletions
+6 -24
View File
@@ -5,21 +5,18 @@ package types
import (
fmt "fmt"
io "io"
math "math"
math_bits "math/bits"
_ "github.com/cosmos/cosmos-proto"
_ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto"
io "io"
math "math"
math_bits "math/bits"
)
// Reference imports to suppress errors if they are not otherwise used.
var (
_ = proto.Marshal
_ = fmt.Errorf
_ = math.Inf
)
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
@@ -43,11 +40,9 @@ func (*DIDDocument) ProtoMessage() {}
func (*DIDDocument) Descriptor() ([]byte, []int) {
return fileDescriptor_f1c7ebf7d0ca3c72, []int{0}
}
func (m *DIDDocument) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *DIDDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_DIDDocument.Marshal(b, m, deterministic)
@@ -60,15 +55,12 @@ func (m *DIDDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
return b[:n], nil
}
}
func (m *DIDDocument) XXX_Merge(src proto.Message) {
xxx_messageInfo_DIDDocument.Merge(m, src)
}
func (m *DIDDocument) XXX_Size() int {
return m.Size()
}
func (m *DIDDocument) XXX_DiscardUnknown() {
xxx_messageInfo_DIDDocument.DiscardUnknown(m)
}
@@ -133,11 +125,9 @@ func (*VerificationMethod) ProtoMessage() {}
func (*VerificationMethod) Descriptor() ([]byte, []int) {
return fileDescriptor_f1c7ebf7d0ca3c72, []int{1}
}
func (m *VerificationMethod) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_VerificationMethod.Marshal(b, m, deterministic)
@@ -150,15 +140,12 @@ func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte,
return b[:n], nil
}
}
func (m *VerificationMethod) XXX_Merge(src proto.Message) {
xxx_messageInfo_VerificationMethod.Merge(m, src)
}
func (m *VerificationMethod) XXX_Size() int {
return m.Size()
}
func (m *VerificationMethod) XXX_DiscardUnknown() {
xxx_messageInfo_VerificationMethod.DiscardUnknown(m)
}
@@ -387,7 +374,6 @@ func encodeVarintAccount(dAtA []byte, offset int, v uint64) int {
dAtA[offset] = uint8(v)
return base
}
func (m *DIDDocument) Size() (n int) {
if m == nil {
return 0
@@ -463,11 +449,9 @@ func (m *VerificationMethod) Size() (n int) {
func sovAccount(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7
}
func sozAccount(x uint64) (n int) {
return sovAccount(uint64((x << 1) ^ uint64((int64(x) >> 63))))
}
func (m *DIDDocument) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -712,7 +696,6 @@ func (m *DIDDocument) Unmarshal(dAtA []byte) error {
}
return nil
}
func (m *VerificationMethod) Unmarshal(dAtA []byte) error {
l := len(dAtA)
iNdEx := 0
@@ -986,7 +969,6 @@ func (m *VerificationMethod) Unmarshal(dAtA []byte) error {
}
return nil
}
func skipAccount(dAtA []byte) (n int, err error) {
l := len(dAtA)
iNdEx := 0
+21 -21
View File
@@ -464,7 +464,7 @@ func init() {
func init() { proto.RegisterFile("did/v1/state.proto", fileDescriptor_f44bb702879c34b4) }
var fileDescriptor_f44bb702879c34b4 = []byte{
// 618 bytes of a gzipped FileDescriptorProto
// 621 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xa4, 0x94, 0xc1, 0x6e, 0xd3, 0x40,
0x10, 0x86, 0xeb, 0x38, 0x6d, 0x93, 0x49, 0xd2, 0x56, 0xab, 0x4a, 0x98, 0x20, 0x4c, 0x08, 0xaa,
0x14, 0x2e, 0x36, 0x85, 0x0b, 0x6a, 0x39, 0x50, 0xda, 0x1e, 0x00, 0x55, 0x42, 0x81, 0x13, 0x97,
@@ -484,26 +484,26 @@ var fileDescriptor_f44bb702879c34b4 = []byte{
0x44, 0x93, 0x42, 0xb7, 0x79, 0xd9, 0xaa, 0x3c, 0xb4, 0xb6, 0x56, 0x7e, 0x9c, 0x7c, 0xfd, 0x60,
0xd7, 0xa0, 0x6a, 0x86, 0xed, 0x7e, 0xb2, 0xa0, 0xb1, 0xa3, 0x14, 0xc9, 0xdc, 0xfc, 0x47, 0x13,
0x66, 0x4d, 0xec, 0x52, 0x93, 0x8c, 0x26, 0x82, 0xf3, 0x43, 0xa7, 0x6a, 0xa8, 0x7e, 0xf9, 0xdb,
0x4c, 0x73, 0xb2, 0x3e, 0x5b, 0x00, 0xbb, 0xb3, 0xf0, 0x9c, 0xaa, 0x35, 0xb0, 0x31, 0xc5, 0xb9,
0xa0, 0xec, 0x11, 0xdd, 0x83, 0xf5, 0x64, 0x32, 0x8c, 0x68, 0x38, 0xc8, 0xe4, 0xc6, 0x93, 0x48,
0xd1, 0x61, 0x20, 0x0b, 0x6d, 0xc8, 0xc4, 0x9e, 0x93, 0xf4, 0xa0, 0x88, 0xa0, 0x1b, 0x50, 0x9f,
0x06, 0x93, 0x48, 0x0d, 0x42, 0x8a, 0x73, 0xb1, 0x35, 0x0d, 0x76, 0x29, 0x46, 0x1d, 0x68, 0x1c,
0x52, 0x36, 0x22, 0x22, 0x11, 0x94, 0x29, 0x2d, 0xb8, 0xd9, 0x2f, 0xa3, 0x4b, 0x8a, 0x2b, 0xdd,
0xf7, 0x36, 0xc0, 0x1e, 0x89, 0xc8, 0xe8, 0x6a, 0x1f, 0xe7, 0x15, 0xdf, 0x04, 0x08, 0x8f, 0x02,
0xca, 0x8c, 0xb7, 0x46, 0x67, 0x5d, 0x13, 0xed, 0xee, 0x1d, 0x68, 0x99, 0x70, 0x80, 0xb1, 0x20,
0x52, 0xe6, 0x12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 0xff, 0x5f, 0x0f, 0x7e, 0x06, 0x00, 0x00,
0xff, 0xff, 0x69, 0x73, 0x3f, 0xd2, 0x0c, 0x05, 0x00, 0x00,
0x4c, 0x97, 0x64, 0x55, 0xba, 0x9f, 0x2d, 0x80, 0xdd, 0x59, 0x78, 0x4e, 0xd5, 0x1a, 0xd8, 0x38,
0xcb, 0x33, 0x13, 0x63, 0x8a, 0xd1, 0x3d, 0x58, 0x4f, 0x26, 0xc3, 0x88, 0x86, 0x83, 0x4c, 0x6e,
0x3c, 0x89, 0x14, 0x1d, 0x06, 0xb2, 0xd0, 0x86, 0x4c, 0xec, 0x39, 0x49, 0x0f, 0x8a, 0x08, 0xba,
0x01, 0xf5, 0x69, 0x30, 0x89, 0xd4, 0x20, 0xa4, 0x38, 0x17, 0x5b, 0xd3, 0x60, 0x97, 0x62, 0xd4,
0x81, 0xc6, 0x21, 0x65, 0x23, 0x22, 0x12, 0x41, 0x99, 0xd2, 0x82, 0x9b, 0xfd, 0x32, 0xba, 0xa4,
0xd8, 0xee, 0xbe, 0xb7, 0x01, 0xf6, 0x48, 0x44, 0x46, 0x57, 0xfb, 0x38, 0xaf, 0xf8, 0x26, 0x40,
0x78, 0x14, 0x50, 0x66, 0xbc, 0x35, 0x3a, 0xeb, 0x9a, 0x68, 0x77, 0xef, 0x40, 0xcb, 0x84, 0x03,
0x8c, 0x05, 0x91, 0x32, 0x97, 0xd8, 0xd4, 0x70, 0xc7, 0x30, 0xb4, 0x01, 0x2b, 0x17, 0x26, 0x0e,
0xb2, 0x06, 0xc6, 0xda, 0xd6, 0x05, 0xdd, 0xfb, 0x83, 0x39, 0x4b, 0xbf, 0x35, 0xe7, 0x00, 0x56,
0x4b, 0x15, 0x6f, 0x8e, 0xc7, 0xd2, 0x59, 0xd6, 0x77, 0xbc, 0x51, 0xdc, 0xf1, 0xc5, 0xac, 0xde,
0x8b, 0xa2, 0xfe, 0xd9, 0xf1, 0x58, 0x9a, 0x6b, 0x6e, 0x25, 0x65, 0x96, 0xcf, 0xca, 0x18, 0x89,
0x06, 0x14, 0x3b, 0xb5, 0x8e, 0xd5, 0xab, 0xea, 0x59, 0x33, 0xf2, 0x14, 0xb7, 0x1f, 0x03, 0x9a,
0xff, 0xc6, 0x7f, 0x9c, 0x75, 0xb5, 0x7b, 0x62, 0xc1, 0xf2, 0x4b, 0x22, 0xa6, 0x34, 0x24, 0x73,
0xab, 0xb8, 0x0d, 0x4d, 0x69, 0x42, 0xe5, 0xb3, 0x6e, 0xe4, 0x4c, 0x9b, 0x7f, 0x17, 0xd6, 0x8a,
0x14, 0xc2, 0x70, 0xc2, 0xb3, 0x1b, 0x30, 0x1b, 0x5a, 0xcd, 0xf9, 0x7e, 0x8e, 0xaf, 0x58, 0x41,
0xf5, 0x8a, 0x15, 0x5c, 0x12, 0xb8, 0xf8, 0xe4, 0xd1, 0x97, 0x33, 0xd7, 0x3a, 0x3d, 0x73, 0xad,
0xef, 0x67, 0xae, 0xf5, 0xf1, 0xdc, 0x5d, 0x38, 0x3d, 0x77, 0x17, 0xbe, 0x9d, 0xbb, 0x0b, 0xaf,
0xbb, 0x23, 0xaa, 0x8e, 0x26, 0x43, 0x2f, 0xe4, 0xb1, 0xcf, 0x99, 0xe4, 0x4c, 0xf8, 0x47, 0xc7,
0x41, 0xea, 0xbf, 0xf5, 0xb3, 0x7f, 0x58, 0xa6, 0x58, 0x0e, 0x97, 0xf4, 0xff, 0xeb, 0xc1, 0xcf,
0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0x60, 0x52, 0x18, 0x0c, 0x05, 0x00, 0x00,
}
func (m *Assertion) Marshal() (dAtA []byte, err error) {