Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bins/revme/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ plain_hasher = "0.2"
revm = { path = "../../crates/revm", version = "6.0.0", default-features = false, features = [
"ethersdb",
"std",
"serde",
"json",
"c-kzg",
] }
alloy-rlp = { version = "0.3", default-features = false, features = [
Expand Down
4 changes: 2 additions & 2 deletions crates/revm/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,8 @@ std = [
"revm-interpreter/std",
"revm-precompile/std",
]
serde = ["dep:serde", "dep:serde_json", "revm-interpreter/serde"]
serde = ["dep:serde", "revm-interpreter/serde"]
json = ["serde", "dep:serde_json"]
arbitrary = ["revm-interpreter/arbitrary"]
asm-keccak = ["revm-interpreter/asm-keccak", "revm-precompile/asm-keccak"]

Expand All @@ -73,7 +74,6 @@ negate-optimism-default-handler = [
"revm-interpreter/negate-optimism-default-handler",
]


ethersdb = [
"std",
"tokio",
Expand Down
2 changes: 1 addition & 1 deletion crates/revm/src/db/in_memory_db.rs
Original file line number Diff line number Diff line change
Expand Up @@ -457,7 +457,7 @@ mod tests {
assert_eq!(new_state.storage(account, key1), Ok(value1));
}

#[cfg(feature = "serde")]
#[cfg(feature = "json")]
#[test]
fn test_serialize_deserialize_cachedb() {
let account = Address::with_last_byte(69);
Expand Down
4 changes: 2 additions & 2 deletions crates/revm/src/inspector.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use auto_impl::auto_impl;

#[cfg(feature = "std")]
mod customprinter;
#[cfg(all(feature = "std", feature = "serde"))]
#[cfg(all(feature = "std", feature = "json"))]
mod eip3155;
mod gas;
mod handler_register;
Expand All @@ -22,7 +22,7 @@ use revm_interpreter::{CallOutcome, CreateOutcome};
pub mod inspectors {
#[cfg(feature = "std")]
pub use super::customprinter::CustomPrintTracer;
#[cfg(all(feature = "std", feature = "serde"))]
#[cfg(all(feature = "std", feature = "json"))]
pub use super::eip3155::TracerEip3155;
pub use super::gas::GasInspector;
pub use super::noop::NoOpInspector;
Expand Down