Skip to content
This repository was archived by the owner on Jan 16, 2026. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
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
40 changes: 17 additions & 23 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ async-trait = "0.1.80"
alloy-primitives = { version = "0.7.6", default-features = false }
alloy-rlp = { version = "0.3.5", default-features = false }
alloy-consensus = { version = "0.1", default-features = false }
op-alloy-consensus = { git = "https://github.com/alloy-rs/op-alloy", default-features = false }
op-alloy-consensus = { git = "https://github.com/alloy-rs/op-alloy", version = "0.1.0", default-features = false }
alloy-eips = { version = "0.1", default-features = false }
revm = { git = "https://github.com/bluealloy/revm", rev = "a832a4e", default-features = false }
revm = { git = "https://github.com/bluealloy/revm", tag = "v37", version = "10.0.0", default-features = false }

[profile.dev]
opt-level = 1
Expand Down
1 change: 1 addition & 0 deletions bin/client/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ authors.workspace = true
license.workspace = true
repository.workspace = true
homepage.workspace = true
publish = false

[dependencies]
# workspace
Expand Down
1 change: 1 addition & 0 deletions bin/host/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ license.workspace = true
authors.workspace = true
repository.workspace = true
homepage.workspace = true
publish = false

[dependencies]
# workspace
Expand Down
8 changes: 4 additions & 4 deletions bin/host/src/fetcher/precompiles.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ pub(crate) fn execute<T: Into<Bytes>>(address: Address, input: T) -> Result<Vec<
match precompile.1 {
Precompile::Standard(std_precompile) => {
// Standard precompile execution - no access to environment required.
let (_, result) = std_precompile(&input.into(), u64::MAX)
let output = std_precompile(&input.into(), u64::MAX)
.map_err(|e| anyhow!("Failed precompile execution: {e}"))?;

Ok(result.to_vec())
Ok(output.bytes.into())
}
Precompile::Env(env_precompile) => {
// Use default environment for KZG point evaluation.
let (_, result) = env_precompile(&input.into(), u64::MAX, &Env::default())
let output = env_precompile(&input.into(), u64::MAX, &Env::default())
.map_err(|e| anyhow!("Failed precompile execution: {e}"))?;

Ok(result.to_vec())
Ok(output.bytes.into())
}
_ => anyhow::bail!("Precompile not accelerated"),
}
Expand Down
8 changes: 4 additions & 4 deletions crates/executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -509,7 +509,7 @@ where
env.gas_priority_fee = None;
env.transact_to = match tx.to {
TxKind::Call(to) => TransactTo::Call(to),
TxKind::Create => TransactTo::create(),
TxKind::Create => TransactTo::Create,
};
env.value = tx.value;
env.data = tx.input.clone();
Expand All @@ -536,7 +536,7 @@ where
env.gas_priority_fee = None;
env.transact_to = match tx.to {
TxKind::Call(to) => TransactTo::Call(to),
TxKind::Create => TransactTo::create(),
TxKind::Create => TransactTo::Create,
};
env.value = tx.value;
env.data = tx.input.clone();
Expand Down Expand Up @@ -573,7 +573,7 @@ where
env.gas_priority_fee = Some(U256::from(tx.max_priority_fee_per_gas));
env.transact_to = match tx.to {
TxKind::Call(to) => TransactTo::Call(to),
TxKind::Create => TransactTo::create(),
TxKind::Create => TransactTo::Create,
};
env.value = tx.value;
env.data = tx.input.clone();
Expand Down Expand Up @@ -608,7 +608,7 @@ where
env.gas_priority_fee = None;
match tx.to {
TxKind::Call(to) => env.transact_to = TransactTo::Call(to),
TxKind::Create => env.transact_to = TransactTo::create(),
TxKind::Create => env.transact_to = TransactTo::Create,
}
env.value = tx.value;
env.data = tx.input.clone();
Expand Down