Skip to content

Commit 0e27b51

Browse files
authored
Merge pull request #1613 from onflow/tim/add-collection-guarantee-chainid
Add ClusterChainID field to CollectionGuarantee
2 parents 5f2aa41 + d85dd81 commit 0e27b51

File tree

7 files changed

+56
-20
lines changed

7 files changed

+56
-20
lines changed

openapi/access.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1005,6 +1005,8 @@ components:
10051005
- collection_id
10061006
- signer_ids
10071007
- signature
1008+
- reference_block_id
1009+
- cluster_chain_id
10081010
properties:
10091011
collection_id:
10101012
$ref: '#/components/schemas/Identifier'
@@ -1016,6 +1018,10 @@ components:
10161018
uniqueItems: true
10171019
signature:
10181020
$ref: '#/components/schemas/Signature'
1021+
reference_block_id:
1022+
$ref: '#/components/schemas/Identifier'
1023+
cluster_chain_id:
1024+
$ref: string
10191025
BlockSeal:
10201026
type: object
10211027
required:
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.68
1+
3.0.71

openapi/go-client-generated/api/swagger.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1607,11 +1607,15 @@ components:
16071607
- null
16081608
- null
16091609
signature: null
1610+
reference_block_id: null
1611+
cluster_chain_id: "{}"
16101612
- collection_id: null
16111613
signer_ids:
16121614
- null
16131615
- null
16141616
signature: null
1617+
reference_block_id: null
1618+
cluster_chain_id: "{}"
16151619
block_seals:
16161620
- result_id: null
16171621
final_state: final_state
@@ -1739,11 +1743,15 @@ components:
17391743
- null
17401744
- null
17411745
signature: null
1746+
reference_block_id: null
1747+
cluster_chain_id: "{}"
17421748
- collection_id: null
17431749
signer_ids:
17441750
- null
17451751
- null
17461752
signature: null
1753+
reference_block_id: null
1754+
cluster_chain_id: "{}"
17471755
block_seals:
17481756
- result_id: null
17491757
final_state: final_state
@@ -1779,7 +1787,9 @@ components:
17791787
block_id: null
17801788
CollectionGuarantee:
17811789
required:
1790+
- cluster_chain_id
17821791
- collection_id
1792+
- reference_block_id
17831793
- signature
17841794
- signer_ids
17851795
type: object
@@ -1794,12 +1804,18 @@ components:
17941804
$ref: "#/components/schemas/Identifier"
17951805
signature:
17961806
$ref: "#/components/schemas/Signature"
1807+
reference_block_id:
1808+
$ref: "#/components/schemas/Identifier"
1809+
cluster_chain_id:
1810+
$ref: "#/components/schemas/string"
17971811
example:
17981812
collection_id: null
17991813
signer_ids:
18001814
- null
18011815
- null
18021816
signature: null
1817+
reference_block_id: null
1818+
cluster_chain_id: "{}"
18031819
BlockSeal:
18041820
required:
18051821
- aggregated_approval_signatures

openapi/go-client-generated/docs/CollectionGuarantee.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ Name | Type | Description | Notes
66
**CollectionId** | **string** | | [default to null]
77
**SignerIds** | **[]string** | | [default to null]
88
**Signature** | **string** | | [default to null]
9+
**ReferenceBlockId** | **string** | | [default to null]
10+
**ClusterChainId** | **string** | | [default to null]
911

1012
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1113

openapi/go-client-generated/model_collection_guarantee.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,6 @@ type CollectionGuarantee struct {
1212
CollectionId string `json:"collection_id"`
1313
SignerIds []string `json:"signer_ids"`
1414
Signature string `json:"signature"`
15+
ReferenceBlockId string `json:"reference_block_id"`
16+
ClusterChainId string `json:"cluster_chain_id"`
1517
}

protobuf/flow/entities/collection.proto

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ message CollectionGuarantee {
1717
bytes signature = 4;
1818
repeated bytes signer_ids = 5; // deprecated!! value will be empty. replaced by signer_indices
1919
bytes signer_indices = 6;
20+
bytes cluster_chain_id = 7;
2021
}

protobuf/go/flow/entities/collection.pb.go

Lines changed: 28 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)