Skip to content

feat: prevent multiple block proposal evals #3796

feat: prevent multiple block proposal evals

feat: prevent multiple block proposal evals #3796

Triggered via pull request January 13, 2025 16:50
Status Cancelled
Total duration 1h 11m 3s
Artifacts 1

pr-differences-mutants.yml

on: pull_request
Check Access Permissions
1s
Check Access Permissions
Check Packages and Shards
1m 29s
Check Packages and Shards
Matrix: Mutation Testing - Shards, Small
Matrix: Mutation Testing - Shards, Stacks Node
Matrix: Mutation Testing - Shards, Stackslib
Mutation Testing - Normal, Small
6m 30s
Mutation Testing - Normal, Small
Mutation Testing - Normal, Stackslib
1h 8m
Mutation Testing - Normal, Stackslib
Mutation Testing - Normal, Stacks Node
0s
Mutation Testing - Normal, Stacks Node
Mutation Testing - Normal, Stacks Signer
0s
Mutation Testing - Normal, Stacks Signer
Output Mutants
2s
Output Mutants
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 3 warnings
needless call to `as_bytes()`: clarity/src/vm/representations.rs#L136
error: needless call to `as_bytes()` --> clarity/src/vm/representations.rs:136:26 | 136 | write_next(fd, &(self.as_bytes().len() as u8))?; | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `self.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
needless call to `as_bytes()`: clarity/src/vm/representations.rs#L133
error: needless call to `as_bytes()` --> clarity/src/vm/representations.rs:133:17 | 133 | self.as_bytes().len() | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `self.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
needless call to `as_bytes()`: clarity/src/vm/representations.rs#L129
error: needless call to `as_bytes()` --> clarity/src/vm/representations.rs:129:16 | 129 | || self.as_bytes().len() > CONTRACT_MAX_NAME_LENGTH | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `self.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
needless call to `as_bytes()`: clarity/src/vm/representations.rs#L128
error: needless call to `as_bytes()` --> clarity/src/vm/representations.rs:128:12 | 128 | if self.as_bytes().len() < CONTRACT_MIN_NAME_LENGTH | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `self.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
needless call to `as_bytes()`: clarity/src/vm/representations.rs#L95
error: needless call to `as_bytes()` --> clarity/src/vm/representations.rs:95:26 | 95 | write_next(fd, &(self.as_bytes().len() as u8))?; | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `self.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes
needless call to `as_bytes()`: clarity/src/vm/representations.rs#L90
error: needless call to `as_bytes()` --> clarity/src/vm/representations.rs:90:12 | 90 | if self.as_bytes().len() > MAX_STRING_LEN as usize { | ^^^^^^^^^^^^^^^^^^^^^ help: `len()` can be called directly on strings: `self.len()` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_as_bytes = note: `-D clippy::needless-as-bytes` implied by `-D warnings` = help: to override `-D warnings` add `#[allow(clippy::needless_as_bytes)]`
Mutation Testing - Normal, Stackslib
Canceling since a higher priority waiting request for 'pr-differences-feat/retry-pending-block-proposals' exists
Output Mutants
Process completed with exit code 1.
Check Access Permissions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Check Packages and Shards
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Mutation Testing - Normal, Small
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
mutants-shard-small--1
718 Bytes