Skip to content

Commit 17f2f57

Browse files
authored
fix: update to v0.25.16 rc.4 (#26)
* chore: update dash to 0.25.13 * fix: update contracts to work with 0.25.16 * chore: update dependencies
1 parent 018b6be commit 17f2f57

File tree

6 files changed

+396
-666
lines changed

6 files changed

+396
-666
lines changed

2-Contracts-and-Documents/contract-register-history.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const registerContract = async () => {
2424
properties: {
2525
message: {
2626
type: 'string',
27+
position: 0,
2728
},
2829
},
2930
additionalProperties: false,

2-Contracts-and-Documents/contract-register-minimal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const registerContract = async () => {
2424
properties: {
2525
message: {
2626
type: 'string',
27+
position: 0,
2728
},
2829
},
2930
additionalProperties: false,

2-Contracts-and-Documents/contract-update-history.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const updateContract = async () => {
2626

2727
documentSchema.properties.author = {
2828
type: 'string',
29+
position: 1,
2930
};
3031

3132
existingDataContract.setDocumentSchema('note', documentSchema);

2-Contracts-and-Documents/contract-update-minimal.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ const updateContract = async () => {
2525

2626
documentSchema.properties.author = {
2727
type: 'string',
28+
position: 1,
2829
};
2930

3031
existingDataContract.setDocumentSchema('note', documentSchema);

0 commit comments

Comments
 (0)