Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contracts upgrade 0.54.0 #128

Closed
wants to merge 9 commits into from

upgrade 0.54.3

8284751
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Closed

Contracts upgrade 0.54.0 #128

upgrade 0.54.3
8284751
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Nov 20, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (1)

contracts/adder/interact/src/basic_interact.rs|65 col 68| error[E0061]: this function takes 1 argument but 2 arguments were supplied
--> contracts/adder/interact/src/basic_interact.rs:65:30
|
65 | let mut interactor = Interactor::new(config.gateway_uri(), config.use_chain_simulator())
| ^^^^^^^^^^^^^^^ ---------------------------- unexpected argument #2 of type bool
|
note: associated function defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-snippets-0.54.3/src/interactor/interactor_base.rs:40:18
|
40 | pub async fn new(gateway_uri: &str) -> Self {
| ^^^
help: remove the extra argument
|
65 - let mut interactor = Interactor::new(config.gateway_uri(), config.use_chain_simulator())
65 + let mut interactor = Interactor::new(config.gateway_uri())
|

Filtered Findings (0)

Annotations

Check failure on line 65 in contracts/adder/interact/src/basic_interact.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/adder/interact/src/basic_interact.rs#L65

error[E0061]: this function takes 1 argument but 2 arguments were supplied
  --> contracts/adder/interact/src/basic_interact.rs:65:30
   |
65 |         let mut interactor = Interactor::new(config.gateway_uri(), config.use_chain_simulator())
   |                              ^^^^^^^^^^^^^^^                       ---------------------------- unexpected argument #2 of type `bool`
   |
note: associated function defined here
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-snippets-0.54.3/src/interactor/interactor_base.rs:40:18
   |
40 |     pub async fn new(gateway_uri: &str) -> Self {
   |                  ^^^
help: remove the extra argument
   |
65 -         let mut interactor = Interactor::new(config.gateway_uri(), config.use_chain_simulator())
65 +         let mut interactor = Interactor::new(config.gateway_uri())
   |
Raw output
contracts/adder/interact/src/basic_interact.rs:65:68:e:error[E0061]: this function takes 1 argument but 2 arguments were supplied
  --> contracts/adder/interact/src/basic_interact.rs:65:30
   |
65 |         let mut interactor = Interactor::new(config.gateway_uri(), config.use_chain_simulator())
   |                              ^^^^^^^^^^^^^^^                       ---------------------------- unexpected argument #2 of type `bool`
   |
note: associated function defined here
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-snippets-0.54.3/src/interactor/interactor_base.rs:40:18
   |
40 |     pub async fn new(gateway_uri: &str) -> Self {
   |                  ^^^
help: remove the extra argument
   |
65 -         let mut interactor = Interactor::new(config.gateway_uri(), config.use_chain_simulator())
65 +         let mut interactor = Interactor::new(config.gateway_uri())
   |


__END__