Skip to content

fix(listing): add missing order hash in token (#85) #183

fix(listing): add missing order hash in token (#85)

fix(listing): add missing order hash in token (#85) #183

Triggered via push September 6, 2023 22:11
Status Failure
Total duration 2m 56s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

clippy-check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 6 warnings
clippy_check
Process completed with exit code 101.
using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)`: crates/ark-starknet/src/collection_manager.rs#L55
warning: using `Result.or_else(|x| Err(y))`, which is more succinctly expressed as `map_err(|x| y)` --> crates/ark-starknet/src/collection_manager.rs:55:23 | 55 | Err(_) => self | _______________________^ 56 | | .call_contract_helper( 57 | | contract_address, 58 | | "owner_of", ... | 63 | | .await 64 | | .or_else(|_| Err(anyhow!("Failed to get token owner"))), | |_______________________________________________________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bind_instead_of_map = note: `#[warn(clippy::bind_instead_of_map)]` on by default help: try | 55 ~ Err(_) => self 56 + .call_contract_helper( 57 + contract_address, 58 + "owner_of", 59 + token_id_low, 60 + token_id_high, 61 + effective_block_id, 62 + ) 63 ~ .await.map_err(|_| anyhow!("Failed to get token owner")), |
clippy_check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/toolchain@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
clippy_check
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/