Skip to content

Commit

Permalink
Update counter_op.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
DoTheBestToGetTheBest authored Feb 10, 2024
1 parent 6933efa commit 7ec44f2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/counter_op.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ use std::collections::HashMap;
#[derive(Default, Debug)]
pub struct OpcodeCounterInspector {
/// Map of opcode counts per transaction.
opcode_counts: HashMap<OpCode, u64>,
pub opcode_counts: HashMap<OpCode, u64>,
/// Map of total gas used per opcode.
opcode_gas: HashMap<OpCode, u64>,
pub opcode_gas: HashMap<OpCode, u64>,
}

impl OpcodeCounterInspector {
Expand Down

0 comments on commit 7ec44f2

Please sign in to comment.