feat(sdk): token and group queries #5233
tests.yml
on: pull_request
Build JS packages
/
Build JS
4m 58s
Matrix: Build Docker images
Determine changed packages
16s
Rust crates security audit
55s
JS dependency versions check
10s
JS NPM security audit
11s
JS code security audit
/
Run Code QL
2m 59s
Packages functional tests
/
Run functional tests
4m 56s
Matrix: Test Suite
Matrix: Dashmate E2E tests
Matrix: JS packages
Matrix: Rust packages
Annotations
21 errors, 96 warnings, and 31 notices
Rust packages (dash-sdk) / Tests
Process completed with exit code 101.
|
Rust packages (dpp) / Check each feature
Process completed with exit code 101.
|
Build JS packages / Build JS
Unable to download artifact(s): Artifact not found for name: js-build-03fddcf4eb64b1f0000420e56dcbd726ee49dd0c
Please ensure that your artifact is not expired and the artifact was uploaded using a compatible version of toolkit/upload-artifact.
For more information, visit the GitHub Artifacts FAQ: https://github.com/actions/toolkit/blob/main/packages/artifact/docs/faq.md
|
Rust packages (token-history-contract) / Unused dependencies
Unable to process file command 'output' successfully.
|
Rust packages (token-history-contract) / Unused dependencies
Invalid format './packages/token-history-contract'
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L13
Expected indentation of 4 spaces but found 6
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L14
Expected indentation of 4 spaces but found 6
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L15
Expected indentation of 4 spaces but found 6
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L19
Expected indentation of 4 spaces but found 6
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L20
Expected indentation of 4 spaces but found 6
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L21
Expected indentation of 4 spaces but found 6
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L34
This line has a length of 103. Maximum allowed is 100
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L38
This line has a length of 101. Maximum allowed is 100
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L39
Expected indentation of 6 spaces but found 8
|
JS packages (@dashevo/token-history-contract) / Linting:
packages/token-history-contract/test/unit/tokenHistoryContract.spec.js#L40
Expected indentation of 6 spaces but found 8
|
JS packages (@dashevo/dapi) / Tests
Process completed with exit code 1.
|
JS packages (@dashevo/token-history-contract) / Tests
Process completed with exit code 33.
|
Rust packages (drive-abci) / Tests
Process completed with exit code 101.
|
JS code security audit / Run Code QL
CodeQL Action major versions v1 and v2 have been deprecated. Please update all occurrences of the CodeQL Action in your workflow files to v3. For more information, see https://github.blog/changelog/2025-01-10-code-scanning-codeql-action-v2-is-now-deprecated/
|
JS packages (dash) / Tests
The job running on runner GitHub Actions 4 has exceeded the maximum execution time of 15 minutes.
|
JS packages (dash) / Tests
The operation was canceled.
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L184
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:184:41
|
184 | DocumentTransition::Replace(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
= note: `#[warn(unused_variables)]` on by default
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L185
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:185:40
|
185 | DocumentTransition::Delete(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L186
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:186:42
|
186 | DocumentTransition::Transfer(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L187
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:187:45
|
187 | DocumentTransition::UpdatePrice(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L188
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:188:42
|
188 | DocumentTransition::Purchase(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused import: `crate::util::type_constants::DEFAULT_HASH_SIZE_U8`:
packages/rs-drive/src/drive/document/paths.rs#L2
warning: unused import: `crate::util::type_constants::DEFAULT_HASH_SIZE_U8`
--> packages/rs-drive/src/drive/document/paths.rs:2:5
|
2 | use crate::util::type_constants::DEFAULT_HASH_SIZE_U8;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`:
packages/rs-drive/src/drive/document/paths.rs#L3
warning: unused import: `dpp::data_contract::document_type::accessors::DocumentTypeV0Getters`
--> packages/rs-drive/src/drive/document/paths.rs:3:5
|
3 | use dpp::data_contract::document_type::accessors::DocumentTypeV0Getters;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::document_type::methods::DocumentTypeV0Methods`:
packages/rs-drive/src/drive/document/paths.rs#L4
warning: unused import: `dpp::data_contract::document_type::methods::DocumentTypeV0Methods`
--> packages/rs-drive/src/drive/document/paths.rs:4:5
|
4 | use dpp::data_contract::document_type::methods::DocumentTypeV0Methods;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::data_contract::document_type::DocumentTypeRef`:
packages/rs-drive/src/drive/document/paths.rs#L5
warning: unused import: `dpp::data_contract::document_type::DocumentTypeRef`
--> packages/rs-drive/src/drive/document/paths.rs:5:5
|
5 | use dpp::data_contract::document_type::DocumentTypeRef;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
function `contract_documents_primary_key_path` is never used:
packages/rs-drive/src/drive/document/paths.rs#L41
warning: function `contract_documents_primary_key_path` is never used
--> packages/rs-drive/src/drive/document/paths.rs:41:15
|
41 | pub(crate) fn contract_documents_primary_key_path<'a>(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L26
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:26:9
|
26 | / if old.conventions != new.conventions
27 | | || old.conventions_change_rules != new.conventions_change_rules
28 | | {
29 | | if !old.conventions_change_rules.can_change_to(
... |
46 | | }
47 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
= note: `#[warn(clippy::collapsible_if)]` on by default
help: collapse nested if block
|
26 ~ if (old.conventions != new.conventions || old.conventions_change_rules != new.conventions_change_rules) && !old.conventions_change_rules.can_change_to(
27 + &new.conventions_change_rules,
28 + contract_owner_id,
29 + self.main_control_group(),
30 + groups,
31 + action_taker,
32 + goal,
33 + ) {
34 + return SimpleConsensusValidationResult::new_with_error(
35 + DataContractTokenConfigurationUpdateError::new(
36 + "update".to_string(),
37 + "conventions or conventionsRules".to_string(),
38 + self.clone(),
39 + new_config.clone(),
40 + )
41 + .into(),
42 + );
43 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L63
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:63:9
|
63 | / if old.max_supply != new.max_supply
64 | | || old.max_supply_change_rules != new.max_supply_change_rules
65 | | {
66 | | if !old.max_supply_change_rules.can_change_to(
... |
83 | | }
84 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
63 ~ if (old.max_supply != new.max_supply || old.max_supply_change_rules != new.max_supply_change_rules) && !old.max_supply_change_rules.can_change_to(
64 + &new.max_supply_change_rules,
65 + contract_owner_id,
66 + self.main_control_group(),
67 + groups,
68 + action_taker,
69 + goal,
70 + ) {
71 + return SimpleConsensusValidationResult::new_with_error(
72 + DataContractTokenConfigurationUpdateError::new(
73 + "update".to_string(),
74 + "maxSupply or maxSupplyChangeRules".to_string(),
75 + self.clone(),
76 + new_config.clone(),
77 + )
78 + .into(),
79 + );
80 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L87
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:87:9
|
87 | / if old.distribution_rules.new_tokens_destination_identity()
88 | | != new.distribution_rules.new_tokens_destination_identity()
89 | | || old
90 | | .distribution_rules
... |
119 | | }
120 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
87 ~ if (old.distribution_rules.new_tokens_destination_identity()
88 + != new.distribution_rules.new_tokens_destination_identity() || old
89 + .distribution_rules
90 + .new_tokens_destination_identity_rules()
91 + != new
92 + .distribution_rules
93 + .new_tokens_destination_identity_rules()) && !old
94 + .distribution_rules
95 + .new_tokens_destination_identity_rules()
96 + .can_change_to(
97 + &new.distribution_rules
98 + .new_tokens_destination_identity_rules(),
99 + contract_owner_id,
100 + self.main_control_group(),
101 + groups,
102 + action_taker,
103 + goal,
104 + ) {
105 + return SimpleConsensusValidationResult::new_with_error(
106 + DataContractTokenConfigurationUpdateError::new(
107 + "update".to_string(),
108 + "newTokensDestinationIdentity or newTokensDestinationIdentityRules"
109 + .to_string(),
110 + self.clone(),
111 + new_config.clone(),
112 + )
113 + .into(),
114 + );
115 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L123
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:123:9
|
123 | / if old.distribution_rules.minting_allow_choosing_destination()
124 | | != new.distribution_rules.minting_allow_choosing_destination()
125 | | || old
126 | | .distribution_rules
... |
155 | | }
156 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
123 ~ if (old.distribution_rules.minting_allow_choosing_destination()
124 + != new.distribution_rules.minting_allow_choosing_destination() || old
125 + .distribution_rules
126 + .minting_allow_choosing_destination_rules()
127 + != new
128 + .distribution_rules
129 + .minting_allow_choosing_destination_rules()) && !old
130 + .distribution_rules
131 + .minting_allow_choosing_destination_rules()
132 + .can_change_to(
133 + &new.distribution_rules
134 + .minting_allow_choosing_destination_rules(),
135 + contract_owner_id,
136 + self.main_control_group(),
137 + groups,
138 + action_taker,
139 + goal,
140 + ) {
141 + return SimpleConsensusValidationResult::new_with_error(
142 + DataContractTokenConfigurationUpdateError::new(
143 + "update".to_string(),
144 + "mintingAllowChoosingDestination or mintingAllowChoosingDestinationRules"
145 + .to_string(),
146 + self.clone(),
147 + new_config.clone(),
148 + )
149 + .into(),
150 + );
151 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L159
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:159:9
|
159 | / if old.distribution_rules.perpetual_distribution()
160 | | != new.distribution_rules.perpetual_distribution()
161 | | || old.distribution_rules.perpetual_distribution_rules()
162 | | != new.distribution_rules.perpetual_distribution_rules()
... |
185 | | }
186 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
159 ~ if (old.distribution_rules.perpetual_distribution()
160 + != new.distribution_rules.perpetual_distribution() || old.distribution_rules.perpetual_distribution_rules()
161 + != new.distribution_rules.perpetual_distribution_rules()) && !old
162 + .distribution_rules
163 + .perpetual_distribution_rules()
164 + .can_change_to(
165 + &new.distribution_rules.perpetual_distribution_rules(),
166 + contract_owner_id,
167 + self.main_control_group(),
168 + groups,
169 + action_taker,
170 + goal,
171 + ) {
172 + return SimpleConsensusValidationResult::new_with_error(
173 + DataContractTokenConfigurationUpdateError::new(
174 + "update".to_string(),
175 + "perpetualDistribution or perpetualDistributionRules".to_string(),
176 + self.clone(),
177 + new_config.clone(),
178 + )
179 + .into(),
180 + );
181 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L189
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:189:9
|
189 | / if old.manual_minting_rules != new.manual_minting_rules {
190 | | if !old.manual_minting_rules.can_change_to(
191 | | &new.manual_minting_rules,
192 | | contract_owner_id,
... |
207 | | }
208 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
189 ~ if old.manual_minting_rules != new.manual_minting_rules && !old.manual_minting_rules.can_change_to(
190 + &new.manual_minting_rules,
191 + contract_owner_id,
192 + self.main_control_group(),
193 + groups,
194 + action_taker,
195 + goal,
196 + ) {
197 + return SimpleConsensusValidationResult::new_with_error(
198 + DataContractTokenConfigurationUpdateError::new(
199 + "update".to_string(),
200 + "manualMintingRules".to_string(),
201 + self.clone(),
202 + new_config.clone(),
203 + )
204 + .into(),
205 + );
206 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L211
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:211:9
|
211 | / if old.manual_burning_rules != new.manual_burning_rules {
212 | | if !old.manual_burning_rules.can_change_to(
213 | | &new.manual_burning_rules,
214 | | contract_owner_id,
... |
229 | | }
230 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
211 ~ if old.manual_burning_rules != new.manual_burning_rules && !old.manual_burning_rules.can_change_to(
212 + &new.manual_burning_rules,
213 + contract_owner_id,
214 + self.main_control_group(),
215 + groups,
216 + action_taker,
217 + goal,
218 + ) {
219 + return SimpleConsensusValidationResult::new_with_error(
220 + DataContractTokenConfigurationUpdateError::new(
221 + "update".to_string(),
222 + "manualBurningRules".to_string(),
223 + self.clone(),
224 + new_config.clone(),
225 + )
226 + .into(),
227 + );
228 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L233
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:233:9
|
233 | / if old.freeze_rules != new.freeze_rules {
234 | | if !old.freeze_rules.can_change_to(
235 | | &new.freeze_rules,
236 | | contract_owner_id,
... |
251 | | }
252 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
233 ~ if old.freeze_rules != new.freeze_rules && !old.freeze_rules.can_change_to(
234 + &new.freeze_rules,
235 + contract_owner_id,
236 + self.main_control_group(),
237 + groups,
238 + action_taker,
239 + goal,
240 + ) {
241 + return SimpleConsensusValidationResult::new_with_error(
242 + DataContractTokenConfigurationUpdateError::new(
243 + "update".to_string(),
244 + "freezeRules".to_string(),
245 + self.clone(),
246 + new_config.clone(),
247 + )
248 + .into(),
249 + );
250 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L255
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:255:9
|
255 | / if old.unfreeze_rules != new.unfreeze_rules {
256 | | if !old.unfreeze_rules.can_change_to(
257 | | &new.unfreeze_rules,
258 | | contract_owner_id,
... |
273 | | }
274 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
255 ~ if old.unfreeze_rules != new.unfreeze_rules && !old.unfreeze_rules.can_change_to(
256 + &new.unfreeze_rules,
257 + contract_owner_id,
258 + self.main_control_group(),
259 + groups,
260 + action_taker,
261 + goal,
262 + ) {
263 + return SimpleConsensusValidationResult::new_with_error(
264 + DataContractTokenConfigurationUpdateError::new(
265 + "update".to_string(),
266 + "unfreezeRules".to_string(),
267 + self.clone(),
268 + new_config.clone(),
269 + )
270 + .into(),
271 + );
272 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L277
warning: this `if` statement can be collapsed
--> packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs:277:9
|
277 | / if old.destroy_frozen_funds_rules != new.destroy_frozen_funds_rules {
278 | | if !old.destroy_frozen_funds_rules.can_change_to(
279 | | &new.destroy_frozen_funds_rules,
280 | | contract_owner_id,
... |
295 | | }
296 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
277 ~ if old.destroy_frozen_funds_rules != new.destroy_frozen_funds_rules && !old.destroy_frozen_funds_rules.can_change_to(
278 + &new.destroy_frozen_funds_rules,
279 + contract_owner_id,
280 + self.main_control_group(),
281 + groups,
282 + action_taker,
283 + goal,
284 + ) {
285 + return SimpleConsensusValidationResult::new_with_error(
286 + DataContractTokenConfigurationUpdateError::new(
287 + "update".to_string(),
288 + "destroyFrozenFundsRules".to_string(),
289 + self.clone(),
290 + new_config.clone(),
291 + )
292 + .into(),
293 + );
294 + }
|
|
unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs#L3
warning: unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs:3:5
|
3 | use crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs#L24
warning: unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs:24:5
|
24 | PrivateEncryptedNote, SharedEncryptedNote,
| ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
|
unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/v1/mod.rs#L15
warning: unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/v1/mod.rs:15:5
|
15 | PrivateEncryptedNote, SharedEncryptedNote,
| ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
|
unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L30
warning: unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:30:68
|
30 | ...1, TokenBurnTransition, TokenConfigUpdateTransition, TokenDestroyFrozenFundsTransition, TokenEmergencyActionTransition, TokenFreezeTransition, TokenMintTransition, TokenTransferTransition, TokenUnfreezeTransitio...
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::balances::credits::TokenAmount`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L42
warning: unused import: `crate::balances::credits::TokenAmount`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:42:5
|
42 | use crate::balances::credits::TokenAmount;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L184
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:184:41
|
184 | DocumentTransition::Replace(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
= note: `#[warn(unused_variables)]` on by default
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L185
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:185:40
|
185 | DocumentTransition::Delete(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L186
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:186:42
|
186 | DocumentTransition::Transfer(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L187
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:187:45
|
187 | DocumentTransition::UpdatePrice(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L188
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:188:42
|
188 | DocumentTransition::Purchase(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L8
Missing JSDoc @Property "network" description
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L38
Missing JSDoc @param "options" description
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L39
Missing JSDoc @param "createHistoricalSyncStream" description
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L40
Missing JSDoc @param "createContinuousSyncStream" description
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L63
Missing JSDoc @param "blockHeadersReader" description
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L71
Missing JSDoc @param "spvChain" description
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L107
Missing JSDoc @param "headers" description
|
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L108
Missing JSDoc @param "firstHeaderHeight" description
|
JS packages (@dashevo/dapi-client) / Linting:
packages/js-dapi-client/lib/BlockHeadersProvider/BlockHeadersProvider.js#L108
Missing JSDoc @param "firstHeaderHeight" type
|
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L184
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:184:41
|
184 | DocumentTransition::Replace(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
= note: `#[warn(unused_variables)]` on by default
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L185
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:185:40
|
185 | DocumentTransition::Delete(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L186
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:186:42
|
186 | DocumentTransition::Transfer(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L187
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:187:45
|
187 | DocumentTransition::UpdatePrice(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L188
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:188:42
|
188 | DocumentTransition::Purchase(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused import: `dpp::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0`:
packages/wasm-dpp/src/document/state_transition/batch_transition/token_transition/mod.rs#L24
warning: unused import: `dpp::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0`
--> packages/wasm-dpp/src/document/state_transition/batch_transition/token_transition/mod.rs:24:5
|
24 | use dpp::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `dpp::state_transition::batch_transition::token_mint_transition::TokenMintTransitionV0`:
packages/wasm-dpp/src/document/state_transition/batch_transition/token_transition/mod.rs#L25
warning: unused import: `dpp::state_transition::batch_transition::token_mint_transition::TokenMintTransitionV0`
--> packages/wasm-dpp/src/document/state_transition/batch_transition/token_transition/mod.rs:25:5
|
25 | use dpp::state_transition::batch_transition::token_mint_transition::TokenMintTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `dpp::state_transition::batch_transition::TokenMintTransition`:
packages/wasm-dpp/src/document/state_transition/batch_transition/token_transition/mod.rs#L26
warning: unused import: `dpp::state_transition::batch_transition::TokenMintTransition`
--> packages/wasm-dpp/src/document/state_transition/batch_transition/token_transition/mod.rs:26:5
|
26 | use dpp::state_transition::batch_transition::TokenMintTransition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unneeded unit return type:
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L118
warning: unneeded unit return type
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:118:44
|
118 | pub fn set_nonce(&mut self, nonce: u64) -> () {
| ^^^^^^ help: remove the `-> ()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unused_unit
= note: `#[warn(clippy::unused_unit)]` on by default
|
casting to the same type is unnecessary (`u16` -> `u16`):
packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs#L104
warning: casting to the same type is unnecessary (`u16` -> `u16`)
--> packages/wasm-dpp/src/identity/state_transition/identity_credit_transfer_transition/transition.rs:104:9
|
104 | self.0.user_fee_increase() as u16
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try: `self.0.user_fee_increase()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_cast
|
JS packages (@dashevo/wasm-dpp) / Linting:
packages/wasm-dpp/test/integration/identity/IdentityFacade.spec.js#L69
Unexpected console statement
|
|
|
|
|
|
|
|
|
|
|
|
|
JS packages (@dashevo/wallet-lib) / Linting:
packages/wallet-lib/src/test/mocks/dashcore/block.js#L33
Unexpected console statement
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Client.ts#L10
Dependency cycle via ./Platform:1
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Client.ts#L166
Assignment to function parameter 'options'
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Fetcher/Fetcher.ts#L143
Returning an awaited value that is not a promise is not allowed
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Platform.spec.ts#L5
Using exported name 'Client' as identifier for default export
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L5
Dependency cycle via ./Platform:10
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L5
Using exported name 'Client' as identifier for default export
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L8
Dependency cycle detected
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L8
Using exported name 'createAssetLockTransaction' as identifier for default export
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L10
Dependency cycle detected
|
JS packages (dash) / Linting:
packages/js-dash-sdk/src/SDK/Client/Platform/Platform.ts#L11
Dependency cycle detected
|
Dashmate E2E tests (Local network, test/e2e/localNetwork.spec.js, true) / Run Local network tests
Cache not found for keys: local-network-volumes/37af28144
|
unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs#L3
warning: unused import: `crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs:3:5
|
3 | use crate::data_contract::associated_token::token_configuration_item::TokenConfigurationChangeItem;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs#L24
warning: unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/mod.rs:24:5
|
24 | PrivateEncryptedNote, SharedEncryptedNote,
| ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
|
unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/v1/mod.rs#L15
warning: unused imports: `PrivateEncryptedNote` and `SharedEncryptedNote`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/methods/v1/mod.rs:15:5
|
15 | PrivateEncryptedNote, SharedEncryptedNote,
| ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^
|
unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L30
warning: unused imports: `TokenBurnTransition`, `TokenConfigUpdateTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:30:68
|
30 | ...1, TokenBurnTransition, TokenConfigUpdateTransition, TokenDestroyFrozenFundsTransition, TokenEmergencyActionTransition, TokenFreezeTransition, TokenMintTransition, TokenTransferTransition, TokenUnfreezeTransitio...
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::balances::credits::TokenAmount`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L42
warning: unused import: `crate::balances::credits::TokenAmount`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:42:5
|
42 | use crate::balances::credits::TokenAmount;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L184
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:184:41
|
184 | DocumentTransition::Replace(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
= note: `#[warn(unused_variables)]` on by default
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L185
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:185:40
|
185 | DocumentTransition::Delete(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L186
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:186:42
|
186 | DocumentTransition::Transfer(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L187
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:187:45
|
187 | DocumentTransition::UpdatePrice(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
unused variable: `t`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs#L188
warning: unused variable: `t`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_transition.rs:188:42
|
188 | DocumentTransition::Purchase(t) => None,
| ^ help: if this is intentional, prefix it with an underscore: `_t`
|
Packages functional tests / Run functional tests
Cache not found for keys: local-network-volumes/37af28144
|
Packages functional tests / Run functional tests
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Packages functional tests / Run functional tests
Cache save failed.
|
Test Suite (Test Suite in browser (2), test:browsers, 1, 2) / Run Test Suite in browser (2)
Cache not found for keys: local-network-volumes/37af28144
|
Test Suite (Test Suite in browser (1), test:browsers, 0, 2) / Run Test Suite in browser (1)
Cache not found for keys: local-network-volumes/37af28144
|
Test Suite (Test Suite in browser (1), test:browsers, 0, 2) / Run Test Suite in browser (1)
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
|
Test Suite (Test Suite, test:suite, 0, 0) / Run Test Suite
Cache not found for keys: local-network-volumes/37af28144
|
Test Suite (Test Suite, test:suite, 0, 0) / Run Test Suite
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
|
Test Suite (Test Suite, test:suite, 0, 0) / Run Test Suite
Cache save failed.
|
sccache stats
100% - 290 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 190 hits, 0 misses, 0 errors
|
sccache stats
100% - 174 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 226 hits, 0 misses, 0 errors
|
sccache stats
100% - 429 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 412 hits, 0 misses, 0 errors
|
sccache stats
99% - 107 hits, 0 misses, 1 errors
|
sccache stats
100% - 197 hits, 0 misses, 0 errors
|
sccache stats
100% - 217 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 551 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 217 hits, 0 misses, 0 errors
|
sccache stats
100% - 453 hits, 0 misses, 0 errors
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 209 hits, 0 misses, 0 errors
|
sccache stats
100% - 38 hits, 0 misses, 0 errors
|
sccache stats
100% - 218 hits, 0 misses, 0 errors
|
sccache stats
100% - 195 hits, 0 misses, 0 errors
|
sccache stats
100% - 42 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 208 hits, 0 misses, 0 errors
|
sccache stats
100% - 216 hits, 0 misses, 0 errors
|
sccache stats
99% - 1037 hits, 7 misses, 0 errors
|
sccache stats
100% - 841 hits, 1 misses, 0 errors
|
sccache stats
100% - 888 hits, 0 misses, 0 errors
|
sccache stats
100% - 444 hits, 0 misses, 0 errors
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dashpay~platform~5DSFEB.dockerbuild
|
96.6 KB |
|
dashpay~platform~DAXWBA.dockerbuild
|
86 KB |
|
dashpay~platform~P1LD2E.dockerbuild
|
86.5 KB |
|
js-build-03fddcf4eb64b1f0000420e56dcbd726ee49dd0c
Expired
|
18.6 MB |
|