Skip to content

Commit cd15f56

Browse files
DaniPopesrkrasiuk
authored andcommitted
test: fix inference fail in test (#2239)
1 parent 1322198 commit cd15f56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

crates/contract/src/call.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -835,14 +835,14 @@ mod tests {
835835
.expect("tx not included");
836836
assert_eq!(
837837
transaction.max_fee_per_gas(),
838-
max_fee_per_gas.to(),
838+
max_fee_per_gas.to::<u128>(),
839839
"max_fee_per_gas of the transaction should be set to the right value"
840840
);
841841
assert_eq!(
842842
transaction
843843
.max_priority_fee_per_gas()
844844
.expect("max_priority_fee_per_gas of the transaction should be set"),
845-
max_priority_fee_per_gas.to(),
845+
max_priority_fee_per_gas.to::<u128>(),
846846
"max_priority_fee_per_gas of the transaction should be set to the right value"
847847
)
848848
}

0 commit comments

Comments
 (0)