Updated price discovery #4330
actions.yml
on: pull_request
Contracts
/
Wasm tests
4m 50s
Contracts
/
Interactor tests
4m 59s
Contracts
/
Test Coverage
3m 58s
Contracts
/
Rust tests
1m 30s
Contracts
/
Clippy linter check
34s
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 |
|