Fix smart-contracts gas payments #7456
This check has been archived and is scheduled for deletion.
Learn more about checks retention
GitHub Actions / clippy
failed
Nov 6, 2023 in 0s
clippy
1 error
Details
Results
Message level | Amount |
---|---|
Internal compiler error | 0 |
Error | 1 |
Warning | 0 |
Note | 0 |
Help | 0 |
Versions
- rustc 1.72.1 (d5c2e9c34 2023-09-13)
- cargo 1.72.1 (103a7ff2e 2023-08-15)
- clippy 0.1.72 (d5c2e9c 2023-09-13)
Annotations
Check failure on line 33 in massa-pool-worker/src/types.rs
github-actions / clippy
this method takes 2 arguments but 1 argument was supplied
error[E0061]: this method takes 2 arguments but 1 argument was supplied
--> massa-pool-worker/src/types.rs:33:31
|
33 | max_gas_usage: op.get_gas_usage(base_operation_gas_cost),
| ^^^^^^^^^^^^^------------------------- an argument of type `u64` is missing
|
note: method defined here
--> /home/runner/work/massa/massa/massa-models/src/operation.rs:976:12
|
976 | pub fn get_gas_usage(&self, base_operation_gas_cost: u64, sp_compilation_cost: u64) -> u64 {
| ^^^^^^^^^^^^^
help: provide the argument
|
33 | max_gas_usage: op.get_gas_usage(base_operation_gas_cost, /* u64 */),
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Loading