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

Paymaster SC #24

Merged
merged 13 commits into from
Oct 3, 2023

Remove Pair proxy code

71b89a7
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

Paymaster SC #24

Remove Pair proxy code
71b89a7
Select commit
Loading
Failed to load commit list.
This check has been archived and is scheduled for deletion. Learn more about checks retention
GitHub Actions / clippy failed Sep 27, 2023 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (4)

contracts/paymaster/tests/empty_scenario_rs_test.rs|7 col 64| error[E0277]: the trait bound paymaster::ContractBuilder: multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder is not satisfied
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64
|
7 | blockchain.register_contract("file:output/paymaster.wasm", paymaster::ContractBuilder);
| ----------------- ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder is not implemented for paymaster::ContractBuilder
| |
| required by a bound introduced by this call
|
note: required by a bound in multiversx_sc_scenario::ScenarioWorld::register_contract
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.41.3/src/facade/scenario_world.rs:53:33
|
53 | pub fn register_contract<B: CallableContractBuilder>(
| ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in ScenarioWorld::register_contract
contracts/paymaster/tests/empty_scenario_rs_test.rs|13 col 13| error[E0599]: no method named run found for struct multiversx_sc_scenario::ScenarioWorld in the current scope
--> contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13
|
13 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in ScenarioWorld
contracts/paymaster/tests/empty_scenario_go_test.rs|4 col 20| error[E0599]: no function or associated item named vm_go found for struct multiversx_sc_scenario::ScenarioWorld in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:4:20
|
4 | ScenarioWorld::vm_go()
| ^^^^^ function or associated item not found in ScenarioWorld
contracts/paymaster/tests/empty_scenario_go_test.rs|9 col 13| error[E0599]: no method named run found for struct multiversx_sc_scenario::ScenarioWorld in the current scope
--> contracts/paymaster/tests/empty_scenario_go_test.rs:9:13
|
9 | world().run("scenarios/empty.scen.json");
| ^^^ method not found in ScenarioWorld

Filtered Findings (0)

Annotations

Check failure on line 7 in contracts/paymaster/tests/empty_scenario_rs_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/paymaster/tests/empty_scenario_rs_test.rs#L7

error[E0277]: the trait bound `paymaster::ContractBuilder: multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not satisfied
  --> contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64
   |
7  |     blockchain.register_contract("file:output/paymaster.wasm", paymaster::ContractBuilder);
   |                -----------------                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not implemented for `paymaster::ContractBuilder`
   |                |
   |                required by a bound introduced by this call
   |
note: required by a bound in `multiversx_sc_scenario::ScenarioWorld::register_contract`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.41.3/src/facade/scenario_world.rs:53:33
   |
53 |     pub fn register_contract<B: CallableContractBuilder>(
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ScenarioWorld::register_contract`
Raw output
contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64:e:error[E0277]: the trait bound `paymaster::ContractBuilder: multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not satisfied
  --> contracts/paymaster/tests/empty_scenario_rs_test.rs:7:64
   |
7  |     blockchain.register_contract("file:output/paymaster.wasm", paymaster::ContractBuilder);
   |                -----------------                               ^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `multiversx_sc_scenario::multiversx_sc::contract_base::CallableContractBuilder` is not implemented for `paymaster::ContractBuilder`
   |                |
   |                required by a bound introduced by this call
   |
note: required by a bound in `multiversx_sc_scenario::ScenarioWorld::register_contract`
  --> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/multiversx-sc-scenario-0.41.3/src/facade/scenario_world.rs:53:33
   |
53 |     pub fn register_contract<B: CallableContractBuilder>(
   |                                 ^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `ScenarioWorld::register_contract`


__END__

Check failure on line 13 in contracts/paymaster/tests/empty_scenario_rs_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/paymaster/tests/empty_scenario_rs_test.rs#L13

error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
  --> contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13
   |
13 |     world().run("scenarios/empty.scen.json");
   |             ^^^ method not found in `ScenarioWorld`
Raw output
contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13:e:error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
  --> contracts/paymaster/tests/empty_scenario_rs_test.rs:13:13
   |
13 |     world().run("scenarios/empty.scen.json");
   |             ^^^ method not found in `ScenarioWorld`


__END__

Check failure on line 4 in contracts/paymaster/tests/empty_scenario_go_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/paymaster/tests/empty_scenario_go_test.rs#L4

error[E0599]: no function or associated item named `vm_go` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
 --> contracts/paymaster/tests/empty_scenario_go_test.rs:4:20
  |
4 |     ScenarioWorld::vm_go()
  |                    ^^^^^ function or associated item not found in `ScenarioWorld`
Raw output
contracts/paymaster/tests/empty_scenario_go_test.rs:4:20:e:error[E0599]: no function or associated item named `vm_go` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
 --> contracts/paymaster/tests/empty_scenario_go_test.rs:4:20
  |
4 |     ScenarioWorld::vm_go()
  |                    ^^^^^ function or associated item not found in `ScenarioWorld`


__END__

Check failure on line 9 in contracts/paymaster/tests/empty_scenario_go_test.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/paymaster/tests/empty_scenario_go_test.rs#L9

error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
 --> contracts/paymaster/tests/empty_scenario_go_test.rs:9:13
  |
9 |     world().run("scenarios/empty.scen.json");
  |             ^^^ method not found in `ScenarioWorld`
Raw output
contracts/paymaster/tests/empty_scenario_go_test.rs:9:13:e:error[E0599]: no method named `run` found for struct `multiversx_sc_scenario::ScenarioWorld` in the current scope
 --> contracts/paymaster/tests/empty_scenario_go_test.rs:9:13
  |
9 |     world().run("scenarios/empty.scen.json");
  |             ^^^ method not found in `ScenarioWorld`


__END__