Fix gas estimate and command issue #431
check.yml
on: pull_request
stable / fmt
8s
Matrix: clippy
Annotations
3 errors
mismatched types:
main/src/deploy/mod.rs#L214
error[E0308]: mismatched types
--> main/src/deploy/mod.rs:214:13
|
210 | let receipt = run_tx(
| ------ arguments to this function are incorrect
...
214 | self.check_config.common_cfg.max_fee_per_gas_gwei,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<u128>`, found `Option<String>`
|
= note: expected enum `std::option::Option<u128>`
found enum `std::option::Option<std::string::String>`
note: function defined here
--> main/src/deploy/mod.rs:232:14
|
232 | pub async fn run_tx(
| ^^^^^^
...
236 | max_fee_per_gas_gwei: Option<u128>,
| ----------------------------------
|
mismatched types:
main/src/deploy/mod.rs#L157
error[E0308]: mismatched types
--> main/src/deploy/mod.rs:157:13
|
153 | let receipt = run_tx(
| ------ arguments to this function are incorrect
...
157 | self.check_config.common_cfg.max_fee_per_gas_gwei,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Option<u128>`, found `Option<String>`
|
= note: expected enum `std::option::Option<u128>`
found enum `std::option::Option<std::string::String>`
note: function defined here
--> main/src/deploy/mod.rs:232:14
|
232 | pub async fn run_tx(
| ^^^^^^
...
236 | max_fee_per_gas_gwei: Option<u128>,
| ----------------------------------
|
stable / clippy
Clippy had exited with the 101 exit code
|