Skip to content

Commit

Permalink
update taiko/primitives and taiko/engine-primitives packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Nov 3, 2024
1 parent 7d21a34 commit 137f7c6
Show file tree
Hide file tree
Showing 7 changed files with 121 additions and 37 deletions.
127 changes: 98 additions & 29 deletions Cargo.lock

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

2 changes: 2 additions & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ members = [
"examples/txpool-tracing/",
"testing/ef-tests/",
"testing/testing-utils",
"crates/taiko/primitives",
"crates/taiko/engine-primitives",
]
default-members = ["bin/reth"]
exclude = ["book/sources"]
Expand Down
8 changes: 6 additions & 2 deletions crates/taiko/engine-primitives/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ alloy-eips.workspace = true
alloy-primitives.workspace = true
alloy-rpc-types.workspace = true
alloy-rpc-types-engine.workspace = true
serde_with.workspace = true
sha2.workspace = true

# reth
reth-payload-primitives.workspace = true
Expand All @@ -26,6 +24,12 @@ reth-chainspec.workspace = true

# taiko
taiko-reth-primitives.workspace = true
serde.workspace = true
alloy-rlp.workspace = true
alloy-serde.workspace = true

serde_with = { version = "1.11", features = ["base64"] }
sha2 = "0.10.8"

[lints]
workspace = true
14 changes: 10 additions & 4 deletions crates/taiko/engine-primitives/src/payload.rs
Original file line number Diff line number Diff line change
@@ -1,16 +1,22 @@
use alloy_eips::eip4844::BlobTransactionSidecar;
use alloy_eips::eip4895::Withdrawal;
use alloy_primitives::{Address, Bytes, B256};
use alloy_primitives::private::alloy_rlp::{Encodable, RlpDecodable, RlpEncodable};
use alloy_primitives::private::serde::{Deserialize, Serialize};
use alloy_primitives::private::alloy_rlp::{Encodable};
use alloy_primitives::ruint::aliases::U256;
use alloy_rlp::{RlpDecodable, RlpEncodable};
use alloy_rpc_types::engine::{ExecutionPayloadEnvelopeV4, PayloadAttributes, PayloadId};
use alloy_rpc_types_engine::{ExecutionPayload, ExecutionPayloadEnvelopeV3, ExecutionPayloadV1, ExecutionPayloadV2};
use serde_with::serde_as;
use serde::{Serialize, Deserialize};
use serde_with::{serde_as, base64::Base64};
use reth_ethereum_engine_primitives::EthPayloadBuilderAttributes;
use reth_payload_primitives::{BuiltPayload, EngineApiMessageVersion};
use reth_primitives::SealedBlock;
use reth_rpc_types_compat::engine::payload::{block_to_payload_v1, block_to_payload_v2, block_to_payload_v3, block_to_payload_v4};
use reth_rpc_types_compat::engine::payload::{
block_to_payload_v1,
block_to_payload_v2,
block_to_payload_v3,
block_to_payload_v4,
};
use taiko_reth_primitives::L1Origin;

/// Taiko Payload Attributes
Expand Down
Loading

0 comments on commit 137f7c6

Please sign in to comment.