feat: remaining record content types to support #79
@ -32,8 +32,8 @@ message WebsiteRegistrationRecord {
|
|||||||
string url = 1 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
string url = 1 [(gogoproto.moretags) = "json:\"url\" yaml:\"url\""];
|
||||||
HashReference repo_hash_reference = 2
|
HashReference repo_hash_reference = 2
|
||||||
[(gogoproto.moretags) = "json:\"repoHashReference\" yaml:\"repoHashReference\""];
|
[(gogoproto.moretags) = "json:\"repoHashReference\" yaml:\"repoHashReference\""];
|
||||||
HashReference build_artifact_hash_ref = 3 [(gogoproto.moretags) = "json:\"buildArtifactHashRef\" yaml:\"buildArtifactHashRef\""];
|
HashReference build_artifact_ref = 3 [(gogoproto.moretags) = "json:\"buildArtifactHashRef\" yaml:\"buildArtifactHashRef\""];
|
||||||
HashReference tls_cert_hash_ref = 4 [(gogoproto.moretags) = "json:\"tlsCertHashRef\" yaml:\"tlsCertHashRef\""];
|
HashReference tls_cert_ref = 4 [(gogoproto.moretags) = "json:\"tlsCertHashRef\" yaml:\"tlsCertHashRef\""];
|
||||||
string type = 5 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
string type = 5 [(gogoproto.moretags) = "json:\"type\" yaml:\"type\""];
|
||||||
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
string version = 6 [(gogoproto.moretags) = "json:\"version\" yaml:\"version\""];
|
||||||
}
|
}
|
||||||
@ -50,29 +50,29 @@ message Binary{
|
|||||||
HashReference hash_reference=1;
|
HashReference hash_reference=1;
|
||||||
string targeted_arch=2;
|
string targeted_arch=2;
|
||||||
string runtime_version=3;
|
string runtime_version=3;
|
||||||
HashReference repo_hash_reference=4;
|
HashReference repo_reference=4;
|
||||||
string version=5;
|
string version=5;
|
||||||
string type=6;
|
string type=6;
|
||||||
}
|
}
|
||||||
|
|
||||||
message DockerImage{
|
message DockerImage{
|
||||||
string image_id=1;
|
string image_id=1;
|
||||||
HashReference binary_hash_reference=2;
|
HashReference binary_reference=2;
|
||||||
HashReference repo_hash_reference=3;
|
HashReference repo_reference=3;
|
||||||
string version=4;
|
string version=4;
|
||||||
string type=5;
|
string type=5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message WatcherRegistrationRecord{
|
message WatcherRegistrationRecord{
|
||||||
WatcherMetadata metadata =1;
|
WatcherMetadata metadata =1;
|
||||||
HashReference repo_hash_reference=2;
|
HashReference repo_reference=2;
|
||||||
WASMBinary wasm=3;
|
WASMBinary wasm=3;
|
||||||
string version=4;
|
string version=4;
|
||||||
string type=5;
|
string type=5;
|
||||||
|
|
||||||
message WatcherMetadata{
|
message WatcherMetadata{
|
||||||
string version=1;
|
string version=1;
|
||||||
HashReference chain_hash_reference=2;
|
HashReference chain_reference=2;
|
||||||
}
|
}
|
||||||
|
|
||||||
message WASMBinary{
|
message WASMBinary{
|
||||||
@ -87,16 +87,16 @@ message WatcherRegistrationRecord{
|
|||||||
}
|
}
|
||||||
|
|
||||||
message ResponderContract{
|
message ResponderContract{
|
||||||
HashReference service_provider_hash_ref=1;
|
HashReference service_provider_ref=1;
|
||||||
HashReference auction_hash_ref=2;
|
HashReference auction_ref=2;
|
||||||
HashReference watcher_hash_ref=3;
|
HashReference watcher_ref=3;
|
||||||
string version=4;
|
string version=4;
|
||||||
string type=5;
|
string type=5;
|
||||||
}
|
}
|
||||||
|
|
||||||
message JSPackage{
|
message JSPackage{
|
||||||
HashReference repo_hash_reference=1;
|
HashReference repo_reference=1;
|
||||||
HashReference js_package_hash_ref=2;
|
HashReference js_package_ref=2;
|
||||||
string version=3;
|
string version=3;
|
||||||
string type=4;
|
string type=4;
|
||||||
string name =5;
|
string name =5;
|
||||||
@ -109,5 +109,5 @@ message ChainRegistrationRecord{
|
|||||||
string version=4;
|
string version=4;
|
||||||
string chain_id=5;
|
string chain_id=5;
|
||||||
string network_id=6;
|
string network_id=6;
|
||||||
string genesis_hash=7;
|
HashReference genesis_hash=7;
|
||||||
}
|
}
|
477
x/registry/types/attributes.pb.go
generated
477
x/registry/types/attributes.pb.go
generated
@ -230,8 +230,8 @@ func (m *ServiceProviderRecord_X500) GetCountry() string {
|
|||||||
type WebsiteRegistrationRecord struct {
|
type WebsiteRegistrationRecord struct {
|
||||||
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" json:"url" yaml:"url"`
|
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty" json:"url" yaml:"url"`
|
||||||
RepoHashReference *HashReference `protobuf:"bytes,2,opt,name=repo_hash_reference,json=repoHashReference,proto3" json:"repo_hash_reference,omitempty" json:"repoHashReference" yaml:"repoHashReference"`
|
RepoHashReference *HashReference `protobuf:"bytes,2,opt,name=repo_hash_reference,json=repoHashReference,proto3" json:"repo_hash_reference,omitempty" json:"repoHashReference" yaml:"repoHashReference"`
|
||||||
BuildArtifactHashRef *HashReference `protobuf:"bytes,3,opt,name=build_artifact_hash_ref,json=buildArtifactHashRef,proto3" json:"build_artifact_hash_ref,omitempty" json:"buildArtifactHashRef" yaml:"buildArtifactHashRef"`
|
BuildArtifactRef *HashReference `protobuf:"bytes,3,opt,name=build_artifact_ref,json=buildArtifactRef,proto3" json:"build_artifact_ref,omitempty" json:"buildArtifactHashRef" yaml:"buildArtifactHashRef"`
|
||||||
TlsCertHashRef *HashReference `protobuf:"bytes,4,opt,name=tls_cert_hash_ref,json=tlsCertHashRef,proto3" json:"tls_cert_hash_ref,omitempty" json:"tlsCertHashRef" yaml:"tlsCertHashRef"`
|
TlsCertRef *HashReference `protobuf:"bytes,4,opt,name=tls_cert_ref,json=tlsCertRef,proto3" json:"tls_cert_ref,omitempty" json:"tlsCertHashRef" yaml:"tlsCertHashRef"`
|
||||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"`
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty" json:"type" yaml:"type"`
|
||||||
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"`
|
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty" json:"version" yaml:"version"`
|
||||||
}
|
}
|
||||||
@ -283,16 +283,16 @@ func (m *WebsiteRegistrationRecord) GetRepoHashReference() *HashReference {
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *WebsiteRegistrationRecord) GetBuildArtifactHashRef() *HashReference {
|
func (m *WebsiteRegistrationRecord) GetBuildArtifactRef() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.BuildArtifactHashRef
|
return m.BuildArtifactRef
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *WebsiteRegistrationRecord) GetTlsCertHashRef() *HashReference {
|
func (m *WebsiteRegistrationRecord) GetTlsCertRef() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.TlsCertHashRef
|
return m.TlsCertRef
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -391,7 +391,7 @@ type Binary struct {
|
|||||||
HashReference *HashReference `protobuf:"bytes,1,opt,name=hash_reference,json=hashReference,proto3" json:"hash_reference,omitempty"`
|
HashReference *HashReference `protobuf:"bytes,1,opt,name=hash_reference,json=hashReference,proto3" json:"hash_reference,omitempty"`
|
||||||
TargetedArch string `protobuf:"bytes,2,opt,name=targeted_arch,json=targetedArch,proto3" json:"targeted_arch,omitempty"`
|
TargetedArch string `protobuf:"bytes,2,opt,name=targeted_arch,json=targetedArch,proto3" json:"targeted_arch,omitempty"`
|
||||||
RuntimeVersion string `protobuf:"bytes,3,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
|
RuntimeVersion string `protobuf:"bytes,3,opt,name=runtime_version,json=runtimeVersion,proto3" json:"runtime_version,omitempty"`
|
||||||
RepoHashReference *HashReference `protobuf:"bytes,4,opt,name=repo_hash_reference,json=repoHashReference,proto3" json:"repo_hash_reference,omitempty"`
|
RepoReference *HashReference `protobuf:"bytes,4,opt,name=repo_reference,json=repoReference,proto3" json:"repo_reference,omitempty"`
|
||||||
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,5,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,6,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
}
|
}
|
||||||
@ -450,9 +450,9 @@ func (m *Binary) GetRuntimeVersion() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *Binary) GetRepoHashReference() *HashReference {
|
func (m *Binary) GetRepoReference() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.RepoHashReference
|
return m.RepoReference
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -473,8 +473,8 @@ func (m *Binary) GetType() string {
|
|||||||
|
|
||||||
type DockerImage struct {
|
type DockerImage struct {
|
||||||
ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
|
ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
|
||||||
BinaryHashReference *HashReference `protobuf:"bytes,2,opt,name=binary_hash_reference,json=binaryHashReference,proto3" json:"binary_hash_reference,omitempty"`
|
BinaryReference *HashReference `protobuf:"bytes,2,opt,name=binary_reference,json=binaryReference,proto3" json:"binary_reference,omitempty"`
|
||||||
RepoHashReference *HashReference `protobuf:"bytes,3,opt,name=repo_hash_reference,json=repoHashReference,proto3" json:"repo_hash_reference,omitempty"`
|
RepoReference *HashReference `protobuf:"bytes,3,opt,name=repo_reference,json=repoReference,proto3" json:"repo_reference,omitempty"`
|
||||||
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
}
|
}
|
||||||
@ -519,16 +519,16 @@ func (m *DockerImage) GetImageId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *DockerImage) GetBinaryHashReference() *HashReference {
|
func (m *DockerImage) GetBinaryReference() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.BinaryHashReference
|
return m.BinaryReference
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *DockerImage) GetRepoHashReference() *HashReference {
|
func (m *DockerImage) GetRepoReference() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.RepoHashReference
|
return m.RepoReference
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -549,7 +549,7 @@ func (m *DockerImage) GetType() string {
|
|||||||
|
|
||||||
type WatcherRegistrationRecord struct {
|
type WatcherRegistrationRecord struct {
|
||||||
Metadata *WatcherRegistrationRecord_WatcherMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
Metadata *WatcherRegistrationRecord_WatcherMetadata `protobuf:"bytes,1,opt,name=metadata,proto3" json:"metadata,omitempty"`
|
||||||
RepoHashReference *HashReference `protobuf:"bytes,2,opt,name=repo_hash_reference,json=repoHashReference,proto3" json:"repo_hash_reference,omitempty"`
|
RepoReference *HashReference `protobuf:"bytes,2,opt,name=repo_reference,json=repoReference,proto3" json:"repo_reference,omitempty"`
|
||||||
Wasm *WatcherRegistrationRecord_WASMBinary `protobuf:"bytes,3,opt,name=wasm,proto3" json:"wasm,omitempty"`
|
Wasm *WatcherRegistrationRecord_WASMBinary `protobuf:"bytes,3,opt,name=wasm,proto3" json:"wasm,omitempty"`
|
||||||
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
@ -595,9 +595,9 @@ func (m *WatcherRegistrationRecord) GetMetadata() *WatcherRegistrationRecord_Wat
|
|||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *WatcherRegistrationRecord) GetRepoHashReference() *HashReference {
|
func (m *WatcherRegistrationRecord) GetRepoReference() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.RepoHashReference
|
return m.RepoReference
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -625,7 +625,7 @@ func (m *WatcherRegistrationRecord) GetType() string {
|
|||||||
|
|
||||||
type WatcherRegistrationRecord_WatcherMetadata struct {
|
type WatcherRegistrationRecord_WatcherMetadata struct {
|
||||||
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
ChainHashReference *HashReference `protobuf:"bytes,2,opt,name=chain_hash_reference,json=chainHashReference,proto3" json:"chain_hash_reference,omitempty"`
|
ChainReference *HashReference `protobuf:"bytes,2,opt,name=chain_reference,json=chainReference,proto3" json:"chain_reference,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *WatcherRegistrationRecord_WatcherMetadata) Reset() {
|
func (m *WatcherRegistrationRecord_WatcherMetadata) Reset() {
|
||||||
@ -672,9 +672,9 @@ func (m *WatcherRegistrationRecord_WatcherMetadata) GetVersion() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *WatcherRegistrationRecord_WatcherMetadata) GetChainHashReference() *HashReference {
|
func (m *WatcherRegistrationRecord_WatcherMetadata) GetChainReference() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.ChainHashReference
|
return m.ChainReference
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -788,9 +788,9 @@ func (m *WatcherRegistrationRecord_WASMBinaryMetadata) GetExecutionEngineVersion
|
|||||||
}
|
}
|
||||||
|
|
||||||
type ResponderContract struct {
|
type ResponderContract struct {
|
||||||
ServiceProviderHashRef *HashReference `protobuf:"bytes,1,opt,name=service_provider_hash_ref,json=serviceProviderHashRef,proto3" json:"service_provider_hash_ref,omitempty"`
|
ServiceProviderRef *HashReference `protobuf:"bytes,1,opt,name=service_provider_ref,json=serviceProviderRef,proto3" json:"service_provider_ref,omitempty"`
|
||||||
AuctionHashRef *HashReference `protobuf:"bytes,2,opt,name=auction_hash_ref,json=auctionHashRef,proto3" json:"auction_hash_ref,omitempty"`
|
AuctionRef *HashReference `protobuf:"bytes,2,opt,name=auction_ref,json=auctionRef,proto3" json:"auction_ref,omitempty"`
|
||||||
WatcherHashRef *HashReference `protobuf:"bytes,3,opt,name=watcher_hash_ref,json=watcherHashRef,proto3" json:"watcher_hash_ref,omitempty"`
|
WatcherRef *HashReference `protobuf:"bytes,3,opt,name=watcher_ref,json=watcherRef,proto3" json:"watcher_ref,omitempty"`
|
||||||
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
}
|
}
|
||||||
@ -828,23 +828,23 @@ func (m *ResponderContract) XXX_DiscardUnknown() {
|
|||||||
|
|
||||||
var xxx_messageInfo_ResponderContract proto.InternalMessageInfo
|
var xxx_messageInfo_ResponderContract proto.InternalMessageInfo
|
||||||
|
|
||||||
func (m *ResponderContract) GetServiceProviderHashRef() *HashReference {
|
func (m *ResponderContract) GetServiceProviderRef() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.ServiceProviderHashRef
|
return m.ServiceProviderRef
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ResponderContract) GetAuctionHashRef() *HashReference {
|
func (m *ResponderContract) GetAuctionRef() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.AuctionHashRef
|
return m.AuctionRef
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ResponderContract) GetWatcherHashRef() *HashReference {
|
func (m *ResponderContract) GetWatcherRef() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.WatcherHashRef
|
return m.WatcherRef
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -864,8 +864,8 @@ func (m *ResponderContract) GetType() string {
|
|||||||
}
|
}
|
||||||
|
|
||||||
type JSPackage struct {
|
type JSPackage struct {
|
||||||
RepoHashReference *HashReference `protobuf:"bytes,1,opt,name=repo_hash_reference,json=repoHashReference,proto3" json:"repo_hash_reference,omitempty"`
|
RepoReference *HashReference `protobuf:"bytes,1,opt,name=repo_reference,json=repoReference,proto3" json:"repo_reference,omitempty"`
|
||||||
JsPackageHashRef *HashReference `protobuf:"bytes,2,opt,name=js_package_hash_ref,json=jsPackageHashRef,proto3" json:"js_package_hash_ref,omitempty"`
|
JsPackageRef *HashReference `protobuf:"bytes,2,opt,name=js_package_ref,json=jsPackageRef,proto3" json:"js_package_ref,omitempty"`
|
||||||
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
||||||
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`
|
||||||
@ -904,16 +904,16 @@ func (m *JSPackage) XXX_DiscardUnknown() {
|
|||||||
|
|
||||||
var xxx_messageInfo_JSPackage proto.InternalMessageInfo
|
var xxx_messageInfo_JSPackage proto.InternalMessageInfo
|
||||||
|
|
||||||
func (m *JSPackage) GetRepoHashReference() *HashReference {
|
func (m *JSPackage) GetRepoReference() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.RepoHashReference
|
return m.RepoReference
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *JSPackage) GetJsPackageHashRef() *HashReference {
|
func (m *JSPackage) GetJsPackageRef() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.JsPackageHashRef
|
return m.JsPackageRef
|
||||||
}
|
}
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
@ -946,7 +946,7 @@ type ChainRegistrationRecord struct {
|
|||||||
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"`
|
||||||
ChainId string `protobuf:"bytes,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
|
ChainId string `protobuf:"bytes,5,opt,name=chain_id,json=chainId,proto3" json:"chain_id,omitempty"`
|
||||||
NetworkId string `protobuf:"bytes,6,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
|
NetworkId string `protobuf:"bytes,6,opt,name=network_id,json=networkId,proto3" json:"network_id,omitempty"`
|
||||||
GenesisHash string `protobuf:"bytes,7,opt,name=genesis_hash,json=genesisHash,proto3" json:"genesis_hash,omitempty"`
|
GenesisHash *HashReference `protobuf:"bytes,7,opt,name=genesis_hash,json=genesisHash,proto3" json:"genesis_hash,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ChainRegistrationRecord) Reset() { *m = ChainRegistrationRecord{} }
|
func (m *ChainRegistrationRecord) Reset() { *m = ChainRegistrationRecord{} }
|
||||||
@ -1024,11 +1024,11 @@ func (m *ChainRegistrationRecord) GetNetworkId() string {
|
|||||||
return ""
|
return ""
|
||||||
}
|
}
|
||||||
|
|
||||||
func (m *ChainRegistrationRecord) GetGenesisHash() string {
|
func (m *ChainRegistrationRecord) GetGenesisHash() *HashReference {
|
||||||
if m != nil {
|
if m != nil {
|
||||||
return m.GenesisHash
|
return m.GenesisHash
|
||||||
}
|
}
|
||||||
return ""
|
return nil
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
@ -1054,93 +1054,93 @@ func init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
var fileDescriptor_f305abc771332c96 = []byte{
|
var fileDescriptor_f305abc771332c96 = []byte{
|
||||||
// 1370 bytes of a gzipped FileDescriptorProto
|
// 1367 bytes of a gzipped FileDescriptorProto
|
||||||
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4d, 0x6f, 0x53, 0x47,
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xbc, 0x58, 0x4f, 0x6f, 0x53, 0xc7,
|
||||||
0x17, 0xe6, 0xda, 0x4e, 0x82, 0x4f, 0x48, 0x48, 0x86, 0x00, 0x8e, 0x11, 0x71, 0x30, 0x42, 0x04,
|
0x16, 0xe7, 0xda, 0x4e, 0x82, 0x8f, 0xf3, 0x8f, 0x79, 0xf0, 0x70, 0x82, 0x88, 0x83, 0x11, 0x22,
|
||||||
0xe5, 0x7d, 0xed, 0x00, 0xe2, 0x7d, 0x11, 0x74, 0x01, 0x01, 0x5a, 0xd2, 0x8a, 0x2a, 0x9a, 0x50,
|
0x28, 0xef, 0xd9, 0x01, 0xc4, 0x7b, 0x08, 0xba, 0x80, 0x00, 0x2d, 0xa1, 0xa5, 0x8d, 0x06, 0x0a,
|
||||||
0xa0, 0xad, 0x2a, 0x77, 0x3c, 0x77, 0xb0, 0x87, 0xd8, 0x77, 0xac, 0xb9, 0xe3, 0x80, 0xbb, 0xac,
|
0x55, 0xbb, 0x70, 0xc7, 0x73, 0x27, 0xf6, 0x10, 0xfb, 0x8e, 0x35, 0x77, 0x9c, 0xe0, 0xaa, 0x52,
|
||||||
0x54, 0xa9, 0x4b, 0xfe, 0x40, 0xff, 0x40, 0x77, 0xdd, 0xf4, 0x17, 0x74, 0xd1, 0x25, 0x55, 0x17,
|
0xa5, 0x7e, 0x02, 0x16, 0x95, 0xfa, 0x15, 0xfa, 0x09, 0xf8, 0x04, 0x5d, 0x74, 0x89, 0xd4, 0x4d,
|
||||||
0xad, 0xba, 0xb0, 0x2a, 0x58, 0x75, 0x59, 0xff, 0x82, 0x6a, 0x3e, 0xae, 0xef, 0xf5, 0x47, 0x50,
|
0xd5, 0x85, 0x55, 0xc1, 0xaa, 0xbb, 0xca, 0x1f, 0xa0, 0xaa, 0xe6, 0xcf, 0xf5, 0xbd, 0xf6, 0x0d,
|
||||||
0x4d, 0x68, 0x77, 0x33, 0xcf, 0x99, 0xf3, 0x9c, 0x33, 0xcf, 0x3d, 0x73, 0x66, 0x6c, 0x58, 0xdf,
|
0xa8, 0x26, 0x6d, 0x77, 0x33, 0xbf, 0x33, 0xe7, 0x77, 0xce, 0xfc, 0xe6, 0xcc, 0xb9, 0x63, 0xc3,
|
||||||
0x6b, 0x37, 0x28, 0x09, 0xf8, 0x17, 0xac, 0x2c, 0x59, 0x8d, 0x87, 0x4a, 0x76, 0xca, 0x7b, 0x17,
|
0xfa, 0x5e, 0xb7, 0x45, 0x49, 0xc0, 0xbf, 0x60, 0x55, 0xc9, 0x1a, 0x3c, 0x54, 0xb2, 0x57, 0xdd,
|
||||||
0xab, 0x4c, 0x91, 0x8b, 0x65, 0xa2, 0x94, 0xe4, 0xd5, 0xb6, 0x62, 0x61, 0xa9, 0x25, 0x85, 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0xb3,
|
0x7e, 0xe9, 0xff, 0xae, 0xaf, 0x68, 0xba, 0x9b, 0x8e, 0xcd, 0xad, 0x1a, 0x76, 0x99, 0x83, 0x6c,
|
||||||
0xe1, 0xa5, 0x71, 0x30, 0xfa, 0xca, 0x83, 0x45, 0xd5, 0x08, 0x2b, 0x94, 0xc9, 0x44, 0x66, 0x99,
|
0x78, 0x71, 0x04, 0xc6, 0x6c, 0x07, 0x7d, 0x09, 0xb3, 0xaa, 0x15, 0xd6, 0x28, 0x93, 0x36, 0x9f,
|
||||||
0x49, 0x33, 0x2b, 0xf7, 0xba, 0x85, 0x75, 0xd7, 0x10, 0x1a, 0xe1, 0x2d, 0x26, 0x87, 0x73, 0x1a,
|
0xdc, 0xa4, 0xf9, 0x54, 0x07, 0xfd, 0xd2, 0xba, 0xeb, 0x00, 0xad, 0xf0, 0x16, 0x93, 0xe3, 0x99,
|
||||||
0x42, 0xf1, 0xfc, 0x20, 0xd0, 0xef, 0x2f, 0x53, 0xff, 0x46, 0x7f, 0x29, 0xfe, 0x9c, 0x82, 0xb9,
|
0x8c, 0xa1, 0x18, 0x1c, 0xa0, 0xa3, 0x47, 0xcd, 0x64, 0xea, 0x9f, 0x68, 0x26, 0xe5, 0x1f, 0x33,
|
||||||
0xf7, 0xb8, 0xc2, 0xac, 0x25, 0x42, 0xae, 0x84, 0xec, 0xe8, 0xf8, 0x89, 0x0e, 0x93, 0x88, 0x1f,
|
0x30, 0xf7, 0x1e, 0x57, 0x98, 0x75, 0x44, 0xc8, 0x95, 0x90, 0x3d, 0x1d, 0x3f, 0xd1, 0x4e, 0x12,
|
||||||
0x24, 0xaa, 0xdf, 0x8c, 0xb1, 0x59, 0x88, 0x1e, 0xc0, 0xbc, 0x29, 0xb5, 0xc1, 0x2a, 0xcb, 0x26,
|
0xf1, 0x83, 0x44, 0xa9, 0x9b, 0x31, 0x36, 0x0b, 0xd1, 0x23, 0x98, 0x37, 0x75, 0x35, 0x5a, 0x52,
|
||||||
0x95, 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
}
|
}
|
||||||
|
|
||||||
func (m *HashReference) Marshal() (dAtA []byte, err error) {
|
func (m *HashReference) Marshal() (dAtA []byte, err error) {
|
||||||
@ -1347,9 +1347,9 @@ func (m *WebsiteRegistrationRecord) MarshalToSizedBuffer(dAtA []byte) (int, erro
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x2a
|
dAtA[i] = 0x2a
|
||||||
}
|
}
|
||||||
if m.TlsCertHashRef != nil {
|
if m.TlsCertRef != nil {
|
||||||
{
|
{
|
||||||
size, err := m.TlsCertHashRef.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.TlsCertRef.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1359,9 +1359,9 @@ func (m *WebsiteRegistrationRecord) MarshalToSizedBuffer(dAtA []byte) (int, erro
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x22
|
dAtA[i] = 0x22
|
||||||
}
|
}
|
||||||
if m.BuildArtifactHashRef != nil {
|
if m.BuildArtifactRef != nil {
|
||||||
{
|
{
|
||||||
size, err := m.BuildArtifactHashRef.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.BuildArtifactRef.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1485,9 +1485,9 @@ func (m *Binary) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x2a
|
dAtA[i] = 0x2a
|
||||||
}
|
}
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
{
|
{
|
||||||
size, err := m.RepoHashReference.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.RepoReference.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1560,9 +1560,9 @@ func (m *DockerImage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x22
|
dAtA[i] = 0x22
|
||||||
}
|
}
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
{
|
{
|
||||||
size, err := m.RepoHashReference.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.RepoReference.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1572,9 +1572,9 @@ func (m *DockerImage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
}
|
}
|
||||||
if m.BinaryHashReference != nil {
|
if m.BinaryReference != nil {
|
||||||
{
|
{
|
||||||
size, err := m.BinaryHashReference.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.BinaryReference.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1640,9 +1640,9 @@ func (m *WatcherRegistrationRecord) MarshalToSizedBuffer(dAtA []byte) (int, erro
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
}
|
}
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
{
|
{
|
||||||
size, err := m.RepoHashReference.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.RepoReference.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1687,9 +1687,9 @@ func (m *WatcherRegistrationRecord_WatcherMetadata) MarshalToSizedBuffer(dAtA []
|
|||||||
_ = i
|
_ = i
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if m.ChainHashReference != nil {
|
if m.ChainReference != nil {
|
||||||
{
|
{
|
||||||
size, err := m.ChainHashReference.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.ChainReference.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1827,9 +1827,9 @@ func (m *ResponderContract) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x22
|
dAtA[i] = 0x22
|
||||||
}
|
}
|
||||||
if m.WatcherHashRef != nil {
|
if m.WatcherRef != nil {
|
||||||
{
|
{
|
||||||
size, err := m.WatcherHashRef.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.WatcherRef.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1839,9 +1839,9 @@ func (m *ResponderContract) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
}
|
}
|
||||||
if m.AuctionHashRef != nil {
|
if m.AuctionRef != nil {
|
||||||
{
|
{
|
||||||
size, err := m.AuctionHashRef.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.AuctionRef.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1851,9 +1851,9 @@ func (m *ResponderContract) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
}
|
}
|
||||||
if m.ServiceProviderHashRef != nil {
|
if m.ServiceProviderRef != nil {
|
||||||
{
|
{
|
||||||
size, err := m.ServiceProviderHashRef.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.ServiceProviderRef.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1907,9 +1907,9 @@ func (m *JSPackage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x1a
|
dAtA[i] = 0x1a
|
||||||
}
|
}
|
||||||
if m.JsPackageHashRef != nil {
|
if m.JsPackageRef != nil {
|
||||||
{
|
{
|
||||||
size, err := m.JsPackageHashRef.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.JsPackageRef.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1919,9 +1919,9 @@ func (m *JSPackage) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|||||||
i--
|
i--
|
||||||
dAtA[i] = 0x12
|
dAtA[i] = 0x12
|
||||||
}
|
}
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
{
|
{
|
||||||
size, err := m.RepoHashReference.MarshalToSizedBuffer(dAtA[:i])
|
size, err := m.RepoReference.MarshalToSizedBuffer(dAtA[:i])
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return 0, err
|
return 0, err
|
||||||
}
|
}
|
||||||
@ -1954,10 +1954,15 @@ func (m *ChainRegistrationRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
|
|||||||
_ = i
|
_ = i
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if len(m.GenesisHash) > 0 {
|
if m.GenesisHash != nil {
|
||||||
i -= len(m.GenesisHash)
|
{
|
||||||
copy(dAtA[i:], m.GenesisHash)
|
size, err := m.GenesisHash.MarshalToSizedBuffer(dAtA[:i])
|
||||||
i = encodeVarintAttributes(dAtA, i, uint64(len(m.GenesisHash)))
|
if err != nil {
|
||||||
|
return 0, err
|
||||||
|
}
|
||||||
|
i -= size
|
||||||
|
i = encodeVarintAttributes(dAtA, i, uint64(size))
|
||||||
|
}
|
||||||
i--
|
i--
|
||||||
dAtA[i] = 0x3a
|
dAtA[i] = 0x3a
|
||||||
}
|
}
|
||||||
@ -2112,12 +2117,12 @@ func (m *WebsiteRegistrationRecord) Size() (n int) {
|
|||||||
l = m.RepoHashReference.Size()
|
l = m.RepoHashReference.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.BuildArtifactHashRef != nil {
|
if m.BuildArtifactRef != nil {
|
||||||
l = m.BuildArtifactHashRef.Size()
|
l = m.BuildArtifactRef.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.TlsCertHashRef != nil {
|
if m.TlsCertRef != nil {
|
||||||
l = m.TlsCertHashRef.Size()
|
l = m.TlsCertRef.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Type)
|
l = len(m.Type)
|
||||||
@ -2178,8 +2183,8 @@ func (m *Binary) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
l = m.RepoHashReference.Size()
|
l = m.RepoReference.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Version)
|
l = len(m.Version)
|
||||||
@ -2203,12 +2208,12 @@ func (m *DockerImage) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.BinaryHashReference != nil {
|
if m.BinaryReference != nil {
|
||||||
l = m.BinaryHashReference.Size()
|
l = m.BinaryReference.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
l = m.RepoHashReference.Size()
|
l = m.RepoReference.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Version)
|
l = len(m.Version)
|
||||||
@ -2232,8 +2237,8 @@ func (m *WatcherRegistrationRecord) Size() (n int) {
|
|||||||
l = m.Metadata.Size()
|
l = m.Metadata.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
l = m.RepoHashReference.Size()
|
l = m.RepoReference.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.Wasm != nil {
|
if m.Wasm != nil {
|
||||||
@ -2261,8 +2266,8 @@ func (m *WatcherRegistrationRecord_WatcherMetadata) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.ChainHashReference != nil {
|
if m.ChainReference != nil {
|
||||||
l = m.ChainHashReference.Size()
|
l = m.ChainReference.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
return n
|
return n
|
||||||
@ -2308,16 +2313,16 @@ func (m *ResponderContract) Size() (n int) {
|
|||||||
}
|
}
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if m.ServiceProviderHashRef != nil {
|
if m.ServiceProviderRef != nil {
|
||||||
l = m.ServiceProviderHashRef.Size()
|
l = m.ServiceProviderRef.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.AuctionHashRef != nil {
|
if m.AuctionRef != nil {
|
||||||
l = m.AuctionHashRef.Size()
|
l = m.AuctionRef.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.WatcherHashRef != nil {
|
if m.WatcherRef != nil {
|
||||||
l = m.WatcherHashRef.Size()
|
l = m.WatcherRef.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Version)
|
l = len(m.Version)
|
||||||
@ -2337,12 +2342,12 @@ func (m *JSPackage) Size() (n int) {
|
|||||||
}
|
}
|
||||||
var l int
|
var l int
|
||||||
_ = l
|
_ = l
|
||||||
if m.RepoHashReference != nil {
|
if m.RepoReference != nil {
|
||||||
l = m.RepoHashReference.Size()
|
l = m.RepoReference.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
if m.JsPackageHashRef != nil {
|
if m.JsPackageRef != nil {
|
||||||
l = m.JsPackageHashRef.Size()
|
l = m.JsPackageRef.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.Version)
|
l = len(m.Version)
|
||||||
@ -2392,8 +2397,8 @@ func (m *ChainRegistrationRecord) Size() (n int) {
|
|||||||
if l > 0 {
|
if l > 0 {
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
l = len(m.GenesisHash)
|
if m.GenesisHash != nil {
|
||||||
if l > 0 {
|
l = m.GenesisHash.Size()
|
||||||
n += 1 + l + sovAttributes(uint64(l))
|
n += 1 + l + sovAttributes(uint64(l))
|
||||||
}
|
}
|
||||||
return n
|
return n
|
||||||
@ -3137,7 +3142,7 @@ func (m *WebsiteRegistrationRecord) Unmarshal(dAtA []byte) error {
|
|||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 3:
|
case 3:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field BuildArtifactHashRef", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field BuildArtifactRef", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -3164,16 +3169,16 @@ func (m *WebsiteRegistrationRecord) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.BuildArtifactHashRef == nil {
|
if m.BuildArtifactRef == nil {
|
||||||
m.BuildArtifactHashRef = &HashReference{}
|
m.BuildArtifactRef = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.BuildArtifactHashRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.BuildArtifactRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 4:
|
case 4:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field TlsCertHashRef", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field TlsCertRef", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -3200,10 +3205,10 @@ func (m *WebsiteRegistrationRecord) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.TlsCertHashRef == nil {
|
if m.TlsCertRef == nil {
|
||||||
m.TlsCertHashRef = &HashReference{}
|
m.TlsCertRef = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.TlsCertHashRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.TlsCertRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -3633,7 +3638,7 @@ func (m *Binary) Unmarshal(dAtA []byte) error {
|
|||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 4:
|
case 4:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field RepoHashReference", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoReference", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -3660,10 +3665,10 @@ func (m *Binary) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.RepoHashReference == nil {
|
if m.RepoReference == nil {
|
||||||
m.RepoHashReference = &HashReference{}
|
m.RepoReference = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.RepoHashReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.RepoReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -3815,7 +3820,7 @@ func (m *DockerImage) Unmarshal(dAtA []byte) error {
|
|||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 2:
|
case 2:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field BinaryHashReference", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field BinaryReference", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -3842,16 +3847,16 @@ func (m *DockerImage) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.BinaryHashReference == nil {
|
if m.BinaryReference == nil {
|
||||||
m.BinaryHashReference = &HashReference{}
|
m.BinaryReference = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.BinaryHashReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.BinaryReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 3:
|
case 3:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field RepoHashReference", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoReference", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -3878,10 +3883,10 @@ func (m *DockerImage) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.RepoHashReference == nil {
|
if m.RepoReference == nil {
|
||||||
m.RepoHashReference = &HashReference{}
|
m.RepoReference = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.RepoHashReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.RepoReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -4037,7 +4042,7 @@ func (m *WatcherRegistrationRecord) Unmarshal(dAtA []byte) error {
|
|||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 2:
|
case 2:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field RepoHashReference", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoReference", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -4064,10 +4069,10 @@ func (m *WatcherRegistrationRecord) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.RepoHashReference == nil {
|
if m.RepoReference == nil {
|
||||||
m.RepoHashReference = &HashReference{}
|
m.RepoReference = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.RepoHashReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.RepoReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -4255,7 +4260,7 @@ func (m *WatcherRegistrationRecord_WatcherMetadata) Unmarshal(dAtA []byte) error
|
|||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 2:
|
case 2:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field ChainHashReference", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field ChainReference", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -4282,10 +4287,10 @@ func (m *WatcherRegistrationRecord_WatcherMetadata) Unmarshal(dAtA []byte) error
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.ChainHashReference == nil {
|
if m.ChainReference == nil {
|
||||||
m.ChainHashReference = &HashReference{}
|
m.ChainReference = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.ChainHashReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.ChainReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -4577,7 +4582,7 @@ func (m *ResponderContract) Unmarshal(dAtA []byte) error {
|
|||||||
switch fieldNum {
|
switch fieldNum {
|
||||||
case 1:
|
case 1:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field ServiceProviderHashRef", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field ServiceProviderRef", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -4604,16 +4609,16 @@ func (m *ResponderContract) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.ServiceProviderHashRef == nil {
|
if m.ServiceProviderRef == nil {
|
||||||
m.ServiceProviderHashRef = &HashReference{}
|
m.ServiceProviderRef = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.ServiceProviderHashRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.ServiceProviderRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 2:
|
case 2:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field AuctionHashRef", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field AuctionRef", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -4640,16 +4645,16 @@ func (m *ResponderContract) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.AuctionHashRef == nil {
|
if m.AuctionRef == nil {
|
||||||
m.AuctionHashRef = &HashReference{}
|
m.AuctionRef = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.AuctionHashRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.AuctionRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 3:
|
case 3:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field WatcherHashRef", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field WatcherRef", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -4676,10 +4681,10 @@ func (m *ResponderContract) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.WatcherHashRef == nil {
|
if m.WatcherRef == nil {
|
||||||
m.WatcherHashRef = &HashReference{}
|
m.WatcherRef = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.WatcherHashRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.WatcherRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -4799,7 +4804,7 @@ func (m *JSPackage) Unmarshal(dAtA []byte) error {
|
|||||||
switch fieldNum {
|
switch fieldNum {
|
||||||
case 1:
|
case 1:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field RepoHashReference", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field RepoReference", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -4826,16 +4831,16 @@ func (m *JSPackage) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.RepoHashReference == nil {
|
if m.RepoReference == nil {
|
||||||
m.RepoHashReference = &HashReference{}
|
m.RepoReference = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.RepoHashReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.RepoReference.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
case 2:
|
case 2:
|
||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field JsPackageHashRef", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field JsPackageRef", wireType)
|
||||||
}
|
}
|
||||||
var msglen int
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
@ -4862,10 +4867,10 @@ func (m *JSPackage) Unmarshal(dAtA []byte) error {
|
|||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
if m.JsPackageHashRef == nil {
|
if m.JsPackageRef == nil {
|
||||||
m.JsPackageHashRef = &HashReference{}
|
m.JsPackageRef = &HashReference{}
|
||||||
}
|
}
|
||||||
if err := m.JsPackageHashRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
if err := m.JsPackageRef.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
@ -5211,7 +5216,7 @@ func (m *ChainRegistrationRecord) Unmarshal(dAtA []byte) error {
|
|||||||
if wireType != 2 {
|
if wireType != 2 {
|
||||||
return fmt.Errorf("proto: wrong wireType = %d for field GenesisHash", wireType)
|
return fmt.Errorf("proto: wrong wireType = %d for field GenesisHash", wireType)
|
||||||
}
|
}
|
||||||
var stringLen uint64
|
var msglen int
|
||||||
for shift := uint(0); ; shift += 7 {
|
for shift := uint(0); ; shift += 7 {
|
||||||
if shift >= 64 {
|
if shift >= 64 {
|
||||||
return ErrIntOverflowAttributes
|
return ErrIntOverflowAttributes
|
||||||
@ -5221,23 +5226,27 @@ func (m *ChainRegistrationRecord) Unmarshal(dAtA []byte) error {
|
|||||||
}
|
}
|
||||||
b := dAtA[iNdEx]
|
b := dAtA[iNdEx]
|
||||||
iNdEx++
|
iNdEx++
|
||||||
stringLen |= uint64(b&0x7F) << shift
|
msglen |= int(b&0x7F) << shift
|
||||||
if b < 0x80 {
|
if b < 0x80 {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
intStringLen := int(stringLen)
|
if msglen < 0 {
|
||||||
if intStringLen < 0 {
|
|
||||||
return ErrInvalidLengthAttributes
|
return ErrInvalidLengthAttributes
|
||||||
}
|
}
|
||||||
postIndex := iNdEx + intStringLen
|
postIndex := iNdEx + msglen
|
||||||
if postIndex < 0 {
|
if postIndex < 0 {
|
||||||
return ErrInvalidLengthAttributes
|
return ErrInvalidLengthAttributes
|
||||||
}
|
}
|
||||||
if postIndex > l {
|
if postIndex > l {
|
||||||
return io.ErrUnexpectedEOF
|
return io.ErrUnexpectedEOF
|
||||||
}
|
}
|
||||||
m.GenesisHash = string(dAtA[iNdEx:postIndex])
|
if m.GenesisHash == nil {
|
||||||
|
m.GenesisHash = &HashReference{}
|
||||||
|
}
|
||||||
|
if err := m.GenesisHash.Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
||||||
|
return err
|
||||||
|
}
|
||||||
iNdEx = postIndex
|
iNdEx = postIndex
|
||||||
default:
|
default:
|
||||||
iNdEx = preIndex
|
iNdEx = preIndex
|
||||||
|
Loading…
Reference in New Issue
Block a user