feat(platform)!: token support [WIP] #5069
tests.yml
on: pull_request
Build JS packages
/
Build JS
29s
Matrix: Build Docker images
Determine changed packages
22s
Rust crates security audit
1m 5s
JS dependency versions check
8s
JS NPM security audit
7s
JS code security audit
/
Run Code QL
Packages functional tests
/
Run functional tests
Matrix: Test Suite
Waiting for pending jobs
Matrix: Dashmate E2E tests
Waiting for pending jobs
Matrix: JS packages
Waiting for pending jobs
Matrix: Rust packages
Annotations
22 errors, 40 warnings, and 30 notices
JS dependency versions check
Process completed with exit code 1.
|
JS NPM security audit
Process completed with exit code 1.
|
Build JS packages / Build JS
Unable to download artifact(s): Artifact not found for name: js-build-6abbbff332a11c26fe8b6e96726010b5b7c55ec5
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
|
Build JS packages / Build JS
Process completed with exit code 1.
|
Build Docker images (Dashmate helper, dashmate-helper, dashmate-helper) / Build Dashmate helper image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c source /root/env && cp -R /tmp/unplugged /platform/.yarn/ && yarn install --inline-builds && cp -R /platform/.yarn/unplugged /tmp/ && export SKIP_GRPC_PROTO_BUILD=1 && yarn build && if [[ -x /usr/bin/sccache ]]; then sccache --show-stats; fi && rm -rf target packages/rs-*" did not complete successfully: exit code: 1
|
Build Docker images (DAPI, dapi, dapi) / Build DAPI image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c source /root/env && cp -R /tmp/unplugged /platform/.yarn/ && yarn install --inline-builds && cp -R /platform/.yarn/unplugged /tmp/ && export SKIP_GRPC_PROTO_BUILD=1 && yarn build && if [[ -x /usr/bin/sccache ]]; then sccache --show-stats; fi && rm -rf target packages/rs-*" did not complete successfully: exit code: 1
|
Rust packages (dpp) / Check each feature
Process completed with exit code 101.
|
Rust packages (dash-sdk) / Check each feature
Process completed with exit code 101.
|
Rust packages (dash-sdk) / Tests
Process completed with exit code 101.
|
no function or associated item named `token_status_query` found for struct `drive::Drive` in the current scope:
packages/rs-drive/src/query/token_status_drive_query.rs#L16
error[E0599]: no function or associated item named `token_status_query` found for struct `drive::Drive` in the current scope
--> packages/rs-drive/src/query/token_status_drive_query.rs:16:16
|
16 | Drive::token_status_query(self.token_id.to_buffer())
| ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Drive`
|
::: packages/rs-drive/src/drive/mod.rs:71:1
|
71 | pub struct Drive {
| ---------------- function or associated item `token_status_query` not found for this struct
|
no function or associated item named `group_action_signers_query` found for struct `drive::Drive` in the current scope:
packages/rs-drive/src/verify/group/verify_action_signers/v0/mod.rs#L26
error[E0599]: no function or associated item named `group_action_signers_query` found for struct `drive::Drive` in the current scope
--> packages/rs-drive/src/verify/group/verify_action_signers/v0/mod.rs:26:33
|
26 | let path_query = Drive::group_action_signers_query(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Drive`
|
::: packages/rs-drive/src/drive/mod.rs:71:1
|
71 | pub struct Drive {
| ---------------- function or associated item `group_action_signers_query` not found for this struct
|
no function or associated item named `group_action_infos_query` found for struct `drive::Drive` in the current scope:
packages/rs-drive/src/verify/group/verify_active_action_infos/v0/mod.rs#L29
error[E0599]: no function or associated item named `group_action_infos_query` found for struct `drive::Drive` in the current scope
--> packages/rs-drive/src/verify/group/verify_active_action_infos/v0/mod.rs:29:33
|
29 | let path_query = Drive::group_action_infos_query(
| ^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Drive`
|
::: packages/rs-drive/src/drive/mod.rs:71:1
|
71 | pub struct Drive {
| ---------------- function or associated item `group_action_infos_query` not found for this struct
|
no function or associated item named `group_info_for_contract_id_and_group_contract_position_query` found for struct `drive::Drive` in the current scope:
packages/rs-drive/src/verify/group/verify_group_info/v0/mod.rs#L23
error[E0599]: no function or associated item named `group_info_for_contract_id_and_group_contract_position_query` found for struct `drive::Drive` in the current scope
--> packages/rs-drive/src/verify/group/verify_group_info/v0/mod.rs:23:32
|
23 | let path_query = Self::group_info_for_contract_id_and_group_contract_position_query(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Drive`
|
::: packages/rs-drive/src/drive/mod.rs:71:1
|
71 | pub struct Drive {
| ---------------- function or associated item `group_info_for_contract_id_and_group_contract_position_query` not found for this struct
|
no function or associated item named `group_infos_for_contract_id_query` found for struct `drive::Drive` in the current scope:
packages/rs-drive/src/verify/group/verify_group_infos_in_contract/v0/mod.rs#L28
error[E0599]: no function or associated item named `group_infos_for_contract_id_query` found for struct `drive::Drive` in the current scope
--> packages/rs-drive/src/verify/group/verify_group_infos_in_contract/v0/mod.rs:28:32
|
28 | let path_query = Self::group_infos_for_contract_id_query(
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Drive`
|
::: packages/rs-drive/src/drive/mod.rs:71:1
|
71 | pub struct Drive {
| ---------------- function or associated item `group_infos_for_contract_id_query` not found for this struct
|
help: there is an associated function `token_infos_for_range_query` with a similar name
--> packages/rs-drive/src/drive/tokens/info/queries.rs:59:5
|
59 | / pub fn token_infos_for_range_query(
60 | | token_id: [u8; 32],
61 | | start_at: Option<([u8; 32], bool)>,
62 | | ascending: bool,
63 | | limit: u16,
64 | | ) -> PathQuery {
| |__________________^
|
no function or associated item named `token_status_query` found for struct `drive::Drive` in the current scope:
packages/rs-drive/src/verify/tokens/verify_token_status/v0/mod.rs#L21
error[E0599]: no function or associated item named `token_status_query` found for struct `drive::Drive` in the current scope
--> packages/rs-drive/src/verify/tokens/verify_token_status/v0/mod.rs:21:32
|
21 | let path_query = Self::token_status_query(token_id);
| ^^^^^^^^^^^^^^^^^^ function or associated item not found in `Drive`
|
::: packages/rs-drive/src/drive/mod.rs:71:1
|
71 | pub struct Drive {
| ---------------- function or associated item `token_status_query` not found for this struct
|
no function or associated item named `token_statuses_query` found for struct `drive::Drive` in the current scope:
packages/rs-drive/src/verify/tokens/verify_token_statuses/v0/mod.rs#L24
error[E0599]: no function or associated item named `token_statuses_query` found for struct `drive::Drive` in the current scope
--> packages/rs-drive/src/verify/tokens/verify_token_statuses/v0/mod.rs:24:32
|
24 | let path_query = Self::token_statuses_query(token_ids);
| ^^^^^^^^^^^^^^^^^^^^ function or associated item not found in `Drive`
|
::: packages/rs-drive/src/drive/mod.rs:71:1
|
71 | pub struct Drive {
| ---------------- function or associated item `token_statuses_query` not found for this struct
|
Rust packages (dash-sdk) / Linting
Clippy has exited with exit code 101
|
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'
|
unresolved import `data_contracts`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_transition.rs#L6
error[E0432]: unresolved import `data_contracts`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/token_transition.rs:6:5
|
6 | use data_contracts::SystemDataContract;
| ^^^^^^^^^^^^^^ use of undeclared crate or module `data_contracts`
|
Rust packages (wasm-dpp) / Linting
Clippy has exited with exit code 101
|
Rust packages (wasm-dpp) / Tests
Process completed with exit code 101.
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L25
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:25:9
|
25 | / if old.conventions != new.conventions
26 | | || old.conventions_change_rules != new.conventions_change_rules
27 | | {
28 | | if !old.conventions_change_rules.can_change_to(
... |
45 | | }
46 | | }
| |_________^
|
= 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
|
25 ~ if (old.conventions != new.conventions || old.conventions_change_rules != new.conventions_change_rules) && !old.conventions_change_rules.can_change_to(
26 + &new.conventions_change_rules,
27 + contract_owner_id,
28 + self.main_control_group(),
29 + groups,
30 + action_taker,
31 + goal,
32 + ) {
33 + return SimpleConsensusValidationResult::new_with_error(
34 + DataContractTokenConfigurationUpdateError::new(
35 + "update".to_string(),
36 + "conventions or conventionsRules".to_string(),
37 + self.clone(),
38 + new_config.clone(),
39 + )
40 + .into(),
41 + );
42 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L62
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:62:9
|
62 | / if old.max_supply != new.max_supply
63 | | || old.max_supply_change_rules != new.max_supply_change_rules
64 | | {
65 | | if !old.max_supply_change_rules.can_change_to(
... |
82 | | }
83 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
62 ~ 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(
63 + &new.max_supply_change_rules,
64 + contract_owner_id,
65 + self.main_control_group(),
66 + groups,
67 + action_taker,
68 + goal,
69 + ) {
70 + return SimpleConsensusValidationResult::new_with_error(
71 + DataContractTokenConfigurationUpdateError::new(
72 + "update".to_string(),
73 + "maxSupply or maxSupplyChangeRules".to_string(),
74 + self.clone(),
75 + new_config.clone(),
76 + )
77 + .into(),
78 + );
79 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L86
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:86:9
|
86 | / if old.new_tokens_destination_identity != new.new_tokens_destination_identity
87 | | || old.new_tokens_destination_identity_rules
88 | | != new.new_tokens_destination_identity_rules
89 | | {
... |
108 | | }
109 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
86 ~ if (old.new_tokens_destination_identity != new.new_tokens_destination_identity || old.new_tokens_destination_identity_rules
87 + != new.new_tokens_destination_identity_rules) && !old.new_tokens_destination_identity_rules.can_change_to(
88 + &new.new_tokens_destination_identity_rules,
89 + contract_owner_id,
90 + self.main_control_group(),
91 + groups,
92 + action_taker,
93 + goal,
94 + ) {
95 + return SimpleConsensusValidationResult::new_with_error(
96 + DataContractTokenConfigurationUpdateError::new(
97 + "update".to_string(),
98 + "newTokensDestinationIdentity or newTokensDestinationIdentityRules"
99 + .to_string(),
100 + self.clone(),
101 + new_config.clone(),
102 + )
103 + .into(),
104 + );
105 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L112
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:112:9
|
112 | / if old.minting_allow_choosing_destination != new.minting_allow_choosing_destination
113 | | || old.minting_allow_choosing_destination_rules
114 | | != new.minting_allow_choosing_destination_rules
115 | | {
... |
134 | | }
135 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
112 ~ if (old.minting_allow_choosing_destination != new.minting_allow_choosing_destination || old.minting_allow_choosing_destination_rules
113 + != new.minting_allow_choosing_destination_rules) && !old.minting_allow_choosing_destination_rules.can_change_to(
114 + &new.minting_allow_choosing_destination_rules,
115 + contract_owner_id,
116 + self.main_control_group(),
117 + groups,
118 + action_taker,
119 + goal,
120 + ) {
121 + return SimpleConsensusValidationResult::new_with_error(
122 + DataContractTokenConfigurationUpdateError::new(
123 + "update".to_string(),
124 + "mintingAllowChoosingDestination or mintingAllowChoosingDestinationRules"
125 + .to_string(),
126 + self.clone(),
127 + new_config.clone(),
128 + )
129 + .into(),
130 + );
131 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L138
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:138:9
|
138 | / if old.manual_minting_rules != new.manual_minting_rules {
139 | | if !old.manual_minting_rules.can_change_to(
140 | | &new.manual_minting_rules,
141 | | contract_owner_id,
... |
156 | | }
157 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
138 ~ if old.manual_minting_rules != new.manual_minting_rules && !old.manual_minting_rules.can_change_to(
139 + &new.manual_minting_rules,
140 + contract_owner_id,
141 + self.main_control_group(),
142 + groups,
143 + action_taker,
144 + goal,
145 + ) {
146 + return SimpleConsensusValidationResult::new_with_error(
147 + DataContractTokenConfigurationUpdateError::new(
148 + "update".to_string(),
149 + "manualMintingRules".to_string(),
150 + self.clone(),
151 + new_config.clone(),
152 + )
153 + .into(),
154 + );
155 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L160
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:160:9
|
160 | / if old.manual_burning_rules != new.manual_burning_rules {
161 | | if !old.manual_burning_rules.can_change_to(
162 | | &new.manual_burning_rules,
163 | | contract_owner_id,
... |
178 | | }
179 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
160 ~ if old.manual_burning_rules != new.manual_burning_rules && !old.manual_burning_rules.can_change_to(
161 + &new.manual_burning_rules,
162 + contract_owner_id,
163 + self.main_control_group(),
164 + groups,
165 + action_taker,
166 + goal,
167 + ) {
168 + return SimpleConsensusValidationResult::new_with_error(
169 + DataContractTokenConfigurationUpdateError::new(
170 + "update".to_string(),
171 + "manualBurningRules".to_string(),
172 + self.clone(),
173 + new_config.clone(),
174 + )
175 + .into(),
176 + );
177 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L182
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:182:9
|
182 | / if old.freeze_rules != new.freeze_rules {
183 | | if !old.freeze_rules.can_change_to(
184 | | &new.freeze_rules,
185 | | contract_owner_id,
... |
200 | | }
201 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
182 ~ if old.freeze_rules != new.freeze_rules && !old.freeze_rules.can_change_to(
183 + &new.freeze_rules,
184 + contract_owner_id,
185 + self.main_control_group(),
186 + groups,
187 + action_taker,
188 + goal,
189 + ) {
190 + return SimpleConsensusValidationResult::new_with_error(
191 + DataContractTokenConfigurationUpdateError::new(
192 + "update".to_string(),
193 + "freezeRules".to_string(),
194 + self.clone(),
195 + new_config.clone(),
196 + )
197 + .into(),
198 + );
199 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L204
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:204:9
|
204 | / if old.unfreeze_rules != new.unfreeze_rules {
205 | | if !old.unfreeze_rules.can_change_to(
206 | | &new.unfreeze_rules,
207 | | contract_owner_id,
... |
222 | | }
223 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
204 ~ if old.unfreeze_rules != new.unfreeze_rules && !old.unfreeze_rules.can_change_to(
205 + &new.unfreeze_rules,
206 + contract_owner_id,
207 + self.main_control_group(),
208 + groups,
209 + action_taker,
210 + goal,
211 + ) {
212 + return SimpleConsensusValidationResult::new_with_error(
213 + DataContractTokenConfigurationUpdateError::new(
214 + "update".to_string(),
215 + "unfreezeRules".to_string(),
216 + self.clone(),
217 + new_config.clone(),
218 + )
219 + .into(),
220 + );
221 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L226
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:226:9
|
226 | / if old.destroy_frozen_funds_rules != new.destroy_frozen_funds_rules {
227 | | if !old.destroy_frozen_funds_rules.can_change_to(
228 | | &new.destroy_frozen_funds_rules,
229 | | contract_owner_id,
... |
244 | | }
245 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
226 ~ if old.destroy_frozen_funds_rules != new.destroy_frozen_funds_rules && !old.destroy_frozen_funds_rules.can_change_to(
227 + &new.destroy_frozen_funds_rules,
228 + contract_owner_id,
229 + self.main_control_group(),
230 + groups,
231 + action_taker,
232 + goal,
233 + ) {
234 + return SimpleConsensusValidationResult::new_with_error(
235 + DataContractTokenConfigurationUpdateError::new(
236 + "update".to_string(),
237 + "destroyFrozenFundsRules".to_string(),
238 + self.clone(),
239 + new_config.clone(),
240 + )
241 + .into(),
242 + );
243 + }
|
|
this `if` statement can be collapsed:
packages/rs-dpp/src/data_contract/associated_token/token_configuration/methods/validate_token_configuration_update/v0/mod.rs#L248
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:248:9
|
248 | / if old.emergency_action_rules != new.emergency_action_rules {
249 | | if !old.emergency_action_rules.can_change_to(
250 | | &new.emergency_action_rules,
251 | | contract_owner_id,
... |
266 | | }
267 | | }
| |_________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#collapsible_if
help: collapse nested if block
|
248 ~ if old.emergency_action_rules != new.emergency_action_rules && !old.emergency_action_rules.can_change_to(
249 + &new.emergency_action_rules,
250 + contract_owner_id,
251 + self.main_control_group(),
252 + groups,
253 + action_taker,
254 + goal,
255 + ) {
256 + return SimpleConsensusValidationResult::new_with_error(
257 + DataContractTokenConfigurationUpdateError::new(
258 + "update".to_string(),
259 + "emergencyActionRules".to_string(),
260 + self.clone(),
261 + new_config.clone(),
262 + )
263 + .into(),
264 + );
265 + }
|
|
unused imports: `TokenBurnTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L34
warning: unused imports: `TokenBurnTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:34:68
|
34 | ...1, TokenBurnTransition, TokenDestroyFrozenFundsTransition, TokenEmergencyActionTransition, TokenFreezeTransition, TokenMintTransition, TokenTransferTransition, TokenUnfreezeTransitio...
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `crate::balances::credits::TokenAmount`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L46
warning: unused import: `crate::balances::credits::TokenAmount`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:46:5
|
46 | use crate::balances::credits::TokenAmount;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `GroupStateTransitionInfoStatus` and `GroupStateTransitionInfo`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L47
warning: unused imports: `GroupStateTransitionInfoStatus` and `GroupStateTransitionInfo`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:47:20
|
47 | use crate::group::{GroupStateTransitionInfo, GroupStateTransitionInfoStatus};
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::batched_transition::multi_party_action::AllowedAsMultiPartyAction`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L50
warning: unused import: `crate::state_transition::batch_transition::batched_transition::multi_party_action::AllowedAsMultiPartyAction`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:50:5
|
50 | use crate::state_transition::batch_transition::batched_transition::multi_party_action::AllowedAsMultiPartyAction;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_base_transition::token_base_transition_accessors::TokenBaseTransitionAccessors`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L53
warning: unused import: `crate::state_transition::batch_transition::token_base_transition::token_base_transition_accessors::TokenBaseTransitionAccessors`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:53:5
|
53 | use crate::state_transition::batch_transition::token_base_transition::token_base_transition_accessors::TokenBaseTransitionAccessors;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_base_transition::TokenBaseTransition`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L54
warning: unused import: `crate::state_transition::batch_transition::token_base_transition::TokenBaseTransition`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:54:5
|
54 | use crate::state_transition::batch_transition::token_base_transition::TokenBaseTransition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L55
warning: unused import: `crate::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:55:5
|
55 | use crate::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_burn_transition::TokenBurnTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L57
warning: unused import: `crate::state_transition::batch_transition::token_burn_transition::TokenBurnTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:57:5
|
57 | use crate::state_transition::batch_transition::token_burn_transition::TokenBurnTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_destroy_frozen_funds_transition::TokenDestroyFrozenFundsTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L58
warning: unused import: `crate::state_transition::batch_transition::token_destroy_frozen_funds_transition::TokenDestroyFrozenFundsTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:58:5
|
58 | use crate::state_transition::batch_transition::token_destroy_frozen_funds_transition::TokenDestroyFrozenFundsTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_emergency_action_transition::TokenEmergencyActionTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L59
warning: unused import: `crate::state_transition::batch_transition::token_emergency_action_transition::TokenEmergencyActionTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:59:5
|
59 | use crate::state_transition::batch_transition::token_emergency_action_transition::TokenEmergencyActionTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
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;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `identity::identity_public_key::accessors::v0::IdentityPublicKeyGettersV0`:
packages/rs-drive/src/drive/identity/key/fetch/mod.rs#L16
warning: unused import: `identity::identity_public_key::accessors::v0::IdentityPublicKeyGettersV0`
--> packages/rs-drive/src/drive/identity/key/fetch/mod.rs:16:9
|
16 | identity::identity_public_key::accessors::v0::IdentityPublicKeyGettersV0,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::util::object_size_info::DataContractOwnedResolvedInfo`:
packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs#L13
warning: unused import: `crate::util::object_size_info::DataContractOwnedResolvedInfo`
--> packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs:13:5
|
13 | use crate::util::object_size_info::DataContractOwnedResolvedInfo;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `platform_version::version::PlatformVersion`:
packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs#L22
warning: unused import: `platform_version::version::PlatformVersion`
--> packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs:22:5
|
22 | use platform_version::version::PlatformVersion;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `std::sync::Arc`:
packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs#L24
warning: unused import: `std::sync::Arc`
--> packages/rs-drive/src/drive/votes/resolved/vote_polls/contested_document_resource_vote_poll/resolve.rs:24:5
|
24 | use std::sync::Arc;
| ^^^^^^^^^^^^^^
|
unused import: `serialization_traits::DocumentPlatformConversionMethodsV0`:
packages/rs-drive/src/query/mod.rs#L29
warning: unused import: `serialization_traits::DocumentPlatformConversionMethodsV0`
--> packages/rs-drive/src/query/mod.rs:29:13
|
29 | serialization_traits::DocumentPlatformConversionMethodsV0, Document, DocumentV0Getters,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::verify::RootHash`:
packages/rs-drive/src/query/mod.rs#L45
warning: unused import: `crate::verify::RootHash`
--> packages/rs-drive/src/query/mod.rs:45:5
|
45 | use crate::verify::RootHash;
| ^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `TokenBurnTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L34
warning: unused imports: `TokenBurnTransition`, `TokenDestroyFrozenFundsTransition`, `TokenEmergencyActionTransition`, `TokenFreezeTransition`, `TokenMintTransition`, `TokenTransferTransition`, and `TokenUnfreezeTransition`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:34:68
|
34 | ...1, TokenBurnTransition, TokenDestroyFrozenFundsTransition, TokenEmergencyActionTransition, TokenFreezeTransition, TokenMintTransition, TokenTransferTransition, TokenUnfreezeTransitio...
| ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
unused import: `crate::balances::credits::TokenAmount`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L46
warning: unused import: `crate::balances::credits::TokenAmount`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:46:5
|
46 | use crate::balances::credits::TokenAmount;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused imports: `GroupStateTransitionInfoStatus` and `GroupStateTransitionInfo`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L47
warning: unused imports: `GroupStateTransitionInfoStatus` and `GroupStateTransitionInfo`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:47:20
|
47 | use crate::group::{GroupStateTransitionInfo, GroupStateTransitionInfoStatus};
| ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::batched_transition::multi_party_action::AllowedAsMultiPartyAction`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L50
warning: unused import: `crate::state_transition::batch_transition::batched_transition::multi_party_action::AllowedAsMultiPartyAction`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:50:5
|
50 | use crate::state_transition::batch_transition::batched_transition::multi_party_action::AllowedAsMultiPartyAction;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_base_transition::token_base_transition_accessors::TokenBaseTransitionAccessors`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L53
warning: unused import: `crate::state_transition::batch_transition::token_base_transition::token_base_transition_accessors::TokenBaseTransitionAccessors`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:53:5
|
53 | use crate::state_transition::batch_transition::token_base_transition::token_base_transition_accessors::TokenBaseTransitionAccessors;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_base_transition::TokenBaseTransition`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L54
warning: unused import: `crate::state_transition::batch_transition::token_base_transition::TokenBaseTransition`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:54:5
|
54 | use crate::state_transition::batch_transition::token_base_transition::TokenBaseTransition;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L55
warning: unused import: `crate::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:55:5
|
55 | use crate::state_transition::batch_transition::token_base_transition::v0::TokenBaseTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_burn_transition::TokenBurnTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L57
warning: unused import: `crate::state_transition::batch_transition::token_burn_transition::TokenBurnTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:57:5
|
57 | use crate::state_transition::batch_transition::token_burn_transition::TokenBurnTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_destroy_frozen_funds_transition::TokenDestroyFrozenFundsTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L58
warning: unused import: `crate::state_transition::batch_transition::token_destroy_frozen_funds_transition::TokenDestroyFrozenFundsTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:58:5
|
58 | use crate::state_transition::batch_transition::token_destroy_frozen_funds_transition::TokenDestroyFrozenFundsTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
unused import: `crate::state_transition::batch_transition::token_emergency_action_transition::TokenEmergencyActionTransitionV0`:
packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs#L59
warning: unused import: `crate::state_transition::batch_transition::token_emergency_action_transition::TokenEmergencyActionTransitionV0`
--> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/v1/v0_methods.rs:59:5
|
59 | use crate::state_transition::batch_transition::token_emergency_action_transition::TokenEmergencyActionTransitionV0;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
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
95% - 215 hits, 11 misses, 0 errors
|
sccache stats
98% - 171 hits, 3 misses, 0 errors
|
sccache stats
97% - 103 hits, 3 misses, 0 errors
|
sccache stats
99% - 195 hits, 1 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
94% - 203 hits, 13 misses, 0 errors
|
sccache stats
95% - 419 hits, 20 misses, 0 errors
|
sccache stats
95% - 388 hits, 20 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
98% - 445 hits, 7 misses, 0 errors
|
sccache stats
99% - 422 hits, 6 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
100% - 209 hits, 0 misses, 0 errors
|
sccache stats
97% - 211 hits, 7 misses, 0 errors
|
sccache stats
97% - 37 hits, 1 misses, 0 errors
|
sccache stats
99% - 193 hits, 2 misses, 0 errors
|
sccache stats
88% - 37 hits, 5 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
0% - 0 hits, 0 misses, 0 errors
|
sccache stats
100% - 202 hits, 0 misses, 0 errors
|
sccache stats
96% - 986 hits, 37 misses, 0 errors
|
sccache stats
100% - 60 hits, 0 misses, 0 errors
|
sccache stats
99% - 201 hits, 1 misses, 1 errors
|
sccache stats
100% - 884 hits, 3 misses, 0 errors
|
sccache stats
95% - 426 hits, 21 misses, 0 errors
|
sccache stats
97% - 819 hits, 22 misses, 0 errors
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
dashpay~platform~RFAC0E.dockerbuild
|
86.9 KB |
|
dashpay~platform~X4CZQL.dockerbuild
|
34.4 KB |
|
dashpay~platform~XSAKSB.dockerbuild
|
35.4 KB |
|