Skip to content

Added function to check if the first phase is completed

Sign in for the full log view
GitHub Actions / clippy failed Dec 3, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

sovereign-forge/src/common/utils.rs|47 col 41| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: caller
|
= 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
sovereign-forge/src/common/utils.rs|47 col 41| warning: this expression creates a reference which is immediately dereferenced by the compiler
--> sovereign-forge/src/common/utils.rs:47:41
|
47 | self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
| ^^^^^^^ help: change this to: caller
|
= 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

Filtered Findings (0)

Annotations

Check warning on line 47 in sovereign-forge/src/common/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] sovereign-forge/src/common/utils.rs#L47

warning: this expression creates a reference which is immediately dereferenced by the compiler
  --> sovereign-forge/src/common/utils.rs:47:41
   |
47 |         self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
   |                                         ^^^^^^^ help: change this to: `caller`
   |
   = 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
Raw output
sovereign-forge/src/common/utils.rs:47:41:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
  --> sovereign-forge/src/common/utils.rs:47:41
   |
47 |         self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
   |                                         ^^^^^^^ help: change this to: `caller`
   |
   = 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


__END__

Check warning on line 47 in sovereign-forge/src/common/utils.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] sovereign-forge/src/common/utils.rs#L47

warning: this expression creates a reference which is immediately dereferenced by the compiler
  --> sovereign-forge/src/common/utils.rs:47:41
   |
47 |         self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
   |                                         ^^^^^^^ help: change this to: `caller`
   |
   = 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
Raw output
sovereign-forge/src/common/utils.rs:47:41:w:warning: this expression creates a reference which is immediately dereferenced by the compiler
  --> sovereign-forge/src/common/utils.rs:47:41
   |
47 |         self.check_if_contract_deployed(&caller, ScArray::ChainConfig, b"ChainConfig");
   |                                         ^^^^^^^ help: change this to: `caller`
   |
   = 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


__END__