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

View File

@ -52,8 +52,7 @@ comma := ,
build_tags_comma_sep := $(subst $(empty),$(comma),$(build_tags)) build_tags_comma_sep := $(subst $(empty),$(comma),$(build_tags))
# process linker flags # process linker flags
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=sonr \
ldflags = -X github.com/cosmos/cosmos-sdk/version.Name=core \
-X github.com/cosmos/cosmos-sdk/version.AppName=sonrd \ -X github.com/cosmos/cosmos-sdk/version.AppName=sonrd \
-X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \ -X github.com/cosmos/cosmos-sdk/version.Version=$(VERSION) \
-X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \ -X github.com/cosmos/cosmos-sdk/version.Commit=$(COMMIT) \
@ -231,7 +230,7 @@ local-image:
ifeq (,$(shell which heighliner)) ifeq (,$(shell which heighliner))
echo 'heighliner' binary not found. Consider running `make get-heighliner` echo 'heighliner' binary not found. Consider running `make get-heighliner`
else else
heighliner build -c core --local -f chains.yaml heighliner build -c sonr --local -f chains.yaml
endif endif
.PHONY: get-heighliner local-image is-localic-installed .PHONY: get-heighliner local-image is-localic-installed
@ -273,7 +272,7 @@ setup-testnet: mod-tidy is-localic-installed install local-image set-testnet-con
# Run this before testnet keys are added # Run this before testnet keys are added
# chainid-1 is used in the testnet.json # chainid-1 is used in the testnet.json
set-testnet-configs: set-testnet-configs:
sonrd config set client chain-id chainid-1 sonrd config set client chain-id sonr-testnet-1
sonrd config set client keyring-backend test sonrd config set client keyring-backend test
sonrd config set client output text sonrd config set client output text
@ -290,6 +289,6 @@ testnet-basic: setup-testnet
spawn local-ic start testnet spawn local-ic start testnet
sh-testnet: mod-tidy sh-testnet: mod-tidy
CHAIN_ID="local-1" BLOCK_TIME="1000ms" CLEAN=true sh scripts/test_node.sh CHAIN_ID="sonr-testnet-1" BLOCK_TIME="1000ms" CLEAN=true sh scripts/test_node.sh
.PHONY: setup-testnet set-testnet-configs testnet testnet-basic sh-testnet .PHONY: setup-testnet set-testnet-configs testnet testnet-basic sh-testnet

View File

