Skip to content

Commit 5af3c6a

Browse files
authored
chore: bump revm 30.0.2 (#380)
1 parent da6abe4 commit 5af3c6a

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ alloy-sol-types = { version = "1.4", default-features = false }
3636
alloy-primitives = { version = "1.4", default-features = false, features = [
3737
"map",
3838
] }
39-
revm = { version = "31.0.2", default-features = false }
39+
revm = { version = "32.0.0", default-features = false }
4040

4141
anstyle = { version = "1.0", optional = true }
4242
colorchoice = "1.0"

src/tracing/js/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ use alloc::{
1616
string::{String, ToString},
1717
vec::Vec,
1818
};
19-
use alloy_primitives::{Address, Bytes, Log, U256};
19+
use alloy_primitives::{Address, Bytes, U256};
2020
pub use boa_engine::vm::RuntimeLimits;
2121
use boa_engine::{js_string, Context, JsError, JsObject, JsResult, JsValue, Source};
2222
use core::borrow::Borrow;
@@ -512,8 +512,6 @@ where
512512
}
513513
}
514514

515-
fn log(&mut self, _interp: &mut Interpreter, _context: &mut CTX, _log: Log) {}
516-
517515
fn call(&mut self, context: &mut CTX, inputs: &mut CallInputs) -> Option<CallOutcome> {
518516
self.register_precompiles(context);
519517

src/tracing/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -587,7 +587,7 @@ where
587587
}
588588
}
589589

590-
fn log(&mut self, _interp: &mut Interpreter, _context: &mut CTX, log: Log) {
590+
fn log(&mut self, _context: &mut CTX, log: Log) {
591591
if self.config.record_logs {
592592
// index starts at 0
593593
let log_count = self.log_count();

src/tracing/mux.rs

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -198,12 +198,22 @@ where
198198
}
199199

200200
#[inline]
201-
fn log(&mut self, interp: &mut Interpreter, context: &mut CTX, log: Log) {
201+
fn log(&mut self, context: &mut CTX, log: Log) {
202202
if let Some(ref mut inspector) = self.four_byte {
203-
inspector.log(interp, context, log.clone());
203+
inspector.log(context, log.clone());
204204
}
205205
if let Some(ref mut inspector) = self.tracing {
206-
inspector.log(interp, context, log);
206+
inspector.log(context, log);
207+
}
208+
}
209+
210+
#[inline]
211+
fn log_full(&mut self, interp: &mut Interpreter, context: &mut CTX, log: Log) {
212+
if let Some(ref mut inspector) = self.four_byte {
213+
inspector.log_full(interp, context, log.clone());
214+
}
215+
if let Some(ref mut inspector) = self.tracing {
216+
inspector.log_full(interp, context, log);
207217
}
208218
}
209219

0 commit comments

Comments
 (0)