Feat/tx with sc call #413
reviewdog [clippy] report
reported by reviewdog 🐶
Findings (1)
multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs|148 col 31| error[E0061]: this method takes 0 arguments but 2 arguments were supplied
--> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:148:26
|
148 | .init(bridge_proxy_addr, ManagedAddress::zero()),
| ^^^^ ----------------- ---------------------- unexpected argument of type multiversx_sc::types::ManagedAddress<_>
| |
| unexpected argument of type multiversx_sc::types::ManagedAddress<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>>
|
note: method defined here
--> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/multi-transfer-esdt/src/lib.rs:18:8
|
18 | fn init(&self) {
| ^^^^
help: remove the extra arguments
|
148 - .init(bridge_proxy_addr, ManagedAddress::zero()),
148 + .init(),
|
Filtered Findings (0)
Annotations
Check failure on line 148 in multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs
github-actions / clippy
[clippy] multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs#L148
error[E0061]: this method takes 0 arguments but 2 arguments were supplied
--> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:148:26
|
148 | .init(bridge_proxy_addr, ManagedAddress::zero()),
| ^^^^ ----------------- ---------------------- unexpected argument of type `multiversx_sc::types::ManagedAddress<_>`
| |
| unexpected argument of type `multiversx_sc::types::ManagedAddress<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>>`
|
note: method defined here
--> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/multi-transfer-esdt/src/lib.rs:18:8
|
18 | fn init(&self) {
| ^^^^
help: remove the extra arguments
|
148 - .init(bridge_proxy_addr, ManagedAddress::zero()),
148 + .init(),
|
Raw output
multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:148:31:e:error[E0061]: this method takes 0 arguments but 2 arguments were supplied
--> multi-transfer-esdt/tests/multi_transfer_blackbox_test.rs:148:26
|
148 | .init(bridge_proxy_addr, ManagedAddress::zero()),
| ^^^^ ----------------- ---------------------- unexpected argument of type `multiversx_sc::types::ManagedAddress<_>`
| |
| unexpected argument of type `multiversx_sc::types::ManagedAddress<multiversx_sc_scenario::api::VMHooksApi<multiversx_sc_scenario::api::impl_vh::static_api::StaticApiBackend>>`
|
note: method defined here
--> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/multi-transfer-esdt/src/lib.rs:18:8
|
18 | fn init(&self) {
| ^^^^
help: remove the extra arguments
|
148 - .init(bridge_proxy_addr, ManagedAddress::zero()),
148 + .init(),
|
__END__