chore: clippy
This commit is contained in:
parent
c87226f520
commit
bd220f308d
|
@ -1089,11 +1089,11 @@ mod tests {
|
||||||
let result: Result<SourceUnit, _> = serde_path_to_error::deserialize(deserializer);
|
let result: Result<SourceUnit, _> = serde_path_to_error::deserialize(deserializer);
|
||||||
match result {
|
match result {
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
println!("... {} fail: {e}", path_str);
|
println!("... {path_str} fail: {e}");
|
||||||
panic!();
|
panic!();
|
||||||
}
|
}
|
||||||
Ok(_) => {
|
Ok(_) => {
|
||||||
println!("... {} ok", path_str);
|
println!("... {path_str} ok");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
|
@ -92,7 +92,7 @@ where
|
||||||
};
|
};
|
||||||
|
|
||||||
println!("Original transaction gas: {curr_gas:?} wei");
|
println!("Original transaction gas: {curr_gas:?} wei");
|
||||||
let units: U256 = U256::exp10(CONTINGENCY_UNITS.into());
|
let units: U256 = U256::exp10(CONTINGENCY_UNITS);
|
||||||
let raised_gas: U256 = (curr_gas * self.contingency) / units;
|
let raised_gas: U256 = (curr_gas * self.contingency) / units;
|
||||||
tx.set_gas(raised_gas);
|
tx.set_gas(raised_gas);
|
||||||
println!("Raised transaction gas: {raised_gas:?} wei");
|
println!("Raised transaction gas: {raised_gas:?} wei");
|
||||||
|
|
Loading…
Reference in New Issue