-
Notifications
You must be signed in to change notification settings - Fork 39
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore(sdk): various sdk fixes #2328
Draft
QuantumExplorer
wants to merge
23
commits into
refactor/replaceBLSLibrary
Choose a base branch
from
test/testWithoutSpan
base: refactor/replaceBLSLibrary
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 22 commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
33d6420
replace bls library
QuantumExplorer 91cbe4a
more work
QuantumExplorer 7f814ad
exposed dapi-grpc in sdk
QuantumExplorer 4506f9f
trial
QuantumExplorer efb4310
fix: add pagination support to sdk
QuantumExplorer f49b652
Merge branch 'fix/addPaginationSupportToSDK' into test/testWithoutSpan
QuantumExplorer 08e6e66
added more unit tests
QuantumExplorer 1237318
temp
QuantumExplorer 7c77c40
more fixes
QuantumExplorer 0a9e51b
Merge branch 'fix/addPaginationSupportToSDK' into test/testWithoutSpan
QuantumExplorer 2e69847
Merge branch 'v1.4-dev' into test/testWithoutSpan
QuantumExplorer bb18327
updated rust dash core
QuantumExplorer ae8257c
more fixes
QuantumExplorer 272f5ac
more fixes
QuantumExplorer ddf1c8b
retry calls to core in sdk
QuantumExplorer 994f762
Merge branch 'v1.6-dev' into test/testWithoutSpan
QuantumExplorer 386d7ba
Merge branch 'refactor/replaceBLSLibrary' into test/testWithoutSpan
lklimek 2b93932
fix(sdk): broken import fails compilation
lklimek c9952b1
Merge remote-tracking branch 'origin/refactor/replaceBLSLibrary' into…
lklimek 6186f2f
Merge branch 'refactor/replaceBLSLibrary' into test/testWithoutSpan
lklimek a2a17b2
Merge remote-tracking branch 'origin/refactor/replaceBLSLibrary' into…
lklimek 5c3f318
chore: uncomment logging
lklimek c3a8f80
refactor(sdk)!: separate dash core client error (#2380)
lklimek File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 4 additions & 1 deletion
5
packages/rs-dpp/src/identity/identity_public_key/methods/hash/v0/mod.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4662,6 +4662,8 @@ fn test_dpns_query_start_after_with_null_id() { | |
) | ||
.expect("query should be built"); | ||
|
||
println!("{:?}", query); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Remove debug output |
||
|
||
// We are commenting this out on purpose to make it easier to find | ||
// let mut query_operations: Vec<QueryOperation> = vec![]; | ||
// let path_query = query | ||
|
141 changes: 141 additions & 0 deletions
141
packages/rs-drive/tests/supporting_files/contract/withdrawals/withdrawals.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,141 @@ | ||
{ | ||
"$format_version": "0", | ||
"id": "BnqN3oupH6uCogzgZMvSjjpKxmcdNXAShnNY4Kor33aL", | ||
"ownerId": "BnqN3oupH6uCogzgZMvSjjpKxmcdNXAShnNY4Kor33aL", | ||
"version": 1, | ||
"documentSchemas": { | ||
"withdrawal": { | ||
"description": "Withdrawal document to track underlying withdrawal transactions. Withdrawals should be created with IdentityWithdrawalTransition", | ||
"creationRestrictionMode": 2, | ||
"type": "object", | ||
"indices": [ | ||
{ | ||
"name": "identityStatus", | ||
"properties": [ | ||
{ | ||
"$ownerId": "asc" | ||
}, | ||
{ | ||
"status": "asc" | ||
}, | ||
{ | ||
"$createdAt": "asc" | ||
} | ||
], | ||
"unique": false | ||
}, | ||
{ | ||
"name": "identityRecent", | ||
"properties": [ | ||
{ | ||
"$ownerId": "asc" | ||
}, | ||
{ | ||
"$updatedAt": "asc" | ||
}, | ||
{ | ||
"status": "asc" | ||
} | ||
], | ||
"unique": false | ||
}, | ||
{ | ||
"name": "pooling", | ||
"properties": [ | ||
{ | ||
"status": "asc" | ||
}, | ||
{ | ||
"pooling": "asc" | ||
}, | ||
{ | ||
"coreFeePerByte": "asc" | ||
}, | ||
{ | ||
"$updatedAt": "asc" | ||
} | ||
], | ||
"unique": false | ||
}, | ||
{ | ||
"name": "transaction", | ||
"properties": [ | ||
{ | ||
"status": "asc" | ||
}, | ||
{ | ||
"transactionIndex": "asc" | ||
} | ||
], | ||
"unique": false | ||
} | ||
], | ||
"properties": { | ||
"transactionIndex": { | ||
"type": "integer", | ||
"description": "Sequential index of asset unlock (withdrawal) transaction. Populated when a withdrawal pooled into withdrawal transaction", | ||
"minimum": 1, | ||
"position": 0 | ||
}, | ||
"transactionSignHeight": { | ||
"type": "integer", | ||
"description": "The Core height on which transaction was signed", | ||
"minimum": 1, | ||
"position": 1 | ||
}, | ||
"amount": { | ||
"type": "integer", | ||
"description": "The amount to be withdrawn", | ||
"minimum": 1000, | ||
"position": 2 | ||
}, | ||
"coreFeePerByte": { | ||
"type": "integer", | ||
"description": "This is the fee that you are willing to spend for this transaction in Duffs/Byte", | ||
"minimum": 1, | ||
"maximum": 4294967295, | ||
"position": 3 | ||
}, | ||
"pooling": { | ||
"type": "integer", | ||
"description": "This indicated the level at which Platform should try to pool this transaction", | ||
"enum": [ | ||
0, | ||
1, | ||
2 | ||
], | ||
"position": 4 | ||
}, | ||
"outputScript": { | ||
"type": "array", | ||
"byteArray": true, | ||
"minItems": 23, | ||
"maxItems": 25, | ||
"position": 5 | ||
}, | ||
"status": { | ||
"type": "integer", | ||
"enum": [ | ||
0, | ||
1, | ||
2, | ||
3, | ||
4 | ||
], | ||
"description": "0 - Pending, 1 - Signed, 2 - Broadcasted, 3 - Complete, 4 - Expired", | ||
"position": 6 | ||
} | ||
}, | ||
"additionalProperties": false, | ||
"required": [ | ||
"$createdAt", | ||
"$updatedAt", | ||
"amount", | ||
"coreFeePerByte", | ||
"pooling", | ||
"outputScript", | ||
"status" | ||
] | ||
} | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove debug output