Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(op-test-vectors): Remove Logs Hash #49

Merged
merged 1 commit into from
Jul 27, 2024
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
3 changes: 0 additions & 3 deletions bin/opt8n/src/opt8n.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
use alloy::{
eips::BlockId,
primitives::B256,
rpc::types::{
anvil::Forking,
trace::geth::{PreStateConfig, PreStateFrame},
Expand Down Expand Up @@ -236,8 +235,6 @@ impl Opt8n {
state_root: block_header.state_root,
tx_root: block_header.transactions_root,
receipt_root: block_header.receipts_root,
// TODO: Update logs hash
logs_hash: B256::default(),
logs_bloom: block_header.logs_bloom,
receipts,
};
Expand Down
2 changes: 0 additions & 2 deletions crates/op-test-vectors/src/execution.rs
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,6 @@ pub struct ExecutionResult {
pub tx_root: B256,
/// The receipt root.
pub receipt_root: B256,
/// The logs hash.
pub logs_hash: B256,
/// The logs bloom.
pub logs_bloom: Bloom,
/// A list of execution receipts for each executed transaction.
Expand Down
1 change: 0 additions & 1 deletion crates/op-test-vectors/src/testdata/result.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
"stateRoot": "0x1c99b01120e7a2fa1301b3505f20100e72362e5ac3f96854420e56ba8984d716",
"txRoot": "0xb5eee60b45801179cbde3781b9a5dee9b3111554618c9cda3d6f7e351fd41e0b",
"receiptRoot": "0x86ceb80cb6bef8fe4ac0f1c99409f67cb2554c4432f374e399b94884eb3e6562",
"logsHash": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347",
"logsBloom": "0x00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000",
"receipts": [
{
Expand Down