@ -4419,7 +4419,7 @@ var file_did_v1_state_proto_rawDesc = []byte{
0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x70, 0x72, 0x6f, 0x6f, 0x66, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6c, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x74, 0x72,
0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x04, 0x0a, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x04, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x01, 0x22, 0xaf, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x02, 0x69, 0x64, 0x18, 0x02, 0x22, 0xaf, 0x01, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f,
0x6c, 0x6c, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x14, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63,
@ -4430,7 +4430,7 @@ var file_did_v1_state_proto_rawDesc = []byte{
0x6c, 0x74, 0x43, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70, 0x6c, 0x74, 0x43, 0x69, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x65, 0x72, 0x70,
0x72, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x67, 0x72, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0b, 0x66, 0x69, 0x6e, 0x67,
0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x65, 0x72, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a,
0x04, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x22, 0x8b, 0x03, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x04, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x03, 0x22, 0x8b, 0x03, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65,
0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x67, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x64, 0x69, 0x64, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x69, 0x01, 0x28, 0x09, 0x52, 0x03, 0x64, 0x69, 0x64, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x69,
@ -4455,7 +4455,7 @@ var file_did_v1_state_proto_rawDesc = []byte{
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x04, 0x0a, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x04, 0x0a,
0x02, 0x69, 0x64, 0x18, 0x03, 0x22, 0x9e, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x02, 0x69, 0x64, 0x18, 0x04, 0x22, 0x9e, 0x01, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69,
0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x64, 0x12, 0x21, 0x0a, 0x0c, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70,
0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
@ -4465,7 +4465,7 @@ var file_did_v1_state_proto_rawDesc = []byte{
0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x64, 0x69, 0x25, 0x0a, 0x0e, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x5f, 0x64, 0x69,
0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c,
0x6c, 0x65, 0x72, 0x44, 0x69, 0x64, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x04, 0x6c, 0x65, 0x72, 0x44, 0x69, 0x64, 0x3a, 0x0e, 0xf2, 0x9e, 0xd3, 0x8e, 0x03, 0x08, 0x0a, 0x04,
0x0a, 0x02, 0x69, 0x64, 0x18, 0x04, 0x42, 0x7a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x69, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x05, 0x42, 0x7a, 0x0a, 0x0a, 0x63, 0x6f, 0x6d, 0x2e, 0x64, 0x69,
0x64, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x0a, 0x53, 0x74, 0x61, 0x74, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f, 0x50, 0x01, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6f,
0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x68, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64, 0x6e, 0x73, 0x6f, 0x6e, 0x72, 0x2f, 0x68, 0x77, 0x61, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x64,

View File

@ -5,6 +5,7 @@ import (
"fmt" "fmt"
"io" "io"
"os" "os"
"path/filepath"
"sort" "sort"
"strings" "strings"
"sync" "sync"
@ -171,7 +172,7 @@ var (
// any overrides above // any overrides above
var ( var (
// DefaultNodeHome default home directories for appd // DefaultNodeHome default home directories for appd
DefaultNodeHome = os.ExpandEnv("$HOME") + NodeDir DefaultNodeHome = filepath.Join(os.ExpandEnv("$HOME"), NodeDir)
// Bech32PrefixAccAddr defines the Bech32 prefix of an account's address // Bech32PrefixAccAddr defines the Bech32 prefix of an account's address
Bech32PrefixAccAddr = Bech32Prefix Bech32PrefixAccAddr = Bech32Prefix

View File

@ -1,63 +1 @@
{ {}
"start_time": 1715665827,
"chains": [
{
"chain_id": "chainid-1",
"chain_name": "chainid-1",
"rpc_address": "http://0.0.0.0:26657",
"rest_address": "http://0.0.0.0:1317",
"grpc_address": "0.0.0.0:9090",
"p2p_address": "0.0.0.0:52887",
"ibc_paths": [
"ibc-connection-1"
]
},
{
"chain_id": "localcosmos-1",
"chain_name": "localcosmos-1",
"rpc_address": "http://0.0.0.0:52884",
"rest_address": "http://0.0.0.0:52881",
"grpc_address": "0.0.0.0:52885",
"p2p_address": "0.0.0.0:52883",
"ibc_paths": [
"ibc-connection-1"
]
}
],
"ibc_channels": [
{
"chain_id": "chainid-1",
"channel": {
"state": "STATE_OPEN",
"ordering": "ORDER_UNORDERED",
"counterparty": {
"port_id": "transfer",
"channel_id": "channel-0"
},
"connection_hops": [
"connection-0"
],
"version": "ics20-1",
"port_id": "transfer",
"channel_id": "channel-0"
}
},
{
"chain_id": "localcosmos-1",
"channel": {
"state": "STATE_OPEN",
"ordering": "ORDER_UNORDERED",
"counterparty": {
"port_id": "transfer",
"channel_id": "channel-0"
},
"connection_hops": [
"connection-0"
],
"version": "ics20-1",
"port_id": "transfer",
"channel_id": "channel-0"
}
}
]
}

View File

@ -33,7 +33,7 @@ message Assertion {
// Attestation represents linked identifiers (e.g., Crypto Accounts, Github, Email, Phone) // Attestation represents linked identifiers (e.g., Crypto Accounts, Github, Email, Phone)
message Attestation { message Attestation {
option (cosmos.orm.v1.table) = { option (cosmos.orm.v1.table) = {
id: 1 id: 2
primary_key: {fields: "id"} primary_key: {fields: "id"}
}; };
@ -57,7 +57,7 @@ message Attestation {
// Controller represents a Sonr DWN Vault // Controller represents a Sonr DWN Vault
message Controller { message Controller {
option (cosmos.orm.v1.table) = { option (cosmos.orm.v1.table) = {
id: 2 id: 3
primary_key: {fields: "id"} primary_key: {fields: "id"}
}; };
@ -80,7 +80,7 @@ message Controller {
// Delegation represents IBC Account Controllers for various chains (e.g., ETH, BTC) // Delegation represents IBC Account Controllers for various chains (e.g., ETH, BTC)
message Delegation { message Delegation {
option (cosmos.orm.v1.table) = { option (cosmos.orm.v1.table) = {
id: 3 id: 4
primary_key: {fields: "id"} primary_key: {fields: "id"}
}; };
@ -112,7 +112,7 @@ message Delegation {
// Service represents a service in a DID Document // Service represents a service in a DID Document
message Service { message Service {
option (cosmos.orm.v1.table) = { option (cosmos.orm.v1.table) = {
id: 4 id: 5
primary_key: {fields: "id"} primary_key: {fields: "id"}
}; };

View File

@ -5,21 +5,18 @@ package types
import ( import (
fmt "fmt" fmt "fmt"
io "io"
math "math"
math_bits "math/bits"
_ "github.com/cosmos/cosmos-proto" _ "github.com/cosmos/cosmos-proto"
_ "github.com/cosmos/gogoproto/gogoproto" _ "github.com/cosmos/gogoproto/gogoproto"
proto "github.com/cosmos/gogoproto/proto" 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. // Reference imports to suppress errors if they are not otherwise used.
var ( var _ = proto.Marshal
_ = proto.Marshal var _ = fmt.Errorf
_ = fmt.Errorf var _ = math.Inf
_ = math.Inf
)
// This is a compile-time assertion to ensure that this generated file // This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against. // is compatible with the proto package it is being compiled against.
@ -43,11 +40,9 @@ func (*DIDDocument) ProtoMessage() {}
func (*DIDDocument) Descriptor() ([]byte, []int) { func (*DIDDocument) Descriptor() ([]byte, []int) {
return fileDescriptor_f1c7ebf7d0ca3c72, []int{0} return fileDescriptor_f1c7ebf7d0ca3c72, []int{0}
} }
func (m *DIDDocument) XXX_Unmarshal(b []byte) error { func (m *DIDDocument) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
} }
func (m *DIDDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *DIDDocument) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic { if deterministic {
return xxx_messageInfo_DIDDocument.Marshal(b, m, 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 return b[:n], nil
} }
} }
func (m *DIDDocument) XXX_Merge(src proto.Message) { func (m *DIDDocument) XXX_Merge(src proto.Message) {
xxx_messageInfo_DIDDocument.Merge(m, src) xxx_messageInfo_DIDDocument.Merge(m, src)
} }
func (m *DIDDocument) XXX_Size() int { func (m *DIDDocument) XXX_Size() int {
return m.Size() return m.Size()
} }
func (m *DIDDocument) XXX_DiscardUnknown() { func (m *DIDDocument) XXX_DiscardUnknown() {
xxx_messageInfo_DIDDocument.DiscardUnknown(m) xxx_messageInfo_DIDDocument.DiscardUnknown(m)
} }
@ -133,11 +125,9 @@ func (*VerificationMethod) ProtoMessage() {}
func (*VerificationMethod) Descriptor() ([]byte, []int) { func (*VerificationMethod) Descriptor() ([]byte, []int) {
return fileDescriptor_f1c7ebf7d0ca3c72, []int{1} return fileDescriptor_f1c7ebf7d0ca3c72, []int{1}
} }
func (m *VerificationMethod) XXX_Unmarshal(b []byte) error { func (m *VerificationMethod) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b) return m.Unmarshal(b)
} }
func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { func (m *VerificationMethod) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic { if deterministic {
return xxx_messageInfo_VerificationMethod.Marshal(b, m, 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 return b[:n], nil
} }
} }
func (m *VerificationMethod) XXX_Merge(src proto.Message) { func (m *VerificationMethod) XXX_Merge(src proto.Message) {
xxx_messageInfo_VerificationMethod.Merge(m, src) xxx_messageInfo_VerificationMethod.Merge(m, src)
} }
func (m *VerificationMethod) XXX_Size() int { func (m *VerificationMethod) XXX_Size() int {
return m.Size() return m.Size()
} }
func (m *VerificationMethod) XXX_DiscardUnknown() { func (m *VerificationMethod) XXX_DiscardUnknown() {
xxx_messageInfo_VerificationMethod.DiscardUnknown(m) xxx_messageInfo_VerificationMethod.DiscardUnknown(m)
} }
@ -387,7 +374,6 @@ func encodeVarintAccount(dAtA []byte, offset int, v uint64) int {
dAtA[offset] = uint8(v) dAtA[offset] = uint8(v)
return base return base
} }
func (m *DIDDocument) Size() (n int) { func (m *DIDDocument) Size() (n int) {
if m == nil { if m == nil {
return 0 return 0
@ -463,11 +449,9 @@ func (m *VerificationMethod) Size() (n int) {
func sovAccount(x uint64) (n int) { func sovAccount(x uint64) (n int) {
return (math_bits.Len64(x|1) + 6) / 7 return (math_bits.Len64(x|1) + 6) / 7
} }
func sozAccount(x uint64) (n int) { func sozAccount(x uint64) (n int) {
return sovAccount(uint64((x << 1) ^ uint64((int64(x) >> 63)))) return sovAccount(uint64((x << 1) ^ uint64((int64(x) >> 63))))
} }
func (m *DIDDocument) Unmarshal(dAtA []byte) error { func (m *DIDDocument) Unmarshal(dAtA []byte) error {
l := len(dAtA) l := len(dAtA)
iNdEx := 0 iNdEx := 0
@ -712,7 +696,6 @@ func (m *DIDDocument) Unmarshal(dAtA []byte) error {
} }
return nil return nil
} }
func (m *VerificationMethod) Unmarshal(dAtA []byte) error { func (m *VerificationMethod) Unmarshal(dAtA []byte) error {
l := len(dAtA) l := len(dAtA)
iNdEx := 0 iNdEx := 0
@ -986,7 +969,6 @@ func (m *VerificationMethod) Unmarshal(dAtA []byte) error {
} }
return nil return nil
} }
func skipAccount(dAtA []byte) (n int, err error) { func skipAccount(dAtA []byte) (n int, err error) {
l := len(dAtA) l := len(dAtA)
iNdEx := 0 iNdEx := 0

View File

@ -464,7 +464,7 @@ func init() {
func init() { proto.RegisterFile("did/v1/state.proto", fileDescriptor_f44bb702879c34b4) } func init() { proto.RegisterFile("did/v1/state.proto", fileDescriptor_f44bb702879c34b4) }
var fileDescriptor_f44bb702879c34b4 = []byte{ 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, 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, 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, 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, 0x44, 0x93, 0x42, 0xb7, 0x79, 0xd9, 0xaa, 0x3c, 0xb4, 0xb6, 0x56, 0x7e, 0x9c, 0x7c, 0xf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0xb9, 0xd6, 0xe9, 0x99, 0x6b, 0x7d, 0x3f, 0x73, 0xf5, 0x8a, 0x15, 0x5c, 0x12, 0xb8, 0xf8, 0xe4, 0xd1, 0x97, 0x33, 0xd7, 0x3a, 0x3d, 0x73, 0xad,
0xad, 0x8f, 0xe7, 0xee, 0xc2, 0xe9, 0xb9, 0xbb, 0xf0, 0xed, 0xdc, 0x5d, 0x78, 0xdd, 0x1d, 0x51, 0xef, 0x67, 0xae, 0xf5, 0xf1, 0xdc, 0x5d, 0x38, 0x3d, 0x77, 0x17, 0xbe, 0x9d, 0xbb, 0x0b, 0xaf,
0x75, 0x34, 0x19, 0x7a, 0x21, 0x8f, 0x7d, 0xce, 0x24, 0x67, 0xc2, 0x3f, 0x3a, 0x0e, 0x52, 0xff, 0xbb, 0x23, 0xaa, 0x8e, 0x26, 0x43, 0x2f, 0xe4, 0xb1, 0xcf, 0x99, 0xe4, 0x4c, 0xf8, 0x47, 0xc7,
0xad, 0x9f, 0xfd, 0xc3, 0x32, 0xc5, 0x72, 0xb8, 0xa4, 0xff, 0x5f, 0x0f, 0x7e, 0x06, 0x00, 0x00, 0x41, 0xea, 0xbf, 0xf5, 0xb3, 0x7f, 0x58, 0xa6, 0x58, 0x0e, 0x97, 0xf4, 0xff, 0xeb, 0xc1, 0xcf,
0xff, 0xff, 0x69, 0x73, 0x3f, 0xd2, 0x0c, 0x05, 0x00, 0x00, 0x00, 0x00, 0x00, 0xff, 0xff, 0x13, 0x60, 0x52, 0x18, 0x0c, 0x05, 0x00, 0x00,
} }
func (m *Assertion) Marshal() (dAtA []byte, err error) { func (m *Assertion) Marshal() (dAtA []byte, err error) {