275 |
/// Calculate the call transaction cost.
|
276 |
#[allow(clippy::naive_bytecount)]
|
277 |
pub fn call_transaction_cost(data: &[u8], access_list: &[(H160, Vec<H256>)]) -> TransactionCost {
|
290 |
/// Calculate the create transaction cost.
|
291 |
#[allow(clippy::naive_bytecount)]
|
292 |
pub fn create_transaction_cost(data: &[u8], access_list: &[(H160, Vec<H256>)]) -> TransactionCost {
|
8 |
clippy::single_match,
|
9 |
clippy::naive_bytecount,
|
10 |
clippy::suspicious_else_formatting
|
15 |
let diff = max_points - self.points_to_win;
|
16 |
#[allow(clippy::naive_bytecount)]
|
17 |
let tie_exists = points.iter().filter(|p| p == &max_points).count() > 1;
|
5 |
#[allow(clippy::unreadable_literal, clippy::naive_bytecount)]
|
6 |
mod expressions;
|