Skip to content

V3.1 audit fixes

V3.1 audit fixes #915

Triggered via pull request November 19, 2024 23:32
Status Failure
Total duration 4m 18s
Artifacts

actions.yml

on: pull_request
Contracts  /  Wasm tests
4m 8s
Contracts / Wasm tests
Contracts  /  Test Coverage
3m 2s
Contracts / Test Coverage
Contracts  /  Rust tests
48s
Contracts / Rust tests
Contracts  /  Clippy linter check
15s
Contracts / Clippy linter check
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
Contracts / Rust tests
Process completed with exit code 101.
Contracts / Test Coverage
Process completed with exit code 1.
Contracts / Wasm tests
Process completed with exit code 101.
[clippy] common/token-module/src/lib.rs#L243: common/token-module/src/lib.rs#L243
warning: equality checks against false can be replaced by a negation --> common/token-module/src/lib.rs:243:13 | 243 | self.supply_mint_burn_initialized(token_id).get() == false, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!self.supply_mint_burn_initialized(token_id).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] common/token-module/src/lib.rs#L243: common/token-module/src/lib.rs#L243
warning: equality checks against false can be replaced by a negation --> common/token-module/src/lib.rs:243:13 | 243 | self.supply_mint_burn_initialized(token_id).get() == false, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: try simplifying it as shown: `!self.supply_mint_burn_initialized(token_id).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
Contracts / Clippy linter check
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Rust tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Test Coverage
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
Contracts / Wasm tests
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/