Skip to content

Updated price discovery #4330

Updated price discovery

Updated price discovery #4330

Triggered via pull request January 30, 2025 09:10
Status Success
Total duration 5m 6s
Artifacts 3

actions.yml

on: pull_request
Contracts  /  Wasm tests
4m 50s
Contracts / Wasm tests
Contracts  /  Interactor tests
4m 59s
Contracts / Interactor tests
Contracts  /  Test Coverage
3m 58s
Contracts / Test Coverage
Contracts  /  Rust tests
1m 30s
Contracts / Rust tests
Contracts  /  Clippy linter check
34s
Contracts / Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
[clippy] dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L27: dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L27
warning: equality checks against false can be replaced by a negation --> dex/price-discovery/src/user_actions/user_deposit_withdraw.rs:27:13 | 27 | whitelist_complete_mapper.get() == false, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!whitelist_complete_mapper.get()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison = note: `#[warn(clippy::bool_comparison)]` on by default
[clippy] dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L125: dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L125
warning: this expression creates a reference which is immediately dereferenced by the compiler --> dex/price-discovery/src/user_actions/user_deposit_withdraw.rs:125:47 | 125 | let user_id = self.id_mapper().get_id(&user); | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
[clippy] dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L27: dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L27
warning: equality checks against false can be replaced by a negation --> dex/price-discovery/src/user_actions/user_deposit_withdraw.rs:27:13 | 27 | whitelist_complete_mapper.get() == false, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!whitelist_complete_mapper.get()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#bool_comparison = note: `#[warn(clippy::bool_comparison)]` on by default
[clippy] dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L125: dex/price-discovery/src/user_actions/user_deposit_withdraw.rs#L125
warning: this expression creates a reference which is immediately dereferenced by the compiler --> dex/price-discovery/src/user_actions/user_deposit_withdraw.rs:125:47 | 125 | let user_id = self.id_mapper().get_id(&user); | ^^^^^ help: change this to: `user` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow = note: `#[warn(clippy::needless_borrow)]` on by default
Deprecation notice: v1, v2, and v3 of the artifact actions
The following artifacts were uploaded using a version of actions/upload-artifact that is scheduled for deprecation: "coverage", "report", "report-markdown". Please update your workflow to use v4 of the artifact actions. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

Artifacts

Produced during runtime
Name Size
coverage
26.4 KB
report
3.23 KB
report-markdown
2.38 KB