Skip to content

feat(platform)!: token advanced distribution and updates #5420

feat(platform)!: token advanced distribution and updates

feat(platform)!: token advanced distribution and updates #5420

Triggered via pull request March 7, 2025 13:33
Status Failure
Total duration 10m 39s
Artifacts 3

tests.yml

on: pull_request
Build JS packages  /  Build JS
6m 12s
Build JS packages / Build JS
Matrix: Build Docker images
Determine changed packages
19s
Determine changed packages
Rust crates security audit
1m 10s
Rust crates security audit
JS dependency versions check
11s
JS dependency versions check
JS NPM security audit
13s
JS NPM security audit
JS code security audit  /  Run Code QL
JS code security audit / Run Code QL
Packages functional tests  /  Run functional tests
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
Fit to window
Zoom out
Zoom in

Annotations

18 errors, 50 warnings, and 31 notices
Build Docker images (DAPI, dapi, dapi) / Build DAPI image
buildx failed with: ERROR: failed to solve: process "/bin/sh -c source /root/env && unset CFLAGS CXXFLAGS && 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 (dash-sdk) / Tests
Process completed with exit code 101.
Rust packages (dash-sdk) / Check each feature
Process completed with exit code 101.
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 && unset CFLAGS CXXFLAGS && 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 (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L98
error[E0599]: no method named `batch_delete` found for reference `&drive::Drive` in the current scope --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:98:14 | 98 | self.batch_delete( | -----^^^^^^^^^^^^ method not found in `&Drive`
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L95
error[E0599]: no variant or associated item named `new_reference_with_flags` found for enum `grovedb::Element` in the current scope --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:95:22 | 95 | Element::new_reference_with_flags(reference, storage_flags.to_some_element_flags()); | ^^^^^^^^^^^^^^^^^^^^^^^^ variant or associated item not found in `Element` | note: if you're trying to build a new `grovedb::Element`, consider using `grovedb::element::serialize::<impl grovedb::Element>::deserialize` which returns `std::result::Result<grovedb::Element, grovedb::Error>` --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/element/serialize.rs:36:5 | 36 | pub fn deserialize(bytes: &[u8], grove_version: &GroveVersion) -> Result<Self, Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: there is a method `is_reference` with a similar name, but with different arguments --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/element/helpers.rs:248:5 | 248 | pub fn is_reference(&self) -> bool { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L84
error[E0599]: no method named `serialized_size` found for enum `grovedb::reference_path::ReferencePathType` in the current scope --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:84:49 | 84 | estimated_value_size: reference.serialized_size() as u32 | ^^^^^^^^^^^^^^^ method not found in `ReferencePathType`
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L56
error[E0599]: no variant or associated item named `new_item` found for enum `grovedb::Element` in the current scope --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:56:26 | 56 | Element::new_item(next_moment.to_be_bytes_vec()), | ^^^^^^^^ variant or associated item not found in `Element` | note: if you're trying to build a new `grovedb::Element`, consider using `grovedb::element::serialize::<impl grovedb::Element>::deserialize` which returns `std::result::Result<grovedb::Element, grovedb::Error>` --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/element/serialize.rs:36:5 | 36 | pub fn deserialize(bytes: &[u8], grove_version: &GroveVersion) -> Result<Self, Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L52
error[E0599]: no method named `batch_insert` found for reference `&drive::Drive` in the current scope --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:52:14 | 52 | self.batch_insert( | -----^^^^^^^^^^^^ method not found in `&Drive`
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L15
error[E0432]: unresolved imports `grovedb::EstimatedLayerInformation`, `grovedb::TransactionArg` --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:15:24 | 15 | use grovedb::{Element, EstimatedLayerInformation, MaybeTree, TransactionArg, TreeType}; | ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ no `TransactionArg` in the root | | | no `EstimatedLayerInformation` in the root | note: found an item that was configured out --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/lib.rs:175:30 | 175 | EstimatedLayerCount, EstimatedLayerInformation, EstimatedLayerSizes, EstimatedSumTrees, | ^^^^^^^^^^^^^^^^^^^^^^^^^ note: the item is gated behind the `estimated_costs` feature --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/lib.rs:172:7 | 172 | #[cfg(feature = "estimated_costs")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: found an item that was configured out --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/lib.rs:244:10 | 244 | pub type TransactionArg<'db, 'a> = Option<&'a Transaction<'db>>; | ^^^^^^^^^^^^^^ note: the item is gated behind the `minimal` feature --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/lib.rs:243:7 | 243 | #[cfg(feature = "minimal")] | ^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L19
error[E0433]: failed to resolve: could not find `grove_operations` in `util` --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:19:18 | 19 | use crate::util::grove_operations::BatchDeleteApplyType::{StatefulBatchDelete, StatelessBatchDelete}; | ^^^^^^^^^^^^^^^^ could not find `grove_operations` in `util` | note: found an item that was configured out --> packages/rs-drive/src/util/mod.rs:6:9 | 6 | pub mod grove_operations; | ^^^^^^^^^^^^^^^^ note: the item is gated behind the `server` feature --> packages/rs-drive/src/util/mod.rs:5:7 | 5 | #[cfg(feature = "server")] | ^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L13
error[E0432]: unresolved import `grovedb::batch` --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:13:14 | 13 | use grovedb::batch::KeyInfoPath; | ^^^^^ could not find `batch` in `grovedb` | note: found an item that was configured out --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/lib.rs:129:9 | 129 | pub mod batch; | ^^^^^ note: the item is gated behind the `minimal` feature --> /home/runner/.cargo/git/checkouts/grovedb-56f0eb1e3c96989f/44c2244/grovedb/src/lib.rs:128:7 | 128 | #[cfg(feature = "minimal")] | ^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L5
error[E0432]: unresolved import `crate::util::object_size_info::PathKeyElementInfo` --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:5:37 | 5 | use crate::util::object_size_info::{PathKeyElementInfo}; | ^^^^^^^^^^^^^^^^^^ no `PathKeyElementInfo` in `util::object_size_info`
Rust packages (dash-sdk) / Linting: packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs#L4
error[E0433]: failed to resolve: could not find `fees` in the crate root --> packages/rs-drive/src/drive/tokens/distribution/mark_perpetual_release_as_distributed/v0/mod.rs:4:12 | 4 | use crate::fees::op::LowLevelDriveOperation; | ^^^^ could not find `fees` in the crate root | note: found an item that was configured out --> packages/rs-drive/src/lib.rs:46:9 | 46 | pub mod fees; | ^^^^ note: the item is gated behind the `server` feature --> packages/rs-drive/src/lib.rs:45:7 | 45 | #[cfg(feature = "server")] | ^^^^^^^^^^^^^^^^^^
Build JS packages / Build JS
Process completed with exit code 1.
Build JS packages / Build JS
Property 'setMetadata' does not exist on type 'DataContract'.
Build JS packages / Build JS
Unable to download artifact(s): Artifact not found for name: js-build-4173baaf741a6f62b40f38d6398e4f84454e4ba5 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 (drive-abci) / Tests
Process completed with exit code 101.
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/document/state_transition/batch_transition/mod.rs#L28
warning: unused import: `dpp::ed25519_dalek::ed25519::signature::SignerMut` --> packages/wasm-dpp/src/document/state_transition/batch_transition/mod.rs:28:5 | 28 | use dpp::ed25519_dalek::ed25519::signature::SignerMut; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/document/factory.rs#L328
warning: use of a fallible conversion when an infallible one could be used --> packages/wasm-dpp/src/document/factory.rs:328:27 | 328 | let documents_array = js_sys::Array::try_from(documents_with_action) | ^^^^^^^^^^^^^^^^^^^^^^^ help: use: `From::from` | = note: converting `JsValue` to `Array` cannot fail = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#unnecessary_fallible_conversions = note: `#[warn(clippy::unnecessary_fallible_conversions)]` on by default
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/document/factory.rs#L158
warning: very complex type used. Consider factoring parts into `type` definitions --> packages/wasm-dpp/src/document/factory.rs:158:24 | 158 | let documents: Vec<( | ________________________^ 159 | | DocumentTransitionActionType, 160 | | Vec<(Document, DocumentTypeRef, Bytes32)>, 161 | | )> = documents_by_action | |__________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#type_complexity = note: `#[warn(clippy::type_complexity)]` on by default
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/document/factory.rs#L27
warning: unused import: `std::str::FromStr` --> packages/wasm-dpp/src/document/factory.rs:27:5 | 27 | use std::str::FromStr; | ^^^^^^^^^^^^^^^^^
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/utils.rs#L287
warning: methods `into_inner` and `inner_mut` are never used --> packages/wasm-dpp/src/utils.rs:287:8 | 284 | pub(crate) trait Inner { | ----- methods in this trait ... 287 | fn into_inner(self) -> Self::InnerItem; | ^^^^^^^^^^ 288 | fn inner(&self) -> &Self::InnerItem; 289 | fn inner_mut(&mut self) -> &mut Self::InnerItem; | ^^^^^^^^^
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/utils.rs#L24
warning: methods `with_serde_to_platform_value_map` and `with_serde_into` are never used --> packages/wasm-dpp/src/utils.rs:24:8 | 19 | pub trait ToSerdeJSONExt { | -------------- methods in this trait ... 24 | fn with_serde_to_platform_value_map(&self) -> Result<BTreeMap<String, Value>, JsValue>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 25 | fn with_serde_into<D: DeserializeOwned>(&self) -> Result<D, JsValue> | ^^^^^^^^^^^^^^^
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/utils.rs#L25
warning: bound is defined in more than one place --> packages/wasm-dpp/src/utils.rs:25:24 | 25 | fn with_serde_into<D: DeserializeOwned>(&self) -> Result<D, JsValue> | ^ 26 | where 27 | D: for<'de> serde::de::Deserialize<'de> + 'static; | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#multiple_bound_locations = note: `#[warn(clippy::multiple_bound_locations)]` on by default
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/data_contract/data_contract.rs#L441
warning: useless conversion to the same type: `dpp::ProtocolError` --> packages/wasm-dpp/src/data_contract/data_contract.rs:441:67 | 441 | .expected_token_configuration(token_contract_position) | ___________________________________________________________________^ | |___________________________________________________________________| 442 | || .map_err(ProtocolError::from) | ||_________________________________________^ 443 | | .with_js_error() | |_____________- help: consider removing | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion = note: `#[warn(clippy::useless_conversion)]` on by default
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/data_contract/data_contract.rs#L31
warning: unused import: `IntoWasm` --> packages/wasm-dpp/src/data_contract/data_contract.rs:31:27 | 31 | use crate::utils::{Inner, IntoWasm, ToSerdeJSONExt, WithJsError}; | ^^^^^^^^
Rust packages (wasm-dpp) / Linting: packages/wasm-dpp/src/data_contract/data_contract.rs#L28
warning: unused import: `crate::metadata::MetadataWasm` --> packages/wasm-dpp/src/data_contract/data_contract.rs:28:5 | 28 | use crate::metadata::MetadataWasm; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Rust packages (dash-sdk) / Linting: 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; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: 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, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: 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; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: 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; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: 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; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: 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
Rust packages (dash-sdk) / Linting: packages/rs-dpp/src/errors/protocol_error.rs#L21
warning: unused import: `crate::state_transition::errors::StateTransitionError` --> packages/rs-dpp/src/errors/protocol_error.rs:21:5 | 21 | use crate::state_transition::errors::StateTransitionError; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_create_transition/convertible.rs#L38
warning: unused imports: `BTreeValueMapHelper` and `BTreeValueMapReplacementPathHelper` --> packages/rs-dpp/src/state_transition/state_transitions/document/batch_transition/batched_transition/document_create_transition/convertible.rs:38:5 | 38 | BTreeValueMapHelper, BTreeValueMapReplacementPathHelper, BTreeValueRemoveFromMapHelper, | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-dpp/src/identity/identity_factory.rs#L70
warning: unused import: `platform_value::Value` --> packages/rs-dpp/src/identity/identity_factory.rs:70:5 | 70 | use platform_value::Value; | ^^^^^^^^^^^^^^^^^^^^^
Rust packages (dash-sdk) / Linting: packages/rs-dpp/src/data_contract/document_type/index/mod.rs#L19
warning: unused import: `crate::data_contract::errors::DataContractError::RegexError` --> packages/rs-dpp/src/data_contract/document_type/index/mod.rs:19:5 | 19 | use crate::data_contract::errors::DataContractError::RegexError; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Rust packages (dpp) / Linting: 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, ... | 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 + } |
Rust packages (dpp) / Linting: 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, ... | 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 + } |
Rust packages (dpp) / Linting: 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, ... | 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 + } |
Rust packages (dpp) / Linting: 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, ... | 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 + } |
Rust packages (dpp) / Linting: 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, ... | 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 + } |
Rust packages (dpp) / Linting: 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() ... | 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 + } |
Rust packages (dpp) / Linting: 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 ... | 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 + } |
Rust packages (dpp) / Linting: 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 ... | 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 + } |
Rust packages (dpp) / Linting: 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( ... | 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 + } |
Rust packages (dpp) / Linting: 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( ... | 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 + } |
Rust packages (drive) / Linting: packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs#L92
warning: using tabs in doc comments is not recommended --> packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs:92:12 | 92 | /// 2. Distributions Branch (TOKEN_DISTRIBUTIONS_KEY): | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
Rust packages (drive) / Linting: packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs#L92
warning: using tabs in doc comments is not recommended --> packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs:92:9 | 92 | /// 2. Distributions Branch (TOKEN_DISTRIBUTIONS_KEY): | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
Rust packages (drive) / Linting: packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs#L91
warning: using tabs in doc comments is not recommended --> packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs:91:11 | 91 | /// • The top-level of the tree corresponds to the tokens in the system. The path starts with the root identifier for tokens. | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
Rust packages (drive) / Linting: packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs#L91
warning: using tabs in doc comments is not recommended --> packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs:91:9 | 91 | /// • The top-level of the tree corresponds to the tokens in the system. The path starts with the root identifier for tokens. | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
Rust packages (drive) / Linting: packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs#L90
warning: using tabs in doc comments is not recommended --> packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs:90:12 | 90 | /// 1. Root Level (Tokens): | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments
Rust packages (drive) / Linting: packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs#L90
warning: using tabs in doc comments is not recommended --> packages/rs-drive/src/drive/tokens/distribution/add_pre_programmed_distribution/mod.rs:90:9 | 90 | /// 1. Root Level (Tokens): | ^^^^ help: consider using four spaces per tab | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#tabs_in_doc_comments = note: `#[warn(clippy::tabs_in_doc_comments)]` on by default
Rust packages (drive) / Linting: packages/rs-drive/src/drive/document/query/mod.rs#L74
warning: empty line after doc comment --> packages/rs-drive/src/drive/document/query/mod.rs:74:5 | 74 | / /// along with skipped items and the cost. ... | 111 | | | |_^ ... 114 | / pub fn query_raw_documents_from_contract_cbor_using_cbor_encoded_query_with_cost( 115 | | &self, 116 | | query_cbor: &[u8], 117 | | contract: &DataContract, ... | 121 | | protocol_version: Option<u32>, 122 | | ) -> Result<(Vec<Vec<u8>>, u16, u64), Error> { | |________________________________________________- the comment documents this method | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = help: if the empty line is unintentional remove it help: if the doc comment should not document `query_raw_documents_from_contract_cbor_using_cbor_encoded_query_with_cost` comment it out | 73 ~ // /// Performs and returns the result as ids of the specified query 74 ~ // /// along with skipped items and the cost. |
Rust packages (drive) / Linting: packages/rs-drive/src/drive/document/query/mod.rs#L49
warning: empty line after doc comment --> packages/rs-drive/src/drive/document/query/mod.rs:49:1 | 49 | / /// The outcome of a query ... | 58 | | | |_^ ... 62 | pub struct QuerySerializedDocumentsOutcome { | ------------------------------------------ the comment documents this struct | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_doc_comments = help: if the empty line is unintentional remove it help: if the doc comment should not document `QuerySerializedDocumentsOutcome` comment it out | 49 | // /// The outcome of a query | ++
Rust packages (drive) / Linting: packages/rs-drive/src/drive/document/query/mod.rs#L24
warning: duplicated attribute --> packages/rs-drive/src/drive/document/query/mod.rs:24:7 | 24 | #[cfg(feature = "fixtures-and-mocks")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | note: first defined here --> packages/rs-drive/src/drive/document/query/mod.rs:23:7 | 23 | #[cfg(feature = "fixtures-and-mocks")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: remove this attribute --> packages/rs-drive/src/drive/document/query/mod.rs:24:7 | 24 | #[cfg(feature = "fixtures-and-mocks")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#duplicated_attributes = note: `#[warn(clippy::duplicated_attributes)]` on by default
Rust packages (drive) / Linting: 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... | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Rust packages (drive-abci) / Linting: packages/rs-drive/src/drive/group/fetch/fetch_action_id_info_keep_serialized/v0/mod.rs#L91
warning: method `fetch_action_id_info_keep_serialized_and_add_operations_v0` is never used --> packages/rs-drive/src/drive/group/fetch/fetch_action_id_info_keep_serialized/v0/mod.rs:91:19 | 15 | impl Drive { | ---------- method in this implementation ... 91 | pub(super) fn fetch_action_id_info_keep_serialized_and_add_operations_v0( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (drive-abci) / Linting: packages/rs-drive/src/drive/group/fetch/fetch_action_id_info_keep_serialized/mod.rs#L85
warning: method `fetch_action_id_info_keep_serialized_and_add_operations` is never used --> packages/rs-drive/src/drive/group/fetch/fetch_action_id_info_keep_serialized/mod.rs:85:19 | 14 | impl Drive { | ---------- method in this implementation ... 85 | pub(crate) fn fetch_action_id_info_keep_serialized_and_add_operations( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Rust packages (drive-abci) / Linting: packages/rs-drive/src/drive/group/fetch/fetch_action_id_has_signer/mod.rs#L83
warning: method `fetch_action_id_has_signer_and_add_operations` is never used --> packages/rs-drive/src/drive/group/fetch/fetch_action_id_has_signer/mod.rs:83:19 | 14 | impl Drive { | ---------- method in this implementation ... 83 | pub(crate) fn fetch_action_id_has_signer_and_add_operations( | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default
Rust packages (drive-abci) / Linting: packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs#L357
warning: unused variable: `epochs` --> packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs:357:29 | 357 | let epochs: BTreeMap<EpochIndex, FinalizedEpochInfo> = drive | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_epochs`
Rust packages (drive-abci) / Linting: packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs#L271
warning: unused variable: `oldest_time` --> packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs:271:21 | 271 | let oldest_time = 0; | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_oldest_time`
Rust packages (drive-abci) / Linting: packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs#L240
warning: unused variable: `pre_programmed_distribution` --> packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs:240:26 | 240 | let Some(pre_programmed_distribution) = token_config | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_pre_programmed_distribution`
Rust packages (drive-abci) / Linting: packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs#L79
warning: unused variable: `public_note` --> packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs:79:13 | 79 | public_note, | ^^^^^^^^^^^ help: try ignoring the field: `public_note: _`
Rust packages (drive-abci) / Linting: packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs#L78
warning: unused variable: `distribution_type` --> packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs:78:13 | 78 | distribution_type, | ^^^^^^^^^^^^^^^^^ help: try ignoring the field: `distribution_type: _` | = note: `#[warn(unused_variables)]` on by default
Rust packages (drive-abci) / Linting: packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs#L132
warning: unreachable expression --> packages/rs-drive/src/state_transition_action/batch/batched_transition/token_transition/token_claim_transition_action/v0/transformer.rs:132:21 | 131 | distribution_info: todo!(), | ------- any code following this expression is unreachable 132 | public_note, | ^^^^^^^^^^^ unreachable expression | = note: `#[warn(unreachable_code)]` on by default
Rust packages (drive-abci) / Linting: 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... | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(unused_imports)]` on by default
Rust crates security audit
100% - 294 hits, 0 misses, 0 errors
Rust packages (token-history-contract) / Tests
100% - 37 hits, 0 misses, 0 errors
Rust packages (token-history-contract) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (wasm-dpp) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (wasm-dpp) / Tests
100% - 214 hits, 0 misses, 0 errors
Rust packages (wasm-dpp) / Linting
100% - 206 hits, 0 misses, 0 errors
Rust packages (token-history-contract) / Linting
100% - 33 hits, 0 misses, 0 errors
Rust packages (dash-sdk) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (dapi-grpc) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (dash-sdk) / Tests
100% - 389 hits, 0 misses, 1 errors
Rust packages (dash-sdk) / Check each feature
100% - 402 hits, 1 misses, 1 errors
Rust packages (dapi-grpc) / Linting
100% - 186 hits, 0 misses, 0 errors
Rust packages (dpp) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (dash-sdk) / Linting
100% - 409 hits, 1 misses, 0 errors
Rust packages (drive) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (dapi-grpc) / Tests
100% - 168 hits, 0 misses, 0 errors
Rust packages (dapi-grpc) / Check each feature
100% - 217 hits, 0 misses, 0 errors
Rust packages (dpp) / Linting
100% - 525 hits, 0 misses, 0 errors
Rust packages (rs-dapi-client) / Tests
100% - 189 hits, 0 misses, 0 errors
Rust packages (drive-abci) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (rs-dapi-client) / Unused dependencies
100% - 60 hits, 0 misses, 0 errors
Rust packages (drive) / Linting
100% - 453 hits, 0 misses, 0 errors
Rust packages (rs-dapi-client) / Check each feature
100% - 235 hits, 0 misses, 0 errors
Build JS packages / Build JS
100% - 215 hits, 0 misses, 0 errors
Rust packages (dpp) / Tests
100% - 542 hits, 0 misses, 0 errors
Rust packages (dpp) / Check each feature
100% - 696 hits, 0 misses, 0 errors
Rust packages (drive-abci) / Check each feature
100% - 1041 hits, 0 misses, 0 errors
Rust packages (rs-dapi-client) / Linting
100% - 205 hits, 0 misses, 0 errors
Rust packages (drive-abci) / Tests
100% - 838 hits, 0 misses, 0 errors
Rust packages (drive-abci) / Linting
100% - 887 hits, 0 misses, 0 errors
Rust packages (drive) / Tests
100% - 444 hits, 0 misses, 0 errors

Artifacts

Produced during runtime
Name Size
dashpay~platform~5NZP5S.dockerbuild
38.8 KB
dashpay~platform~RYEJQZ.dockerbuild
38.7 KB
dashpay~platform~XZQO3N.dockerbuild
70.9 KB