File tree 3 files changed +10
-1
lines changed
3 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -72,6 +72,8 @@ class EVMMAXState
72
72
// / Size (expressed in multiples of 8 bytes) needed to represent modulus.
73
73
[[nodiscard]] size_t active_mod_value_size_multiplier () const noexcept ;
74
74
75
+ void print_state (std::ostream& out) const noexcept ;
76
+
75
77
void clear () noexcept ;
76
78
77
79
EVMMAXState& operator =(EVMMAXState&&) noexcept ;
Original file line number Diff line number Diff line change @@ -208,7 +208,7 @@ struct EXMMAXModState : public EXMMAXModStateInterface
208
208
}
209
209
out << " }\n " ;
210
210
}
211
-
211
+
212
212
[[nodiscard]] size_t num_values () const noexcept override { return values.size (); }
213
213
[[nodiscard]] size_t value_size_multiplier () const noexcept override { return value_size_mult; }
214
214
};
Original file line number Diff line number Diff line change @@ -124,6 +124,13 @@ class InstructionTracer : public Tracer
124
124
m_out << R"( ,"refund":)" << std::dec << state.gas_refund ;
125
125
m_out << R"( ,"opName":")" << get_name (opcode) << ' "' ;
126
126
127
+ // if (state.evmmax_state.is_activated())
128
+ // {
129
+ // m_out << R"(,"evmmax":")" << std::endl;
130
+ // m_out << "";
131
+ // state.evmmax_state.print_state(m_out);
132
+ // }
133
+
127
134
m_out << " }\n " ;
128
135
}
129
136
You can’t perform that action at this time.
0 commit comments