Skip to content

Bridge proxy & multisig more unit tests #863

Bridge proxy & multisig more unit tests

Bridge proxy & multisig more unit tests #863

GitHub Actions / clippy failed Oct 30, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (3)

bridge-proxy/tests/bridge_proxy_blackbox_test.rs|588 col 17| error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:588:10
|
588 | .deposit(&eth_tx)
| ^^^^^^^--------- argument #2 is missing
|
note: method defined here
--> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
|
88 | pub fn deposit<
| ^^^^^^^
help: provide the argument
|
588 | .deposit(&eth_tx, /* batch_id /)
| ~~~~~~~~~~~~~~~~~~~~~~~~~
bridge-proxy/tests/bridge_proxy_blackbox_test.rs|646 col 17| error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:646:10
|
646 | .deposit(&eth_tx)
| ^^^^^^^--------- argument #2 is missing
|
note: method defined here
--> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
|
88 | pub fn deposit<
| ^^^^^^^
help: provide the argument
|
646 | .deposit(&eth_tx, /
batch_id /)
| ~~~~~~~~~~~~~~~~~~~~~~~~~
bridge-proxy/tests/bridge_proxy_blackbox_test.rs|714 col 17| error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:714:10
|
714 | .deposit(&eth_tx)
| ^^^^^^^--------- argument #2 is missing
|
note: method defined here
--> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
|
88 | pub fn deposit<
| ^^^^^^^
help: provide the argument
|
714 | .deposit(&eth_tx, /
batch_id */)
| ~~~~~~~~~~~~~~~~~~~~~~~~~

Filtered Findings (0)

Annotations

Check failure on line 588 in bridge-proxy/tests/bridge_proxy_blackbox_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] bridge-proxy/tests/bridge_proxy_blackbox_test.rs#L588

error[E0061]: this method takes 2 arguments but 1 argument was supplied
   --> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:588:10
    |
588 |         .deposit(&eth_tx)
    |          ^^^^^^^--------- argument #2 is missing
    |
note: method defined here
   --> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
    |
88  |     pub fn deposit<
    |            ^^^^^^^
help: provide the argument
    |
588 |         .deposit(&eth_tx, /* batch_id */)
    |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
Raw output
bridge-proxy/tests/bridge_proxy_blackbox_test.rs:588:17:e:error[E0061]: this method takes 2 arguments but 1 argument was supplied
   --> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:588:10
    |
588 |         .deposit(&eth_tx)
    |          ^^^^^^^--------- argument #2 is missing
    |
note: method defined here
   --> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
    |
88  |     pub fn deposit<
    |            ^^^^^^^
help: provide the argument
    |
588 |         .deposit(&eth_tx, /* batch_id */)
    |                 ~~~~~~~~~~~~~~~~~~~~~~~~~


__END__

Check failure on line 646 in bridge-proxy/tests/bridge_proxy_blackbox_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] bridge-proxy/tests/bridge_proxy_blackbox_test.rs#L646

error[E0061]: this method takes 2 arguments but 1 argument was supplied
   --> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:646:10
    |
646 |         .deposit(&eth_tx)
    |          ^^^^^^^--------- argument #2 is missing
    |
note: method defined here
   --> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
    |
88  |     pub fn deposit<
    |            ^^^^^^^
help: provide the argument
    |
646 |         .deposit(&eth_tx, /* batch_id */)
    |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
Raw output
bridge-proxy/tests/bridge_proxy_blackbox_test.rs:646:17:e:error[E0061]: this method takes 2 arguments but 1 argument was supplied
   --> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:646:10
    |
646 |         .deposit(&eth_tx)
    |          ^^^^^^^--------- argument #2 is missing
    |
note: method defined here
   --> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
    |
88  |     pub fn deposit<
    |            ^^^^^^^
help: provide the argument
    |
646 |         .deposit(&eth_tx, /* batch_id */)
    |                 ~~~~~~~~~~~~~~~~~~~~~~~~~


__END__

Check failure on line 714 in bridge-proxy/tests/bridge_proxy_blackbox_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] bridge-proxy/tests/bridge_proxy_blackbox_test.rs#L714

error[E0061]: this method takes 2 arguments but 1 argument was supplied
   --> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:714:10
    |
714 |         .deposit(&eth_tx)
    |          ^^^^^^^--------- argument #2 is missing
    |
note: method defined here
   --> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
    |
88  |     pub fn deposit<
    |            ^^^^^^^
help: provide the argument
    |
714 |         .deposit(&eth_tx, /* batch_id */)
    |                 ~~~~~~~~~~~~~~~~~~~~~~~~~
Raw output
bridge-proxy/tests/bridge_proxy_blackbox_test.rs:714:17:e:error[E0061]: this method takes 2 arguments but 1 argument was supplied
   --> bridge-proxy/tests/bridge_proxy_blackbox_test.rs:714:10
    |
714 |         .deposit(&eth_tx)
    |          ^^^^^^^--------- argument #2 is missing
    |
note: method defined here
   --> /home/runner/work/mx-bridge-eth-sc-rs/mx-bridge-eth-sc-rs/common/sc-proxies/src/bridge_proxy_contract_proxy.rs:88:12
    |
88  |     pub fn deposit<
    |            ^^^^^^^
help: provide the argument
    |
714 |         .deposit(&eth_tx, /* batch_id */)
    |                 ~~~~~~~~~~~~~~~~~~~~~~~~~


__END__