@agoric/cosmos 0.34.2-dev-a29afed.0.a29afed → 0.34.2-dev-cb1866d.0.cb1866d
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/git-revision.txt +1 -1
- package/package.json +2 -2
- package/proto/agoric/swingset/msgs.proto +75 -6
- package/proto/agoric/swingset/query.proto +26 -0
- package/proto/agoric/swingset/swingset.proto +95 -0
- package/x/swingset/abci.go +5 -0
- package/x/swingset/keeper/chunked_artifact_id_test.go +168 -0
- package/x/swingset/keeper/grpc_query.go +24 -0
- package/x/swingset/keeper/keeper.go +210 -2
- package/x/swingset/keeper/msg_server.go +204 -1
- package/x/swingset/keeper/msg_server_test.go +297 -1
- package/x/swingset/types/default-params.go +9 -0
- package/x/swingset/types/list_tools.go +103 -0
- package/x/swingset/types/msgs.go +131 -21
- package/x/swingset/types/msgs.pb.go +876 -198
- package/x/swingset/types/msgs_test.go +11 -21
- package/x/swingset/types/params.go +63 -13
- package/x/swingset/types/params_test.go +56 -26
- package/x/swingset/types/query.pb.go +526 -32
- package/x/swingset/types/query.pb.gw.go +101 -0
- package/x/swingset/types/swingset.pb.go +1288 -123
|
@@ -28,6 +28,42 @@ var _ = math.Inf
|
|
|
28
28
|
// proto package needs to be updated.
|
|
29
29
|
const _ = proto.GoGoProtoPackageIsVersion3 // please upgrade the proto package
|
|
30
30
|
|
|
31
|
+
// Current state of this chunk.
|
|
32
|
+
type ChunkState int32
|
|
33
|
+
|
|
34
|
+
const (
|
|
35
|
+
// Unknown state.
|
|
36
|
+
ChunkState_CHUNK_STATE_UNSPECIFIED ChunkState = 0
|
|
37
|
+
// The chunk is still in-flight.
|
|
38
|
+
ChunkState_CHUNK_STATE_IN_FLIGHT ChunkState = 1
|
|
39
|
+
// The chunk has been received.
|
|
40
|
+
ChunkState_CHUNK_STATE_RECEIVED ChunkState = 2
|
|
41
|
+
// The chunk has been processed.
|
|
42
|
+
ChunkState_CHUNK_STATE_PROCESSED ChunkState = 3
|
|
43
|
+
)
|
|
44
|
+
|
|
45
|
+
var ChunkState_name = map[int32]string{
|
|
46
|
+
0: "CHUNK_STATE_UNSPECIFIED",
|
|
47
|
+
1: "CHUNK_STATE_IN_FLIGHT",
|
|
48
|
+
2: "CHUNK_STATE_RECEIVED",
|
|
49
|
+
3: "CHUNK_STATE_PROCESSED",
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
var ChunkState_value = map[string]int32{
|
|
53
|
+
"CHUNK_STATE_UNSPECIFIED": 0,
|
|
54
|
+
"CHUNK_STATE_IN_FLIGHT": 1,
|
|
55
|
+
"CHUNK_STATE_RECEIVED": 2,
|
|
56
|
+
"CHUNK_STATE_PROCESSED": 3,
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
func (x ChunkState) String() string {
|
|
60
|
+
return proto.EnumName(ChunkState_name, int32(x))
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
func (ChunkState) EnumDescriptor() ([]byte, []int) {
|
|
64
|
+
return fileDescriptor_ff9c341e0de15f8b, []int{0}
|
|
65
|
+
}
|
|
66
|
+
|
|
31
67
|
// CoreEvalProposal is a gov Content type for evaluating code in the SwingSet
|
|
32
68
|
// core.
|
|
33
69
|
// See `bridgeCoreEval` in agoric-sdk packages/vats/src/core/chain-behaviors.js.
|
|
@@ -173,6 +209,17 @@ type Params struct {
|
|
|
173
209
|
// nodes must all serialize and deserialize the existing order without
|
|
174
210
|
// permuting it.
|
|
175
211
|
VatCleanupBudget []UintMapEntry `protobuf:"bytes,6,rep,name=vat_cleanup_budget,json=vatCleanupBudget,proto3" json:"vat_cleanup_budget"`
|
|
212
|
+
// The maximum number of blocks that an async installation can use. -1 is
|
|
213
|
+
// unlimited.
|
|
214
|
+
InstallationDeadlineBlocks int64 `protobuf:"varint,7,opt,name=installation_deadline_blocks,json=installationDeadlineBlocks,proto3" json:"installation_deadline_blocks,omitempty"`
|
|
215
|
+
// The maximum number of seconds that an async installation can use. -1 is
|
|
216
|
+
// unlimited.
|
|
217
|
+
InstallationDeadlineSeconds int64 `protobuf:"varint,8,opt,name=installation_deadline_seconds,json=installationDeadlineSeconds,proto3" json:"installation_deadline_seconds,omitempty"`
|
|
218
|
+
// The maximum size of a bundle (0 implies default 10000000 bytes). This
|
|
219
|
+
// limit is exclusive.
|
|
220
|
+
BundleUncompressedSizeLimitBytes int64 `protobuf:"varint,9,opt,name=bundle_uncompressed_size_limit_bytes,json=bundleUncompressedSizeLimitBytes,proto3" json:"bundle_uncompressed_size_limit_bytes,omitempty"`
|
|
221
|
+
// The maximum size of a bundle or artifact chunk (0 implies default 490000 bytes)
|
|
222
|
+
ChunkSizeLimitBytes int64 `protobuf:"varint,10,opt,name=chunk_size_limit_bytes,json=chunkSizeLimitBytes,proto3" json:"chunk_size_limit_bytes,omitempty"`
|
|
176
223
|
}
|
|
177
224
|
|
|
178
225
|
func (m *Params) Reset() { *m = Params{} }
|
|
@@ -249,11 +296,45 @@ func (m *Params) GetVatCleanupBudget() []UintMapEntry {
|
|
|
249
296
|
return nil
|
|
250
297
|
}
|
|
251
298
|
|
|
299
|
+
func (m *Params) GetInstallationDeadlineBlocks() int64 {
|
|
300
|
+
if m != nil {
|
|
301
|
+
return m.InstallationDeadlineBlocks
|
|
302
|
+
}
|
|
303
|
+
return 0
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
func (m *Params) GetInstallationDeadlineSeconds() int64 {
|
|
307
|
+
if m != nil {
|
|
308
|
+
return m.InstallationDeadlineSeconds
|
|
309
|
+
}
|
|
310
|
+
return 0
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
func (m *Params) GetBundleUncompressedSizeLimitBytes() int64 {
|
|
314
|
+
if m != nil {
|
|
315
|
+
return m.BundleUncompressedSizeLimitBytes
|
|
316
|
+
}
|
|
317
|
+
return 0
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
func (m *Params) GetChunkSizeLimitBytes() int64 {
|
|
321
|
+
if m != nil {
|
|
322
|
+
return m.ChunkSizeLimitBytes
|
|
323
|
+
}
|
|
324
|
+
return 0
|
|
325
|
+
}
|
|
326
|
+
|
|
252
327
|
// The current state of the module.
|
|
253
328
|
type State struct {
|
|
254
329
|
// The allowed number of items to add to queues, as determined by SwingSet.
|
|
255
330
|
// Transactions which attempt to enqueue more should be rejected.
|
|
256
331
|
QueueAllowed []QueueSize `protobuf:"bytes,1,rep,name=queue_allowed,json=queueAllowed,proto3" json:"queue_allowed"`
|
|
332
|
+
// Doubly-linked list in order of ascending start block and time.
|
|
333
|
+
FirstChunkedArtifactId uint64 `protobuf:"varint,2,opt,name=first_chunked_artifact_id,json=firstChunkedArtifactId,proto3" json:"first_chunked_artifact_id" yaml:"first_chunked_artifact_id"`
|
|
334
|
+
// The last chunked artifact id that has not expired nor completed.
|
|
335
|
+
LastChunkedArtifactId uint64 `protobuf:"varint,3,opt,name=last_chunked_artifact_id,json=lastChunkedArtifactId,proto3" json:"last_chunked_artifact_id" yaml:"last_chunked_artifact_id"`
|
|
336
|
+
// The next monotonically increasing chunked artifact id to allocate.
|
|
337
|
+
NextChunkedArtifactId uint64 `protobuf:"varint,4,opt,name=next_chunked_artifact_id,json=nextChunkedArtifactId,proto3" json:"next_chunked_artifact_id" yaml:"next_chunked_artifact_id"`
|
|
257
338
|
}
|
|
258
339
|
|
|
259
340
|
func (m *State) Reset() { *m = State{} }
|
|
@@ -296,6 +377,27 @@ func (m *State) GetQueueAllowed() []QueueSize {
|
|
|
296
377
|
return nil
|
|
297
378
|
}
|
|
298
379
|
|
|
380
|
+
func (m *State) GetFirstChunkedArtifactId() uint64 {
|
|
381
|
+
if m != nil {
|
|
382
|
+
return m.FirstChunkedArtifactId
|
|
383
|
+
}
|
|
384
|
+
return 0
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
func (m *State) GetLastChunkedArtifactId() uint64 {
|
|
388
|
+
if m != nil {
|
|
389
|
+
return m.LastChunkedArtifactId
|
|
390
|
+
}
|
|
391
|
+
return 0
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
func (m *State) GetNextChunkedArtifactId() uint64 {
|
|
395
|
+
if m != nil {
|
|
396
|
+
return m.NextChunkedArtifactId
|
|
397
|
+
}
|
|
398
|
+
return 0
|
|
399
|
+
}
|
|
400
|
+
|
|
299
401
|
// Map element of a string key to a Nat bean count.
|
|
300
402
|
type StringBeans struct {
|
|
301
403
|
// What the beans are for.
|
|
@@ -619,7 +721,227 @@ func (m *SwingStoreArtifact) GetData() []byte {
|
|
|
619
721
|
return nil
|
|
620
722
|
}
|
|
621
723
|
|
|
724
|
+
// ChunkedArtifact is the manifest for an artifact that is submitted across
|
|
725
|
+
// multiple transactions, in chunks, as when using InstallBundle to submit
|
|
726
|
+
// chunks.
|
|
727
|
+
type ChunkedArtifact struct {
|
|
728
|
+
// The SHA-512 hash of the entire artifact's contents.
|
|
729
|
+
Sha512 string `protobuf:"bytes,1,opt,name=sha512,proto3" json:"sha512" yaml:"sha512"`
|
|
730
|
+
// The size of the final artifact in bytes.
|
|
731
|
+
SizeBytes uint64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes" yaml:"size_bytes"`
|
|
732
|
+
// Information about the chunks that will be concatenated to form this
|
|
733
|
+
// artifact.
|
|
734
|
+
Chunks []*ChunkInfo `protobuf:"bytes,3,rep,name=chunks,proto3" json:"chunks" yaml:"chunks"`
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
func (m *ChunkedArtifact) Reset() { *m = ChunkedArtifact{} }
|
|
738
|
+
func (m *ChunkedArtifact) String() string { return proto.CompactTextString(m) }
|
|
739
|
+
func (*ChunkedArtifact) ProtoMessage() {}
|
|
740
|
+
func (*ChunkedArtifact) Descriptor() ([]byte, []int) {
|
|
741
|
+
return fileDescriptor_ff9c341e0de15f8b, []int{10}
|
|
742
|
+
}
|
|
743
|
+
func (m *ChunkedArtifact) XXX_Unmarshal(b []byte) error {
|
|
744
|
+
return m.Unmarshal(b)
|
|
745
|
+
}
|
|
746
|
+
func (m *ChunkedArtifact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
747
|
+
if deterministic {
|
|
748
|
+
return xxx_messageInfo_ChunkedArtifact.Marshal(b, m, deterministic)
|
|
749
|
+
} else {
|
|
750
|
+
b = b[:cap(b)]
|
|
751
|
+
n, err := m.MarshalToSizedBuffer(b)
|
|
752
|
+
if err != nil {
|
|
753
|
+
return nil, err
|
|
754
|
+
}
|
|
755
|
+
return b[:n], nil
|
|
756
|
+
}
|
|
757
|
+
}
|
|
758
|
+
func (m *ChunkedArtifact) XXX_Merge(src proto.Message) {
|
|
759
|
+
xxx_messageInfo_ChunkedArtifact.Merge(m, src)
|
|
760
|
+
}
|
|
761
|
+
func (m *ChunkedArtifact) XXX_Size() int {
|
|
762
|
+
return m.Size()
|
|
763
|
+
}
|
|
764
|
+
func (m *ChunkedArtifact) XXX_DiscardUnknown() {
|
|
765
|
+
xxx_messageInfo_ChunkedArtifact.DiscardUnknown(m)
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
var xxx_messageInfo_ChunkedArtifact proto.InternalMessageInfo
|
|
769
|
+
|
|
770
|
+
func (m *ChunkedArtifact) GetSha512() string {
|
|
771
|
+
if m != nil {
|
|
772
|
+
return m.Sha512
|
|
773
|
+
}
|
|
774
|
+
return ""
|
|
775
|
+
}
|
|
776
|
+
|
|
777
|
+
func (m *ChunkedArtifact) GetSizeBytes() uint64 {
|
|
778
|
+
if m != nil {
|
|
779
|
+
return m.SizeBytes
|
|
780
|
+
}
|
|
781
|
+
return 0
|
|
782
|
+
}
|
|
783
|
+
|
|
784
|
+
func (m *ChunkedArtifact) GetChunks() []*ChunkInfo {
|
|
785
|
+
if m != nil {
|
|
786
|
+
return m.Chunks
|
|
787
|
+
}
|
|
788
|
+
return nil
|
|
789
|
+
}
|
|
790
|
+
|
|
791
|
+
// Information about a chunk of an artifact.
|
|
792
|
+
type ChunkInfo struct {
|
|
793
|
+
// The SHA-512 hash of the chunk contents.
|
|
794
|
+
Sha512 string `protobuf:"bytes,1,opt,name=sha512,proto3" json:"sha512" yaml:"sha512"`
|
|
795
|
+
// The chunk size in bytes.
|
|
796
|
+
SizeBytes uint64 `protobuf:"varint,2,opt,name=size_bytes,json=sizeBytes,proto3" json:"size_bytes" yaml:"size_bytes"`
|
|
797
|
+
// The current state of the chunk.
|
|
798
|
+
State ChunkState `protobuf:"varint,3,opt,name=state,proto3,enum=agoric.swingset.ChunkState" json:"state" yaml:"state"`
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
func (m *ChunkInfo) Reset() { *m = ChunkInfo{} }
|
|
802
|
+
func (m *ChunkInfo) String() string { return proto.CompactTextString(m) }
|
|
803
|
+
func (*ChunkInfo) ProtoMessage() {}
|
|
804
|
+
func (*ChunkInfo) Descriptor() ([]byte, []int) {
|
|
805
|
+
return fileDescriptor_ff9c341e0de15f8b, []int{11}
|
|
806
|
+
}
|
|
807
|
+
func (m *ChunkInfo) XXX_Unmarshal(b []byte) error {
|
|
808
|
+
return m.Unmarshal(b)
|
|
809
|
+
}
|
|
810
|
+
func (m *ChunkInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
811
|
+
if deterministic {
|
|
812
|
+
return xxx_messageInfo_ChunkInfo.Marshal(b, m, deterministic)
|
|
813
|
+
} else {
|
|
814
|
+
b = b[:cap(b)]
|
|
815
|
+
n, err := m.MarshalToSizedBuffer(b)
|
|
816
|
+
if err != nil {
|
|
817
|
+
return nil, err
|
|
818
|
+
}
|
|
819
|
+
return b[:n], nil
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
func (m *ChunkInfo) XXX_Merge(src proto.Message) {
|
|
823
|
+
xxx_messageInfo_ChunkInfo.Merge(m, src)
|
|
824
|
+
}
|
|
825
|
+
func (m *ChunkInfo) XXX_Size() int {
|
|
826
|
+
return m.Size()
|
|
827
|
+
}
|
|
828
|
+
func (m *ChunkInfo) XXX_DiscardUnknown() {
|
|
829
|
+
xxx_messageInfo_ChunkInfo.DiscardUnknown(m)
|
|
830
|
+
}
|
|
831
|
+
|
|
832
|
+
var xxx_messageInfo_ChunkInfo proto.InternalMessageInfo
|
|
833
|
+
|
|
834
|
+
func (m *ChunkInfo) GetSha512() string {
|
|
835
|
+
if m != nil {
|
|
836
|
+
return m.Sha512
|
|
837
|
+
}
|
|
838
|
+
return ""
|
|
839
|
+
}
|
|
840
|
+
|
|
841
|
+
func (m *ChunkInfo) GetSizeBytes() uint64 {
|
|
842
|
+
if m != nil {
|
|
843
|
+
return m.SizeBytes
|
|
844
|
+
}
|
|
845
|
+
return 0
|
|
846
|
+
}
|
|
847
|
+
|
|
848
|
+
func (m *ChunkInfo) GetState() ChunkState {
|
|
849
|
+
if m != nil {
|
|
850
|
+
return m.State
|
|
851
|
+
}
|
|
852
|
+
return ChunkState_CHUNK_STATE_UNSPECIFIED
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
// A node in a doubly-linked-list of chunked artifacts, as used for chunked
|
|
856
|
+
// bundle installation, in order of ascending block time.
|
|
857
|
+
// This list is not circular and has no sentinel head node; the start and end
|
|
858
|
+
// are indicated by prev_id/next_id being 0.
|
|
859
|
+
// The keeper uses this to expediently expire stale incomplete artifacts.
|
|
860
|
+
type ChunkedArtifactNode struct {
|
|
861
|
+
// The id of the pending bundle installation.
|
|
862
|
+
ChunkedArtifactId uint64 `protobuf:"varint,1,opt,name=chunked_artifact_id,json=chunkedArtifactId,proto3" json:"chunkedArtifactId" yaml:"chunkedArtifactId"`
|
|
863
|
+
// The ID of the next chunked artifact in the list.
|
|
864
|
+
// A value of 0 indicates the end of the list.
|
|
865
|
+
NextId uint64 `protobuf:"varint,2,opt,name=next_id,json=nextId,proto3" json:"nextId" yaml:"nextId"`
|
|
866
|
+
// The ID of the previous chunked artifact in the list.
|
|
867
|
+
// A value of 0 indicates the start of the list.
|
|
868
|
+
PrevId uint64 `protobuf:"varint,3,opt,name=prev_id,json=prevId,proto3" json:"prevId" yaml:"prevId"`
|
|
869
|
+
// The time at which the pending installation began, in UNIX epoch seconds.
|
|
870
|
+
StartTimeUnix int64 `protobuf:"varint,4,opt,name=start_time_unix,json=startTimeUnix,proto3" json:"startTimeUnix" yaml:"startTimeUnix"`
|
|
871
|
+
// The block at which the pending installation began.
|
|
872
|
+
StartBlockHeight int64 `protobuf:"varint,5,opt,name=start_block_height,json=startBlockHeight,proto3" json:"startBlockHeight" yaml:"startBlockHeight"`
|
|
873
|
+
}
|
|
874
|
+
|
|
875
|
+
func (m *ChunkedArtifactNode) Reset() { *m = ChunkedArtifactNode{} }
|
|
876
|
+
func (m *ChunkedArtifactNode) String() string { return proto.CompactTextString(m) }
|
|
877
|
+
func (*ChunkedArtifactNode) ProtoMessage() {}
|
|
878
|
+
func (*ChunkedArtifactNode) Descriptor() ([]byte, []int) {
|
|
879
|
+
return fileDescriptor_ff9c341e0de15f8b, []int{12}
|
|
880
|
+
}
|
|
881
|
+
func (m *ChunkedArtifactNode) XXX_Unmarshal(b []byte) error {
|
|
882
|
+
return m.Unmarshal(b)
|
|
883
|
+
}
|
|
884
|
+
func (m *ChunkedArtifactNode) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
885
|
+
if deterministic {
|
|
886
|
+
return xxx_messageInfo_ChunkedArtifactNode.Marshal(b, m, deterministic)
|
|
887
|
+
} else {
|
|
888
|
+
b = b[:cap(b)]
|
|
889
|
+
n, err := m.MarshalToSizedBuffer(b)
|
|
890
|
+
if err != nil {
|
|
891
|
+
return nil, err
|
|
892
|
+
}
|
|
893
|
+
return b[:n], nil
|
|
894
|
+
}
|
|
895
|
+
}
|
|
896
|
+
func (m *ChunkedArtifactNode) XXX_Merge(src proto.Message) {
|
|
897
|
+
xxx_messageInfo_ChunkedArtifactNode.Merge(m, src)
|
|
898
|
+
}
|
|
899
|
+
func (m *ChunkedArtifactNode) XXX_Size() int {
|
|
900
|
+
return m.Size()
|
|
901
|
+
}
|
|
902
|
+
func (m *ChunkedArtifactNode) XXX_DiscardUnknown() {
|
|
903
|
+
xxx_messageInfo_ChunkedArtifactNode.DiscardUnknown(m)
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
var xxx_messageInfo_ChunkedArtifactNode proto.InternalMessageInfo
|
|
907
|
+
|
|
908
|
+
func (m *ChunkedArtifactNode) GetChunkedArtifactId() uint64 {
|
|
909
|
+
if m != nil {
|
|
910
|
+
return m.ChunkedArtifactId
|
|
911
|
+
}
|
|
912
|
+
return 0
|
|
913
|
+
}
|
|
914
|
+
|
|
915
|
+
func (m *ChunkedArtifactNode) GetNextId() uint64 {
|
|
916
|
+
if m != nil {
|
|
917
|
+
return m.NextId
|
|
918
|
+
}
|
|
919
|
+
return 0
|
|
920
|
+
}
|
|
921
|
+
|
|
922
|
+
func (m *ChunkedArtifactNode) GetPrevId() uint64 {
|
|
923
|
+
if m != nil {
|
|
924
|
+
return m.PrevId
|
|
925
|
+
}
|
|
926
|
+
return 0
|
|
927
|
+
}
|
|
928
|
+
|
|
929
|
+
func (m *ChunkedArtifactNode) GetStartTimeUnix() int64 {
|
|
930
|
+
if m != nil {
|
|
931
|
+
return m.StartTimeUnix
|
|
932
|
+
}
|
|
933
|
+
return 0
|
|
934
|
+
}
|
|
935
|
+
|
|
936
|
+
func (m *ChunkedArtifactNode) GetStartBlockHeight() int64 {
|
|
937
|
+
if m != nil {
|
|
938
|
+
return m.StartBlockHeight
|
|
939
|
+
}
|
|
940
|
+
return 0
|
|
941
|
+
}
|
|
942
|
+
|
|
622
943
|
func init() {
|
|
944
|
+
proto.RegisterEnum("agoric.swingset.ChunkState", ChunkState_name, ChunkState_value)
|
|
623
945
|
proto.RegisterType((*CoreEvalProposal)(nil), "agoric.swingset.CoreEvalProposal")
|
|
624
946
|
proto.RegisterType((*CoreEval)(nil), "agoric.swingset.CoreEval")
|
|
625
947
|
proto.RegisterType((*Params)(nil), "agoric.swingset.Params")
|
|
@@ -630,72 +952,112 @@ func init() {
|
|
|
630
952
|
proto.RegisterType((*UintMapEntry)(nil), "agoric.swingset.UintMapEntry")
|
|
631
953
|
proto.RegisterType((*Egress)(nil), "agoric.swingset.Egress")
|
|
632
954
|
proto.RegisterType((*SwingStoreArtifact)(nil), "agoric.swingset.SwingStoreArtifact")
|
|
955
|
+
proto.RegisterType((*ChunkedArtifact)(nil), "agoric.swingset.ChunkedArtifact")
|
|
956
|
+
proto.RegisterType((*ChunkInfo)(nil), "agoric.swingset.ChunkInfo")
|
|
957
|
+
proto.RegisterType((*ChunkedArtifactNode)(nil), "agoric.swingset.ChunkedArtifactNode")
|
|
633
958
|
}
|
|
634
959
|
|
|
635
960
|
func init() { proto.RegisterFile("agoric/swingset/swingset.proto", fileDescriptor_ff9c341e0de15f8b) }
|
|
636
961
|
|
|
637
962
|
var fileDescriptor_ff9c341e0de15f8b = []byte{
|
|
638
|
-
//
|
|
639
|
-
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff,
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
963
|
+
// 1538 bytes of a gzipped FileDescriptorProto
|
|
964
|
+
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xc4, 0x57, 0xbd, 0x6f, 0x1b, 0xc9,
|
|
965
|
+
0x15, 0x27, 0x4d, 0x52, 0x16, 0x47, 0x94, 0x44, 0x8f, 0x64, 0x8b, 0x92, 0x6c, 0x8e, 0xb0, 0x49,
|
|
966
|
+
0xa1, 0xd8, 0x30, 0x69, 0xf9, 0x03, 0x01, 0x64, 0x04, 0xb1, 0x96, 0xa2, 0x22, 0xc1, 0xb6, 0x4c,
|
|
967
|
+
0x2f, 0x25, 0x17, 0x89, 0x8d, 0xc5, 0x70, 0x77, 0x48, 0xad, 0xb5, 0xdc, 0xa5, 0x77, 0x86, 0xb4,
|
|
968
|
+
0x64, 0xe4, 0x0f, 0x08, 0x52, 0x05, 0x29, 0x82, 0x94, 0xae, 0x53, 0xa5, 0xc8, 0x1f, 0x10, 0x20,
|
|
969
|
+
0x8d, 0x91, 0xca, 0xb8, 0xea, 0x70, 0x07, 0xec, 0x1d, 0xe4, 0xe2, 0x0e, 0xbc, 0x8e, 0xe5, 0x01,
|
|
970
|
+
0x07, 0x1c, 0xe6, 0x83, 0xe4, 0x5a, 0x24, 0x71, 0x6e, 0x0e, 0xd7, 0x48, 0xfb, 0xde, 0xef, 0xf7,
|
|
971
|
+
0xbe, 0x77, 0xde, 0x2c, 0x41, 0x1e, 0x37, 0xfc, 0xc0, 0xb1, 0x8a, 0xf4, 0xb5, 0xe3, 0x35, 0x28,
|
|
972
|
+
0x61, 0x83, 0x87, 0x42, 0x2b, 0xf0, 0x99, 0x0f, 0xe7, 0x25, 0x5e, 0xe8, 0xab, 0x57, 0x16, 0x1b,
|
|
973
|
+
0x7e, 0xc3, 0x17, 0x58, 0x91, 0x3f, 0x49, 0xda, 0x4a,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f,
|
|
984
|
+
0xf5, 0x42, 0xb4, 0x70, 0x8a, 0x9b, 0xee, 0xa6, 0x16, 0x45, 0x35, 0x63, 0x86, 0x8b, 0x15, 0x29,
|
|
985
|
+
0xc1, 0x1b, 0xe0, 0xe2, 0x4b, 0x6a, 0x5a, 0xbe, 0x4d, 0x64, 0x79, 0x3a, 0xec, 0x85, 0x68, 0xae,
|
|
986
|
+
0x6f, 0x26, 0x00, 0xcd, 0x98, 0x7a, 0x49, 0x4b, 0xfc, 0xe1, 0xbb, 0x14, 0x98, 0xaa, 0xe0, 0x00,
|
|
987
|
+
0x37, 0x29, 0xdc, 0x05, 0x73, 0x35, 0x82, 0x3d, 0xca, 0xdd, 0x9a, 0x6d, 0xcf, 0x61, 0xb9, 0xb8,
|
|
988
|
+
0xe8, 0xc0, 0xd5, 0x91, 0x0e, 0x54, 0x59, 0xe0, 0x78, 0x0d, 0x9d, 0x93, 0x55, 0x13, 0x32, 0xc2,
|
|
989
|
+
0xb2, 0x42, 0x82, 0x43, 0xcf, 0x61, 0xf0, 0x15, 0x98, 0xab, 0x13, 0x22, 0x7c, 0x98, 0xad, 0xc0,
|
|
990
|
+
0xb1, 0x78, 0x22, 0xb2, 0x97, 0xaa, 0x39, 0x7c, 0xec, 0x91, 0xee, 0x38, 0x9e, 0x7e, 0x8b, 0xbb,
|
|
991
|
+
0xf9, 0xd7, 0x57, 0x68, 0xbd, 0xe1, 0xb0, 0xa3, 0x76, 0xad, 0x60, 0xf9, 0x4d, 0x35, 0x76, 0xf5,
|
|
992
|
+
0xef, 0x26, 0xb5, 0x8f, 0x8b, 0xec, 0xb4, 0x45, 0xa8, 0x30, 0xa0, 0x46, 0xa6, 0x4e, 0x08, 0x8f,
|
|
993
|
+
0x56, 0xe1, 0x01, 0xe0, 0x2d, 0xb0, 0x58, 0xf3, 0x7d, 0x46, 0x59, 0x80, 0x5b, 0x66, 0x07, 0x33,
|
|
994
|
+
0xd3, 0xf2, 0xbd, 0xba, 0xd3, 0xc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 0x9e, 0x63, 0x1d, 0x7b, 0xb8, 0xa9, 0x6e, 0x5b, 0x1d, 0x75, 0x43, 0x34, 0xd0,
|
|
1026
|
+
0xf5, 0x42, 0x34, 0xaf, 0xa6, 0xad, 0x34, 0x9a, 0x31, 0x00, 0xe1, 0x73, 0x90, 0x6c, 0x11, 0x12,
|
|
1027
|
+
0x88, 0x14, 0x32, 0xfa, 0x6e, 0x37, 0x44, 0x42, 0xee, 0x85, 0x68, 0x46, 0x1a, 0x71, 0x49, 0xfb,
|
|
1028
|
+
0x3e, 0x44, 0x37, 0x3f, 0xa1, 0x79, 0x5b, 0x96, 0xb5, 0x65, 0xdb, 0x3c, 0x29, 0x43, 0x78, 0x81,
|
|
1029
|
+
0x06, 0x98, 0x19, 0x0e, 0x50, 0xde, 0xe9, 0x69, 0x7d, 0xe3, 0x2c, 0x44, 0x60, 0x30, 0x67, 0xda,
|
|
1030
|
+
0x0d, 0x11, 0x18, 0xcc, 0x94, 0xf6, 0x42, 0x74, 0x49, 0x05, 0x1e, 0xe8, 0x34, 0x23, 0x42, 0x10,
|
|
1031
|
+
0xf5, 0xc7, 0x34, 0x06, 0x60, 0x95, 0x2f, 0x89, 0x2a, 0xf3, 0x03, 0xd2, 0x7f, 0x41, 0xe1, 0x0d,
|
|
1032
|
+
0x90, 0x8c, 0xb4, 0x61, 0x89, 0x57, 0xa3, 0x5a, 0xa0, 0xaa, 0x91, 0xe5, 0x0b, 0x25, 0x27, 0xdb,
|
|
1033
|
+
0x98, 0x61, 0x55, 0xba, 0x20, 0x73, 0x79, 0x48, 0xe6, 0x92, 0x66, 0x08, 0xa5, 0x8a, 0xfa, 0x65,
|
|
1034
|
+
0x1c, 0xcc, 0x9f, 0x3b, 0x14, 0xf0, 0x0e, 0x98, 0xa2, 0x47, 0xf8, 0xde, 0xc6, 0x6d, 0x15, 0x75,
|
|
1035
|
+
0xb5, 0x1b, 0x22, 0xa5, 0xe9, 0x85, 0x68, 0x56, 0xba, 0x92, 0xb2, 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0x5f, 0x9f, 0xe5, 0xe3, 0x7f, 0xfb, 0x90, 0x8f, 0xbd, 0xff, 0x90, 0x8f, 0x7d,
|
|
1057
|
+
0xfe, 0x21, 0x1f, 0xfb, 0xe3, 0xfd, 0xc8, 0x96, 0xdb, 0x92, 0xbf, 0xb5, 0xe4, 0xdb, 0x27, 0xb6,
|
|
1058
|
+
0x5c, 0xc3, 0x77, 0xb1, 0xd7, 0xe8, 0xaf, 0xbf, 0x93, 0xe1, 0xcf, 0x30, 0xb1, 0xfe, 0x6a, 0x53,
|
|
1059
|
+
0xe2, 0xf7, 0xd0, 0x9d, 0x1f, 0x03, 0x00, 0x00, 0xff, 0xff, 0x64, 0x2a, 0x7d, 0x97, 0xa6, 0x0d,
|
|
1060
|
+
0x00, 0x00,
|
|
699
1061
|
}
|
|
700
1062
|
|
|
701
1063
|
func (this *Params) Equal(that interface{}) bool {
|
|
@@ -760,6 +1122,18 @@ func (this *Params) Equal(that interface{}) bool {
|
|
|
760
1122
|
return false
|
|
761
1123
|
}
|
|
762
1124
|
}
|
|
1125
|
+
if this.InstallationDeadlineBlocks != that1.InstallationDeadlineBlocks {
|
|
1126
|
+
return false
|
|
1127
|
+
}
|
|
1128
|
+
if this.InstallationDeadlineSeconds != that1.InstallationDeadlineSeconds {
|
|
1129
|
+
return false
|
|
1130
|
+
}
|
|
1131
|
+
if this.BundleUncompressedSizeLimitBytes != that1.BundleUncompressedSizeLimitBytes {
|
|
1132
|
+
return false
|
|
1133
|
+
}
|
|
1134
|
+
if this.ChunkSizeLimitBytes != that1.ChunkSizeLimitBytes {
|
|
1135
|
+
return false
|
|
1136
|
+
}
|
|
763
1137
|
return true
|
|
764
1138
|
}
|
|
765
1139
|
func (this *StringBeans) Equal(that interface{}) bool {
|
|
@@ -983,6 +1357,26 @@ func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
983
1357
|
_ = i
|
|
984
1358
|
var l int
|
|
985
1359
|
_ = l
|
|
1360
|
+
if m.ChunkSizeLimitBytes != 0 {
|
|
1361
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.ChunkSizeLimitBytes))
|
|
1362
|
+
i--
|
|
1363
|
+
dAtA[i] = 0x50
|
|
1364
|
+
}
|
|
1365
|
+
if m.BundleUncompressedSizeLimitBytes != 0 {
|
|
1366
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.BundleUncompressedSizeLimitBytes))
|
|
1367
|
+
i--
|
|
1368
|
+
dAtA[i] = 0x48
|
|
1369
|
+
}
|
|
1370
|
+
if m.InstallationDeadlineSeconds != 0 {
|
|
1371
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.InstallationDeadlineSeconds))
|
|
1372
|
+
i--
|
|
1373
|
+
dAtA[i] = 0x40
|
|
1374
|
+
}
|
|
1375
|
+
if m.InstallationDeadlineBlocks != 0 {
|
|
1376
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.InstallationDeadlineBlocks))
|
|
1377
|
+
i--
|
|
1378
|
+
dAtA[i] = 0x38
|
|
1379
|
+
}
|
|
986
1380
|
if len(m.VatCleanupBudget) > 0 {
|
|
987
1381
|
for iNdEx := len(m.VatCleanupBudget) - 1; iNdEx >= 0; iNdEx-- {
|
|
988
1382
|
{
|
|
@@ -1083,6 +1477,21 @@ func (m *State) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
1083
1477
|
_ = i
|
|
1084
1478
|
var l int
|
|
1085
1479
|
_ = l
|
|
1480
|
+
if m.NextChunkedArtifactId != 0 {
|
|
1481
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.NextChunkedArtifactId))
|
|
1482
|
+
i--
|
|
1483
|
+
dAtA[i] = 0x20
|
|
1484
|
+
}
|
|
1485
|
+
if m.LastChunkedArtifactId != 0 {
|
|
1486
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.LastChunkedArtifactId))
|
|
1487
|
+
i--
|
|
1488
|
+
dAtA[i] = 0x18
|
|
1489
|
+
}
|
|
1490
|
+
if m.FirstChunkedArtifactId != 0 {
|
|
1491
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.FirstChunkedArtifactId))
|
|
1492
|
+
i--
|
|
1493
|
+
dAtA[i] = 0x10
|
|
1494
|
+
}
|
|
1086
1495
|
if len(m.QueueAllowed) > 0 {
|
|
1087
1496
|
for iNdEx := len(m.QueueAllowed) - 1; iNdEx >= 0; iNdEx-- {
|
|
1088
1497
|
{
|
|
@@ -1342,58 +1751,195 @@ func (m *SwingStoreArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
|
1342
1751
|
return len(dAtA) - i, nil
|
|
1343
1752
|
}
|
|
1344
1753
|
|
|
1345
|
-
func
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
offset++
|
|
1754
|
+
func (m *ChunkedArtifact) Marshal() (dAtA []byte, err error) {
|
|
1755
|
+
size := m.Size()
|
|
1756
|
+
dAtA = make([]byte, size)
|
|
1757
|
+
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
1758
|
+
if err != nil {
|
|
1759
|
+
return nil, err
|
|
1352
1760
|
}
|
|
1353
|
-
dAtA[
|
|
1354
|
-
return base
|
|
1761
|
+
return dAtA[:n], nil
|
|
1355
1762
|
}
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
var l int
|
|
1361
|
-
_ = l
|
|
1362
|
-
l = len(m.Title)
|
|
1363
|
-
if l > 0 {
|
|
1364
|
-
n += 1 + l + sovSwingset(uint64(l))
|
|
1365
|
-
}
|
|
1366
|
-
l = len(m.Description)
|
|
1367
|
-
if l > 0 {
|
|
1368
|
-
n += 1 + l + sovSwingset(uint64(l))
|
|
1369
|
-
}
|
|
1370
|
-
if len(m.Evals) > 0 {
|
|
1371
|
-
for _, e := range m.Evals {
|
|
1372
|
-
l = e.Size()
|
|
1373
|
-
n += 1 + l + sovSwingset(uint64(l))
|
|
1374
|
-
}
|
|
1375
|
-
}
|
|
1376
|
-
return n
|
|
1763
|
+
|
|
1764
|
+
func (m *ChunkedArtifact) MarshalTo(dAtA []byte) (int, error) {
|
|
1765
|
+
size := m.Size()
|
|
1766
|
+
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
1377
1767
|
}
|
|
1378
1768
|
|
|
1379
|
-
func (m *
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
}
|
|
1769
|
+
func (m *ChunkedArtifact) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
1770
|
+
i := len(dAtA)
|
|
1771
|
+
_ = i
|
|
1383
1772
|
var l int
|
|
1384
1773
|
_ = l
|
|
1385
|
-
|
|
1386
|
-
|
|
1387
|
-
|
|
1774
|
+
if len(m.Chunks) > 0 {
|
|
1775
|
+
for iNdEx := len(m.Chunks) - 1; iNdEx >= 0; iNdEx-- {
|
|
1776
|
+
{
|
|
1777
|
+
size, err := m.Chunks[iNdEx].MarshalToSizedBuffer(dAtA[:i])
|
|
1778
|
+
if err != nil {
|
|
1779
|
+
return 0, err
|
|
1780
|
+
}
|
|
1781
|
+
i -= size
|
|
1782
|
+
i = encodeVarintSwingset(dAtA, i, uint64(size))
|
|
1783
|
+
}
|
|
1784
|
+
i--
|
|
1785
|
+
dAtA[i] = 0x1a
|
|
1786
|
+
}
|
|
1388
1787
|
}
|
|
1389
|
-
|
|
1390
|
-
|
|
1391
|
-
|
|
1788
|
+
if m.SizeBytes != 0 {
|
|
1789
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.SizeBytes))
|
|
1790
|
+
i--
|
|
1791
|
+
dAtA[i] = 0x10
|
|
1392
1792
|
}
|
|
1393
|
-
|
|
1793
|
+
if len(m.Sha512) > 0 {
|
|
1794
|
+
i -= len(m.Sha512)
|
|
1795
|
+
copy(dAtA[i:], m.Sha512)
|
|
1796
|
+
i = encodeVarintSwingset(dAtA, i, uint64(len(m.Sha512)))
|
|
1797
|
+
i--
|
|
1798
|
+
dAtA[i] = 0xa
|
|
1799
|
+
}
|
|
1800
|
+
return len(dAtA) - i, nil
|
|
1394
1801
|
}
|
|
1395
1802
|
|
|
1396
|
-
func (m *
|
|
1803
|
+
func (m *ChunkInfo) Marshal() (dAtA []byte, err error) {
|
|
1804
|
+
size := m.Size()
|
|
1805
|
+
dAtA = make([]byte, size)
|
|
1806
|
+
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
1807
|
+
if err != nil {
|
|
1808
|
+
return nil, err
|
|
1809
|
+
}
|
|
1810
|
+
return dAtA[:n], nil
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1813
|
+
func (m *ChunkInfo) MarshalTo(dAtA []byte) (int, error) {
|
|
1814
|
+
size := m.Size()
|
|
1815
|
+
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
1816
|
+
}
|
|
1817
|
+
|
|
1818
|
+
func (m *ChunkInfo) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
1819
|
+
i := len(dAtA)
|
|
1820
|
+
_ = i
|
|
1821
|
+
var l int
|
|
1822
|
+
_ = l
|
|
1823
|
+
if m.State != 0 {
|
|
1824
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.State))
|
|
1825
|
+
i--
|
|
1826
|
+
dAtA[i] = 0x18
|
|
1827
|
+
}
|
|
1828
|
+
if m.SizeBytes != 0 {
|
|
1829
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.SizeBytes))
|
|
1830
|
+
i--
|
|
1831
|
+
dAtA[i] = 0x10
|
|
1832
|
+
}
|
|
1833
|
+
if len(m.Sha512) > 0 {
|
|
1834
|
+
i -= len(m.Sha512)
|
|
1835
|
+
copy(dAtA[i:], m.Sha512)
|
|
1836
|
+
i = encodeVarintSwingset(dAtA, i, uint64(len(m.Sha512)))
|
|
1837
|
+
i--
|
|
1838
|
+
dAtA[i] = 0xa
|
|
1839
|
+
}
|
|
1840
|
+
return len(dAtA) - i, nil
|
|
1841
|
+
}
|
|
1842
|
+
|
|
1843
|
+
func (m *ChunkedArtifactNode) Marshal() (dAtA []byte, err error) {
|
|
1844
|
+
size := m.Size()
|
|
1845
|
+
dAtA = make([]byte, size)
|
|
1846
|
+
n, err := m.MarshalToSizedBuffer(dAtA[:size])
|
|
1847
|
+
if err != nil {
|
|
1848
|
+
return nil, err
|
|
1849
|
+
}
|
|
1850
|
+
return dAtA[:n], nil
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
func (m *ChunkedArtifactNode) MarshalTo(dAtA []byte) (int, error) {
|
|
1854
|
+
size := m.Size()
|
|
1855
|
+
return m.MarshalToSizedBuffer(dAtA[:size])
|
|
1856
|
+
}
|
|
1857
|
+
|
|
1858
|
+
func (m *ChunkedArtifactNode) MarshalToSizedBuffer(dAtA []byte) (int, error) {
|
|
1859
|
+
i := len(dAtA)
|
|
1860
|
+
_ = i
|
|
1861
|
+
var l int
|
|
1862
|
+
_ = l
|
|
1863
|
+
if m.StartBlockHeight != 0 {
|
|
1864
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.StartBlockHeight))
|
|
1865
|
+
i--
|
|
1866
|
+
dAtA[i] = 0x28
|
|
1867
|
+
}
|
|
1868
|
+
if m.StartTimeUnix != 0 {
|
|
1869
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.StartTimeUnix))
|
|
1870
|
+
i--
|
|
1871
|
+
dAtA[i] = 0x20
|
|
1872
|
+
}
|
|
1873
|
+
if m.PrevId != 0 {
|
|
1874
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.PrevId))
|
|
1875
|
+
i--
|
|
1876
|
+
dAtA[i] = 0x18
|
|
1877
|
+
}
|
|
1878
|
+
if m.NextId != 0 {
|
|
1879
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.NextId))
|
|
1880
|
+
i--
|
|
1881
|
+
dAtA[i] = 0x10
|
|
1882
|
+
}
|
|
1883
|
+
if m.ChunkedArtifactId != 0 {
|
|
1884
|
+
i = encodeVarintSwingset(dAtA, i, uint64(m.ChunkedArtifactId))
|
|
1885
|
+
i--
|
|
1886
|
+
dAtA[i] = 0x8
|
|
1887
|
+
}
|
|
1888
|
+
return len(dAtA) - i, nil
|
|
1889
|
+
}
|
|
1890
|
+
|
|
1891
|
+
func encodeVarintSwingset(dAtA []byte, offset int, v uint64) int {
|
|
1892
|
+
offset -= sovSwingset(v)
|
|
1893
|
+
base := offset
|
|
1894
|
+
for v >= 1<<7 {
|
|
1895
|
+
dAtA[offset] = uint8(v&0x7f | 0x80)
|
|
1896
|
+
v >>= 7
|
|
1897
|
+
offset++
|
|
1898
|
+
}
|
|
1899
|
+
dAtA[offset] = uint8(v)
|
|
1900
|
+
return base
|
|
1901
|
+
}
|
|
1902
|
+
func (m *CoreEvalProposal) Size() (n int) {
|
|
1903
|
+
if m == nil {
|
|
1904
|
+
return 0
|
|
1905
|
+
}
|
|
1906
|
+
var l int
|
|
1907
|
+
_ = l
|
|
1908
|
+
l = len(m.Title)
|
|
1909
|
+
if l > 0 {
|
|
1910
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
1911
|
+
}
|
|
1912
|
+
l = len(m.Description)
|
|
1913
|
+
if l > 0 {
|
|
1914
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
1915
|
+
}
|
|
1916
|
+
if len(m.Evals) > 0 {
|
|
1917
|
+
for _, e := range m.Evals {
|
|
1918
|
+
l = e.Size()
|
|
1919
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
1920
|
+
}
|
|
1921
|
+
}
|
|
1922
|
+
return n
|
|
1923
|
+
}
|
|
1924
|
+
|
|
1925
|
+
func (m *CoreEval) Size() (n int) {
|
|
1926
|
+
if m == nil {
|
|
1927
|
+
return 0
|
|
1928
|
+
}
|
|
1929
|
+
var l int
|
|
1930
|
+
_ = l
|
|
1931
|
+
l = len(m.JsonPermits)
|
|
1932
|
+
if l > 0 {
|
|
1933
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
1934
|
+
}
|
|
1935
|
+
l = len(m.JsCode)
|
|
1936
|
+
if l > 0 {
|
|
1937
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
1938
|
+
}
|
|
1939
|
+
return n
|
|
1940
|
+
}
|
|
1941
|
+
|
|
1942
|
+
func (m *Params) Size() (n int) {
|
|
1397
1943
|
if m == nil {
|
|
1398
1944
|
return 0
|
|
1399
1945
|
}
|
|
@@ -1433,6 +1979,18 @@ func (m *Params) Size() (n int) {
|
|
|
1433
1979
|
n += 1 + l + sovSwingset(uint64(l))
|
|
1434
1980
|
}
|
|
1435
1981
|
}
|
|
1982
|
+
if m.InstallationDeadlineBlocks != 0 {
|
|
1983
|
+
n += 1 + sovSwingset(uint64(m.InstallationDeadlineBlocks))
|
|
1984
|
+
}
|
|
1985
|
+
if m.InstallationDeadlineSeconds != 0 {
|
|
1986
|
+
n += 1 + sovSwingset(uint64(m.InstallationDeadlineSeconds))
|
|
1987
|
+
}
|
|
1988
|
+
if m.BundleUncompressedSizeLimitBytes != 0 {
|
|
1989
|
+
n += 1 + sovSwingset(uint64(m.BundleUncompressedSizeLimitBytes))
|
|
1990
|
+
}
|
|
1991
|
+
if m.ChunkSizeLimitBytes != 0 {
|
|
1992
|
+
n += 1 + sovSwingset(uint64(m.ChunkSizeLimitBytes))
|
|
1993
|
+
}
|
|
1436
1994
|
return n
|
|
1437
1995
|
}
|
|
1438
1996
|
|
|
@@ -1448,6 +2006,15 @@ func (m *State) Size() (n int) {
|
|
|
1448
2006
|
n += 1 + l + sovSwingset(uint64(l))
|
|
1449
2007
|
}
|
|
1450
2008
|
}
|
|
2009
|
+
if m.FirstChunkedArtifactId != 0 {
|
|
2010
|
+
n += 1 + sovSwingset(uint64(m.FirstChunkedArtifactId))
|
|
2011
|
+
}
|
|
2012
|
+
if m.LastChunkedArtifactId != 0 {
|
|
2013
|
+
n += 1 + sovSwingset(uint64(m.LastChunkedArtifactId))
|
|
2014
|
+
}
|
|
2015
|
+
if m.NextChunkedArtifactId != 0 {
|
|
2016
|
+
n += 1 + sovSwingset(uint64(m.NextChunkedArtifactId))
|
|
2017
|
+
}
|
|
1451
2018
|
return n
|
|
1452
2019
|
}
|
|
1453
2020
|
|
|
@@ -1556,6 +2123,71 @@ func (m *SwingStoreArtifact) Size() (n int) {
|
|
|
1556
2123
|
return n
|
|
1557
2124
|
}
|
|
1558
2125
|
|
|
2126
|
+
func (m *ChunkedArtifact) Size() (n int) {
|
|
2127
|
+
if m == nil {
|
|
2128
|
+
return 0
|
|
2129
|
+
}
|
|
2130
|
+
var l int
|
|
2131
|
+
_ = l
|
|
2132
|
+
l = len(m.Sha512)
|
|
2133
|
+
if l > 0 {
|
|
2134
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
2135
|
+
}
|
|
2136
|
+
if m.SizeBytes != 0 {
|
|
2137
|
+
n += 1 + sovSwingset(uint64(m.SizeBytes))
|
|
2138
|
+
}
|
|
2139
|
+
if len(m.Chunks) > 0 {
|
|
2140
|
+
for _, e := range m.Chunks {
|
|
2141
|
+
l = e.Size()
|
|
2142
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
return n
|
|
2146
|
+
}
|
|
2147
|
+
|
|
2148
|
+
func (m *ChunkInfo) Size() (n int) {
|
|
2149
|
+
if m == nil {
|
|
2150
|
+
return 0
|
|
2151
|
+
}
|
|
2152
|
+
var l int
|
|
2153
|
+
_ = l
|
|
2154
|
+
l = len(m.Sha512)
|
|
2155
|
+
if l > 0 {
|
|
2156
|
+
n += 1 + l + sovSwingset(uint64(l))
|
|
2157
|
+
}
|
|
2158
|
+
if m.SizeBytes != 0 {
|
|
2159
|
+
n += 1 + sovSwingset(uint64(m.SizeBytes))
|
|
2160
|
+
}
|
|
2161
|
+
if m.State != 0 {
|
|
2162
|
+
n += 1 + sovSwingset(uint64(m.State))
|
|
2163
|
+
}
|
|
2164
|
+
return n
|
|
2165
|
+
}
|
|
2166
|
+
|
|
2167
|
+
func (m *ChunkedArtifactNode) Size() (n int) {
|
|
2168
|
+
if m == nil {
|
|
2169
|
+
return 0
|
|
2170
|
+
}
|
|
2171
|
+
var l int
|
|
2172
|
+
_ = l
|
|
2173
|
+
if m.ChunkedArtifactId != 0 {
|
|
2174
|
+
n += 1 + sovSwingset(uint64(m.ChunkedArtifactId))
|
|
2175
|
+
}
|
|
2176
|
+
if m.NextId != 0 {
|
|
2177
|
+
n += 1 + sovSwingset(uint64(m.NextId))
|
|
2178
|
+
}
|
|
2179
|
+
if m.PrevId != 0 {
|
|
2180
|
+
n += 1 + sovSwingset(uint64(m.PrevId))
|
|
2181
|
+
}
|
|
2182
|
+
if m.StartTimeUnix != 0 {
|
|
2183
|
+
n += 1 + sovSwingset(uint64(m.StartTimeUnix))
|
|
2184
|
+
}
|
|
2185
|
+
if m.StartBlockHeight != 0 {
|
|
2186
|
+
n += 1 + sovSwingset(uint64(m.StartBlockHeight))
|
|
2187
|
+
}
|
|
2188
|
+
return n
|
|
2189
|
+
}
|
|
2190
|
+
|
|
1559
2191
|
func sovSwingset(x uint64) (n int) {
|
|
1560
2192
|
return (math_bits.Len64(x|1) + 6) / 7
|
|
1561
2193
|
}
|
|
@@ -2055,6 +2687,82 @@ func (m *Params) Unmarshal(dAtA []byte) error {
|
|
|
2055
2687
|
return err
|
|
2056
2688
|
}
|
|
2057
2689
|
iNdEx = postIndex
|
|
2690
|
+
case 7:
|
|
2691
|
+
if wireType != 0 {
|
|
2692
|
+
return fmt.Errorf("proto: wrong wireType = %d for field InstallationDeadlineBlocks", wireType)
|
|
2693
|
+
}
|
|
2694
|
+
m.InstallationDeadlineBlocks = 0
|
|
2695
|
+
for shift := uint(0); ; shift += 7 {
|
|
2696
|
+
if shift >= 64 {
|
|
2697
|
+
return ErrIntOverflowSwingset
|
|
2698
|
+
}
|
|
2699
|
+
if iNdEx >= l {
|
|
2700
|
+
return io.ErrUnexpectedEOF
|
|
2701
|
+
}
|
|
2702
|
+
b := dAtA[iNdEx]
|
|
2703
|
+
iNdEx++
|
|
2704
|
+
m.InstallationDeadlineBlocks |= int64(b&0x7F) << shift
|
|
2705
|
+
if b < 0x80 {
|
|
2706
|
+
break
|
|
2707
|
+
}
|
|
2708
|
+
}
|
|
2709
|
+
case 8:
|
|
2710
|
+
if wireType != 0 {
|
|
2711
|
+
return fmt.Errorf("proto: wrong wireType = %d for field InstallationDeadlineSeconds", wireType)
|
|
2712
|
+
}
|
|
2713
|
+
m.InstallationDeadlineSeconds = 0
|
|
2714
|
+
for shift := uint(0); ; shift += 7 {
|
|
2715
|
+
if shift >= 64 {
|
|
2716
|
+
return ErrIntOverflowSwingset
|
|
2717
|
+
}
|
|
2718
|
+
if iNdEx >= l {
|
|
2719
|
+
return io.ErrUnexpectedEOF
|
|
2720
|
+
}
|
|
2721
|
+
b := dAtA[iNdEx]
|
|
2722
|
+
iNdEx++
|
|
2723
|
+
m.InstallationDeadlineSeconds |= int64(b&0x7F) << shift
|
|
2724
|
+
if b < 0x80 {
|
|
2725
|
+
break
|
|
2726
|
+
}
|
|
2727
|
+
}
|
|
2728
|
+
case 9:
|
|
2729
|
+
if wireType != 0 {
|
|
2730
|
+
return fmt.Errorf("proto: wrong wireType = %d for field BundleUncompressedSizeLimitBytes", wireType)
|
|
2731
|
+
}
|
|
2732
|
+
m.BundleUncompressedSizeLimitBytes = 0
|
|
2733
|
+
for shift := uint(0); ; shift += 7 {
|
|
2734
|
+
if shift >= 64 {
|
|
2735
|
+
return ErrIntOverflowSwingset
|
|
2736
|
+
}
|
|
2737
|
+
if iNdEx >= l {
|
|
2738
|
+
return io.ErrUnexpectedEOF
|
|
2739
|
+
}
|
|
2740
|
+
b := dAtA[iNdEx]
|
|
2741
|
+
iNdEx++
|
|
2742
|
+
m.BundleUncompressedSizeLimitBytes |= int64(b&0x7F) << shift
|
|
2743
|
+
if b < 0x80 {
|
|
2744
|
+
break
|
|
2745
|
+
}
|
|
2746
|
+
}
|
|
2747
|
+
case 10:
|
|
2748
|
+
if wireType != 0 {
|
|
2749
|
+
return fmt.Errorf("proto: wrong wireType = %d for field ChunkSizeLimitBytes", wireType)
|
|
2750
|
+
}
|
|
2751
|
+
m.ChunkSizeLimitBytes = 0
|
|
2752
|
+
for shift := uint(0); ; shift += 7 {
|
|
2753
|
+
if shift >= 64 {
|
|
2754
|
+
return ErrIntOverflowSwingset
|
|
2755
|
+
}
|
|
2756
|
+
if iNdEx >= l {
|
|
2757
|
+
return io.ErrUnexpectedEOF
|
|
2758
|
+
}
|
|
2759
|
+
b := dAtA[iNdEx]
|
|
2760
|
+
iNdEx++
|
|
2761
|
+
m.ChunkSizeLimitBytes |= int64(b&0x7F) << shift
|
|
2762
|
+
if b < 0x80 {
|
|
2763
|
+
break
|
|
2764
|
+
}
|
|
2765
|
+
}
|
|
2058
2766
|
default:
|
|
2059
2767
|
iNdEx = preIndex
|
|
2060
2768
|
skippy, err := skipSwingset(dAtA[iNdEx:])
|
|
@@ -2139,29 +2847,86 @@ func (m *State) Unmarshal(dAtA []byte) error {
|
|
|
2139
2847
|
return err
|
|
2140
2848
|
}
|
|
2141
2849
|
iNdEx = postIndex
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
if err != nil {
|
|
2146
|
-
return err
|
|
2850
|
+
case 2:
|
|
2851
|
+
if wireType != 0 {
|
|
2852
|
+
return fmt.Errorf("proto: wrong wireType = %d for field FirstChunkedArtifactId", wireType)
|
|
2147
2853
|
}
|
|
2148
|
-
|
|
2149
|
-
|
|
2854
|
+
m.FirstChunkedArtifactId = 0
|
|
2855
|
+
for shift := uint(0); ; shift += 7 {
|
|
2856
|
+
if shift >= 64 {
|
|
2857
|
+
return ErrIntOverflowSwingset
|
|
2858
|
+
}
|
|
2859
|
+
if iNdEx >= l {
|
|
2860
|
+
return io.ErrUnexpectedEOF
|
|
2861
|
+
}
|
|
2862
|
+
b := dAtA[iNdEx]
|
|
2863
|
+
iNdEx++
|
|
2864
|
+
m.FirstChunkedArtifactId |= uint64(b&0x7F) << shift
|
|
2865
|
+
if b < 0x80 {
|
|
2866
|
+
break
|
|
2867
|
+
}
|
|
2150
2868
|
}
|
|
2151
|
-
|
|
2152
|
-
|
|
2869
|
+
case 3:
|
|
2870
|
+
if wireType != 0 {
|
|
2871
|
+
return fmt.Errorf("proto: wrong wireType = %d for field LastChunkedArtifactId", wireType)
|
|
2153
2872
|
}
|
|
2154
|
-
|
|
2155
|
-
|
|
2156
|
-
|
|
2157
|
-
|
|
2158
|
-
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2162
|
-
|
|
2163
|
-
|
|
2164
|
-
|
|
2873
|
+
m.LastChunkedArtifactId = 0
|
|
2874
|
+
for shift := uint(0); ; shift += 7 {
|
|
2875
|
+
if shift >= 64 {
|
|
2876
|
+
return ErrIntOverflowSwingset
|
|
2877
|
+
}
|
|
2878
|
+
if iNdEx >= l {
|
|
2879
|
+
return io.ErrUnexpectedEOF
|
|
2880
|
+
}
|
|
2881
|
+
b := dAtA[iNdEx]
|
|
2882
|
+
iNdEx++
|
|
2883
|
+
m.LastChunkedArtifactId |= uint64(b&0x7F) << shift
|
|
2884
|
+
if b < 0x80 {
|
|
2885
|
+
break
|
|
2886
|
+
}
|
|
2887
|
+
}
|
|
2888
|
+
case 4:
|
|
2889
|
+
if wireType != 0 {
|
|
2890
|
+
return fmt.Errorf("proto: wrong wireType = %d for field NextChunkedArtifactId", wireType)
|
|
2891
|
+
}
|
|
2892
|
+
m.NextChunkedArtifactId = 0
|
|
2893
|
+
for shift := uint(0); ; shift += 7 {
|
|
2894
|
+
if shift >= 64 {
|
|
2895
|
+
return ErrIntOverflowSwingset
|
|
2896
|
+
}
|
|
2897
|
+
if iNdEx >= l {
|
|
2898
|
+
return io.ErrUnexpectedEOF
|
|
2899
|
+
}
|
|
2900
|
+
b := dAtA[iNdEx]
|
|
2901
|
+
iNdEx++
|
|
2902
|
+
m.NextChunkedArtifactId |= uint64(b&0x7F) << shift
|
|
2903
|
+
if b < 0x80 {
|
|
2904
|
+
break
|
|
2905
|
+
}
|
|
2906
|
+
}
|
|
2907
|
+
default:
|
|
2908
|
+
iNdEx = preIndex
|
|
2909
|
+
skippy, err := skipSwingset(dAtA[iNdEx:])
|
|
2910
|
+
if err != nil {
|
|
2911
|
+
return err
|
|
2912
|
+
}
|
|
2913
|
+
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
2914
|
+
return ErrInvalidLengthSwingset
|
|
2915
|
+
}
|
|
2916
|
+
if (iNdEx + skippy) > l {
|
|
2917
|
+
return io.ErrUnexpectedEOF
|
|
2918
|
+
}
|
|
2919
|
+
iNdEx += skippy
|
|
2920
|
+
}
|
|
2921
|
+
}
|
|
2922
|
+
|
|
2923
|
+
if iNdEx > l {
|
|
2924
|
+
return io.ErrUnexpectedEOF
|
|
2925
|
+
}
|
|
2926
|
+
return nil
|
|
2927
|
+
}
|
|
2928
|
+
func (m *StringBeans) Unmarshal(dAtA []byte) error {
|
|
2929
|
+
l := len(dAtA)
|
|
2165
2930
|
iNdEx := 0
|
|
2166
2931
|
for iNdEx < l {
|
|
2167
2932
|
preIndex := iNdEx
|
|
@@ -2873,6 +3638,406 @@ func (m *SwingStoreArtifact) Unmarshal(dAtA []byte) error {
|
|
|
2873
3638
|
}
|
|
2874
3639
|
return nil
|
|
2875
3640
|
}
|
|
3641
|
+
func (m *ChunkedArtifact) Unmarshal(dAtA []byte) error {
|
|
3642
|
+
l := len(dAtA)
|
|
3643
|
+
iNdEx := 0
|
|
3644
|
+
for iNdEx < l {
|
|
3645
|
+
preIndex := iNdEx
|
|
3646
|
+
var wire uint64
|
|
3647
|
+
for shift := uint(0); ; shift += 7 {
|
|
3648
|
+
if shift >= 64 {
|
|
3649
|
+
return ErrIntOverflowSwingset
|
|
3650
|
+
}
|
|
3651
|
+
if iNdEx >= l {
|
|
3652
|
+
return io.ErrUnexpectedEOF
|
|
3653
|
+
}
|
|
3654
|
+
b := dAtA[iNdEx]
|
|
3655
|
+
iNdEx++
|
|
3656
|
+
wire |= uint64(b&0x7F) << shift
|
|
3657
|
+
if b < 0x80 {
|
|
3658
|
+
break
|
|
3659
|
+
}
|
|
3660
|
+
}
|
|
3661
|
+
fieldNum := int32(wire >> 3)
|
|
3662
|
+
wireType := int(wire & 0x7)
|
|
3663
|
+
if wireType == 4 {
|
|
3664
|
+
return fmt.Errorf("proto: ChunkedArtifact: wiretype end group for non-group")
|
|
3665
|
+
}
|
|
3666
|
+
if fieldNum <= 0 {
|
|
3667
|
+
return fmt.Errorf("proto: ChunkedArtifact: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
3668
|
+
}
|
|
3669
|
+
switch fieldNum {
|
|
3670
|
+
case 1:
|
|
3671
|
+
if wireType != 2 {
|
|
3672
|
+
return fmt.Errorf("proto: wrong wireType = %d for field Sha512", wireType)
|
|
3673
|
+
}
|
|
3674
|
+
var stringLen uint64
|
|
3675
|
+
for shift := uint(0); ; shift += 7 {
|
|
3676
|
+
if shift >= 64 {
|
|
3677
|
+
return ErrIntOverflowSwingset
|
|
3678
|
+
}
|
|
3679
|
+
if iNdEx >= l {
|
|
3680
|
+
return io.ErrUnexpectedEOF
|
|
3681
|
+
}
|
|
3682
|
+
b := dAtA[iNdEx]
|
|
3683
|
+
iNdEx++
|
|
3684
|
+
stringLen |= uint64(b&0x7F) << shift
|
|
3685
|
+
if b < 0x80 {
|
|
3686
|
+
break
|
|
3687
|
+
}
|
|
3688
|
+
}
|
|
3689
|
+
intStringLen := int(stringLen)
|
|
3690
|
+
if intStringLen < 0 {
|
|
3691
|
+
return ErrInvalidLengthSwingset
|
|
3692
|
+
}
|
|
3693
|
+
postIndex := iNdEx + intStringLen
|
|
3694
|
+
if postIndex < 0 {
|
|
3695
|
+
return ErrInvalidLengthSwingset
|
|
3696
|
+
}
|
|
3697
|
+
if postIndex > l {
|
|
3698
|
+
return io.ErrUnexpectedEOF
|
|
3699
|
+
}
|
|
3700
|
+
m.Sha512 = string(dAtA[iNdEx:postIndex])
|
|
3701
|
+
iNdEx = postIndex
|
|
3702
|
+
case 2:
|
|
3703
|
+
if wireType != 0 {
|
|
3704
|
+
return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
|
|
3705
|
+
}
|
|
3706
|
+
m.SizeBytes = 0
|
|
3707
|
+
for shift := uint(0); ; shift += 7 {
|
|
3708
|
+
if shift >= 64 {
|
|
3709
|
+
return ErrIntOverflowSwingset
|
|
3710
|
+
}
|
|
3711
|
+
if iNdEx >= l {
|
|
3712
|
+
return io.ErrUnexpectedEOF
|
|
3713
|
+
}
|
|
3714
|
+
b := dAtA[iNdEx]
|
|
3715
|
+
iNdEx++
|
|
3716
|
+
m.SizeBytes |= uint64(b&0x7F) << shift
|
|
3717
|
+
if b < 0x80 {
|
|
3718
|
+
break
|
|
3719
|
+
}
|
|
3720
|
+
}
|
|
3721
|
+
case 3:
|
|
3722
|
+
if wireType != 2 {
|
|
3723
|
+
return fmt.Errorf("proto: wrong wireType = %d for field Chunks", wireType)
|
|
3724
|
+
}
|
|
3725
|
+
var msglen int
|
|
3726
|
+
for shift := uint(0); ; shift += 7 {
|
|
3727
|
+
if shift >= 64 {
|
|
3728
|
+
return ErrIntOverflowSwingset
|
|
3729
|
+
}
|
|
3730
|
+
if iNdEx >= l {
|
|
3731
|
+
return io.ErrUnexpectedEOF
|
|
3732
|
+
}
|
|
3733
|
+
b := dAtA[iNdEx]
|
|
3734
|
+
iNdEx++
|
|
3735
|
+
msglen |= int(b&0x7F) << shift
|
|
3736
|
+
if b < 0x80 {
|
|
3737
|
+
break
|
|
3738
|
+
}
|
|
3739
|
+
}
|
|
3740
|
+
if msglen < 0 {
|
|
3741
|
+
return ErrInvalidLengthSwingset
|
|
3742
|
+
}
|
|
3743
|
+
postIndex := iNdEx + msglen
|
|
3744
|
+
if postIndex < 0 {
|
|
3745
|
+
return ErrInvalidLengthSwingset
|
|
3746
|
+
}
|
|
3747
|
+
if postIndex > l {
|
|
3748
|
+
return io.ErrUnexpectedEOF
|
|
3749
|
+
}
|
|
3750
|
+
m.Chunks = append(m.Chunks, &ChunkInfo{})
|
|
3751
|
+
if err := m.Chunks[len(m.Chunks)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
|
|
3752
|
+
return err
|
|
3753
|
+
}
|
|
3754
|
+
iNdEx = postIndex
|
|
3755
|
+
default:
|
|
3756
|
+
iNdEx = preIndex
|
|
3757
|
+
skippy, err := skipSwingset(dAtA[iNdEx:])
|
|
3758
|
+
if err != nil {
|
|
3759
|
+
return err
|
|
3760
|
+
}
|
|
3761
|
+
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
3762
|
+
return ErrInvalidLengthSwingset
|
|
3763
|
+
}
|
|
3764
|
+
if (iNdEx + skippy) > l {
|
|
3765
|
+
return io.ErrUnexpectedEOF
|
|
3766
|
+
}
|
|
3767
|
+
iNdEx += skippy
|
|
3768
|
+
}
|
|
3769
|
+
}
|
|
3770
|
+
|
|
3771
|
+
if iNdEx > l {
|
|
3772
|
+
return io.ErrUnexpectedEOF
|
|
3773
|
+
}
|
|
3774
|
+
return nil
|
|
3775
|
+
}
|
|
3776
|
+
func (m *ChunkInfo) Unmarshal(dAtA []byte) error {
|
|
3777
|
+
l := len(dAtA)
|
|
3778
|
+
iNdEx := 0
|
|
3779
|
+
for iNdEx < l {
|
|
3780
|
+
preIndex := iNdEx
|
|
3781
|
+
var wire uint64
|
|
3782
|
+
for shift := uint(0); ; shift += 7 {
|
|
3783
|
+
if shift >= 64 {
|
|
3784
|
+
return ErrIntOverflowSwingset
|
|
3785
|
+
}
|
|
3786
|
+
if iNdEx >= l {
|
|
3787
|
+
return io.ErrUnexpectedEOF
|
|
3788
|
+
}
|
|
3789
|
+
b := dAtA[iNdEx]
|
|
3790
|
+
iNdEx++
|
|
3791
|
+
wire |= uint64(b&0x7F) << shift
|
|
3792
|
+
if b < 0x80 {
|
|
3793
|
+
break
|
|
3794
|
+
}
|
|
3795
|
+
}
|
|
3796
|
+
fieldNum := int32(wire >> 3)
|
|
3797
|
+
wireType := int(wire & 0x7)
|
|
3798
|
+
if wireType == 4 {
|
|
3799
|
+
return fmt.Errorf("proto: ChunkInfo: wiretype end group for non-group")
|
|
3800
|
+
}
|
|
3801
|
+
if fieldNum <= 0 {
|
|
3802
|
+
return fmt.Errorf("proto: ChunkInfo: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
3803
|
+
}
|
|
3804
|
+
switch fieldNum {
|
|
3805
|
+
case 1:
|
|
3806
|
+
if wireType != 2 {
|
|
3807
|
+
return fmt.Errorf("proto: wrong wireType = %d for field Sha512", wireType)
|
|
3808
|
+
}
|
|
3809
|
+
var stringLen uint64
|
|
3810
|
+
for shift := uint(0); ; shift += 7 {
|
|
3811
|
+
if shift >= 64 {
|
|
3812
|
+
return ErrIntOverflowSwingset
|
|
3813
|
+
}
|
|
3814
|
+
if iNdEx >= l {
|
|
3815
|
+
return io.ErrUnexpectedEOF
|
|
3816
|
+
}
|
|
3817
|
+
b := dAtA[iNdEx]
|
|
3818
|
+
iNdEx++
|
|
3819
|
+
stringLen |= uint64(b&0x7F) << shift
|
|
3820
|
+
if b < 0x80 {
|
|
3821
|
+
break
|
|
3822
|
+
}
|
|
3823
|
+
}
|
|
3824
|
+
intStringLen := int(stringLen)
|
|
3825
|
+
if intStringLen < 0 {
|
|
3826
|
+
return ErrInvalidLengthSwingset
|
|
3827
|
+
}
|
|
3828
|
+
postIndex := iNdEx + intStringLen
|
|
3829
|
+
if postIndex < 0 {
|
|
3830
|
+
return ErrInvalidLengthSwingset
|
|
3831
|
+
}
|
|
3832
|
+
if postIndex > l {
|
|
3833
|
+
return io.ErrUnexpectedEOF
|
|
3834
|
+
}
|
|
3835
|
+
m.Sha512 = string(dAtA[iNdEx:postIndex])
|
|
3836
|
+
iNdEx = postIndex
|
|
3837
|
+
case 2:
|
|
3838
|
+
if wireType != 0 {
|
|
3839
|
+
return fmt.Errorf("proto: wrong wireType = %d for field SizeBytes", wireType)
|
|
3840
|
+
}
|
|
3841
|
+
m.SizeBytes = 0
|
|
3842
|
+
for shift := uint(0); ; shift += 7 {
|
|
3843
|
+
if shift >= 64 {
|
|
3844
|
+
return ErrIntOverflowSwingset
|
|
3845
|
+
}
|
|
3846
|
+
if iNdEx >= l {
|
|
3847
|
+
return io.ErrUnexpectedEOF
|
|
3848
|
+
}
|
|
3849
|
+
b := dAtA[iNdEx]
|
|
3850
|
+
iNdEx++
|
|
3851
|
+
m.SizeBytes |= uint64(b&0x7F) << shift
|
|
3852
|
+
if b < 0x80 {
|
|
3853
|
+
break
|
|
3854
|
+
}
|
|
3855
|
+
}
|
|
3856
|
+
case 3:
|
|
3857
|
+
if wireType != 0 {
|
|
3858
|
+
return fmt.Errorf("proto: wrong wireType = %d for field State", wireType)
|
|
3859
|
+
}
|
|
3860
|
+
m.State = 0
|
|
3861
|
+
for shift := uint(0); ; shift += 7 {
|
|
3862
|
+
if shift >= 64 {
|
|
3863
|
+
return ErrIntOverflowSwingset
|
|
3864
|
+
}
|
|
3865
|
+
if iNdEx >= l {
|
|
3866
|
+
return io.ErrUnexpectedEOF
|
|
3867
|
+
}
|
|
3868
|
+
b := dAtA[iNdEx]
|
|
3869
|
+
iNdEx++
|
|
3870
|
+
m.State |= ChunkState(b&0x7F) << shift
|
|
3871
|
+
if b < 0x80 {
|
|
3872
|
+
break
|
|
3873
|
+
}
|
|
3874
|
+
}
|
|
3875
|
+
default:
|
|
3876
|
+
iNdEx = preIndex
|
|
3877
|
+
skippy, err := skipSwingset(dAtA[iNdEx:])
|
|
3878
|
+
if err != nil {
|
|
3879
|
+
return err
|
|
3880
|
+
}
|
|
3881
|
+
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
3882
|
+
return ErrInvalidLengthSwingset
|
|
3883
|
+
}
|
|
3884
|
+
if (iNdEx + skippy) > l {
|
|
3885
|
+
return io.ErrUnexpectedEOF
|
|
3886
|
+
}
|
|
3887
|
+
iNdEx += skippy
|
|
3888
|
+
}
|
|
3889
|
+
}
|
|
3890
|
+
|
|
3891
|
+
if iNdEx > l {
|
|
3892
|
+
return io.ErrUnexpectedEOF
|
|
3893
|
+
}
|
|
3894
|
+
return nil
|
|
3895
|
+
}
|
|
3896
|
+
func (m *ChunkedArtifactNode) Unmarshal(dAtA []byte) error {
|
|
3897
|
+
l := len(dAtA)
|
|
3898
|
+
iNdEx := 0
|
|
3899
|
+
for iNdEx < l {
|
|
3900
|
+
preIndex := iNdEx
|
|
3901
|
+
var wire uint64
|
|
3902
|
+
for shift := uint(0); ; shift += 7 {
|
|
3903
|
+
if shift >= 64 {
|
|
3904
|
+
return ErrIntOverflowSwingset
|
|
3905
|
+
}
|
|
3906
|
+
if iNdEx >= l {
|
|
3907
|
+
return io.ErrUnexpectedEOF
|
|
3908
|
+
}
|
|
3909
|
+
b := dAtA[iNdEx]
|
|
3910
|
+
iNdEx++
|
|
3911
|
+
wire |= uint64(b&0x7F) << shift
|
|
3912
|
+
if b < 0x80 {
|
|
3913
|
+
break
|
|
3914
|
+
}
|
|
3915
|
+
}
|
|
3916
|
+
fieldNum := int32(wire >> 3)
|
|
3917
|
+
wireType := int(wire & 0x7)
|
|
3918
|
+
if wireType == 4 {
|
|
3919
|
+
return fmt.Errorf("proto: ChunkedArtifactNode: wiretype end group for non-group")
|
|
3920
|
+
}
|
|
3921
|
+
if fieldNum <= 0 {
|
|
3922
|
+
return fmt.Errorf("proto: ChunkedArtifactNode: illegal tag %d (wire type %d)", fieldNum, wire)
|
|
3923
|
+
}
|
|
3924
|
+
switch fieldNum {
|
|
3925
|
+
case 1:
|
|
3926
|
+
if wireType != 0 {
|
|
3927
|
+
return fmt.Errorf("proto: wrong wireType = %d for field ChunkedArtifactId", wireType)
|
|
3928
|
+
}
|
|
3929
|
+
m.ChunkedArtifactId = 0
|
|
3930
|
+
for shift := uint(0); ; shift += 7 {
|
|
3931
|
+
if shift >= 64 {
|
|
3932
|
+
return ErrIntOverflowSwingset
|
|
3933
|
+
}
|
|
3934
|
+
if iNdEx >= l {
|
|
3935
|
+
return io.ErrUnexpectedEOF
|
|
3936
|
+
}
|
|
3937
|
+
b := dAtA[iNdEx]
|
|
3938
|
+
iNdEx++
|
|
3939
|
+
m.ChunkedArtifactId |= uint64(b&0x7F) << shift
|
|
3940
|
+
if b < 0x80 {
|
|
3941
|
+
break
|
|
3942
|
+
}
|
|
3943
|
+
}
|
|
3944
|
+
case 2:
|
|
3945
|
+
if wireType != 0 {
|
|
3946
|
+
return fmt.Errorf("proto: wrong wireType = %d for field NextId", wireType)
|
|
3947
|
+
}
|
|
3948
|
+
m.NextId = 0
|
|
3949
|
+
for shift := uint(0); ; shift += 7 {
|
|
3950
|
+
if shift >= 64 {
|
|
3951
|
+
return ErrIntOverflowSwingset
|
|
3952
|
+
}
|
|
3953
|
+
if iNdEx >= l {
|
|
3954
|
+
return io.ErrUnexpectedEOF
|
|
3955
|
+
}
|
|
3956
|
+
b := dAtA[iNdEx]
|
|
3957
|
+
iNdEx++
|
|
3958
|
+
m.NextId |= uint64(b&0x7F) << shift
|
|
3959
|
+
if b < 0x80 {
|
|
3960
|
+
break
|
|
3961
|
+
}
|
|
3962
|
+
}
|
|
3963
|
+
case 3:
|
|
3964
|
+
if wireType != 0 {
|
|
3965
|
+
return fmt.Errorf("proto: wrong wireType = %d for field PrevId", wireType)
|
|
3966
|
+
}
|
|
3967
|
+
m.PrevId = 0
|
|
3968
|
+
for shift := uint(0); ; shift += 7 {
|
|
3969
|
+
if shift >= 64 {
|
|
3970
|
+
return ErrIntOverflowSwingset
|
|
3971
|
+
}
|
|
3972
|
+
if iNdEx >= l {
|
|
3973
|
+
return io.ErrUnexpectedEOF
|
|
3974
|
+
}
|
|
3975
|
+
b := dAtA[iNdEx]
|
|
3976
|
+
iNdEx++
|
|
3977
|
+
m.PrevId |= uint64(b&0x7F) << shift
|
|
3978
|
+
if b < 0x80 {
|
|
3979
|
+
break
|
|
3980
|
+
}
|
|
3981
|
+
}
|
|
3982
|
+
case 4:
|
|
3983
|
+
if wireType != 0 {
|
|
3984
|
+
return fmt.Errorf("proto: wrong wireType = %d for field StartTimeUnix", wireType)
|
|
3985
|
+
}
|
|
3986
|
+
m.StartTimeUnix = 0
|
|
3987
|
+
for shift := uint(0); ; shift += 7 {
|
|
3988
|
+
if shift >= 64 {
|
|
3989
|
+
return ErrIntOverflowSwingset
|
|
3990
|
+
}
|
|
3991
|
+
if iNdEx >= l {
|
|
3992
|
+
return io.ErrUnexpectedEOF
|
|
3993
|
+
}
|
|
3994
|
+
b := dAtA[iNdEx]
|
|
3995
|
+
iNdEx++
|
|
3996
|
+
m.StartTimeUnix |= int64(b&0x7F) << shift
|
|
3997
|
+
if b < 0x80 {
|
|
3998
|
+
break
|
|
3999
|
+
}
|
|
4000
|
+
}
|
|
4001
|
+
case 5:
|
|
4002
|
+
if wireType != 0 {
|
|
4003
|
+
return fmt.Errorf("proto: wrong wireType = %d for field StartBlockHeight", wireType)
|
|
4004
|
+
}
|
|
4005
|
+
m.StartBlockHeight = 0
|
|
4006
|
+
for shift := uint(0); ; shift += 7 {
|
|
4007
|
+
if shift >= 64 {
|
|
4008
|
+
return ErrIntOverflowSwingset
|
|
4009
|
+
}
|
|
4010
|
+
if iNdEx >= l {
|
|
4011
|
+
return io.ErrUnexpectedEOF
|
|
4012
|
+
}
|
|
4013
|
+
b := dAtA[iNdEx]
|
|
4014
|
+
iNdEx++
|
|
4015
|
+
m.StartBlockHeight |= int64(b&0x7F) << shift
|
|
4016
|
+
if b < 0x80 {
|
|
4017
|
+
break
|
|
4018
|
+
}
|
|
4019
|
+
}
|
|
4020
|
+
default:
|
|
4021
|
+
iNdEx = preIndex
|
|
4022
|
+
skippy, err := skipSwingset(dAtA[iNdEx:])
|
|
4023
|
+
if err != nil {
|
|
4024
|
+
return err
|
|
4025
|
+
}
|
|
4026
|
+
if (skippy < 0) || (iNdEx+skippy) < 0 {
|
|
4027
|
+
return ErrInvalidLengthSwingset
|
|
4028
|
+
}
|
|
4029
|
+
if (iNdEx + skippy) > l {
|
|
4030
|
+
return io.ErrUnexpectedEOF
|
|
4031
|
+
}
|
|
4032
|
+
iNdEx += skippy
|
|
4033
|
+
}
|
|
4034
|
+
}
|
|
4035
|
+
|
|
4036
|
+
if iNdEx > l {
|
|
4037
|
+
return io.ErrUnexpectedEOF
|
|
4038
|
+
}
|
|
4039
|
+
return nil
|
|
4040
|
+
}
|
|
2876
4041
|
func skipSwingset(dAtA []byte) (n int, err error) {
|
|
2877
4042
|
l := len(dAtA)
|
|
2878
4043
|
iNdEx := 0
|