Skip to content

Commit

Permalink
Merge pull request #141 from chainbound/chore/sidecar/bump-types-version
Browse files Browse the repository at this point in the history
chore(sidecar): bump reth/alloy types, remove trace call manager
  • Loading branch information
thedevbirb authored Jul 22, 2024
2 parents db1ccf6 + 2b78f6e commit 6f724a9
Show file tree
Hide file tree
Showing 25 changed files with 714 additions and 983 deletions.
1,018 changes: 598 additions & 420 deletions bolt-sidecar/Cargo.lock

Large diffs are not rendered by default.

26 changes: 4 additions & 22 deletions bolt-sidecar/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,32 +19,14 @@ tree_hash_derive = "0.5"
secp256k1 = { version = "0.29.0", features = ["rand"] }

# alloy
alloy-rpc-client = { version = "0.1.2", features = ["reqwest", "ws", "pubsub"] }
alloy-consensus = { version = "0.1.2", features = ["k256"] }
alloy-provider = { version = "0.1.2", features = ["ws"] }
alloy-signer = { version = "0.1.2" }
alloy-signer-local = { version = "0.1.2" }
alloy-transport = { version = "0.1.2" }
alloy-eips = { version = "0.1.2" }
alloy-transport-http = { version = "0.1.2" }
alloy-transport-ws = { version = "0.1.2" }
alloy-pubsub = { version = "0.1.2" }
alloy-rpc-types = { version = "0.1.2" }
alloy-rpc-types-engine = { version = "0.1.2" }
alloy-rpc-types-beacon = { version = "0.1.2" }
alloy-rpc-types-trace = { version = "0.1.2" }
alloy-json-rpc = { version = "0.1.2" }
alloy-network = { version = "0.1.2" }
alloy-primitives = { version = "0.7.1" }
alloy-rlp = { version = "0.3" }

alloy = { version = "0.2.0", features = ["full", "provider-trace-api", "rpc-types-beacon", "rpc-types-engine"] }

# alloy-rpc-types = { git = "https://github.com/chainbound/alloy", branch = "fix/account-override-serialize" }


# reth
reth-primitives = { git = "https://github.com/paradigmxyz/reth", rev = "71c404d" }
reth-rpc-layer = { git = "https://github.com/paradigmxyz/reth", rev = "6e146e1" }
reth-primitives = { git = "https://github.com/paradigmxyz/reth", version = "1.0.2" }
reth-rpc-layer = { git = "https://github.com/paradigmxyz/reth", version = "1.0.2" }
# reth-provider = { git = "https://github.com/paradigmxyz/reth", rev = "71c404d" }

reqwest = "0.12"
Expand Down Expand Up @@ -77,7 +59,7 @@ cb-crypto = { git = "https://github.com/Commit-Boost/commit-boost-client" }
cb-common = { git = "https://github.com/Commit-Boost/commit-boost-client" }

[dev-dependencies]
alloy-node-bindings = "0.1.1"
alloy-node-bindings = "0.2.0"


[[bin]]
Expand Down
2 changes: 1 addition & 1 deletion bolt-sidecar/bin/sidecar.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
use std::time::Duration;

use alloy_rpc_types_beacon::events::HeadEvent;
use alloy::rpc::types::beacon::events::HeadEvent;
use tokio::sync::mpsc;

use bolt_sidecar::{
Expand Down
308 changes: 0 additions & 308 deletions bolt-sidecar/src/builder/call_trace_manager.rs

This file was deleted.

12 changes: 7 additions & 5 deletions bolt-sidecar/src/builder/compat.rs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
use alloy_eips::eip4895::Withdrawal;
use alloy_primitives::{Address, Bloom, B256, U256};
use alloy_rpc_types_engine::{
ExecutionPayload as AlloyExecutionPayload, ExecutionPayloadV1, ExecutionPayloadV2,
ExecutionPayloadV3,
use alloy::{
eips::eip4895::Withdrawal,
primitives::{Address, Bloom, B256, U256},
rpc::types::engine::{
ExecutionPayload as AlloyExecutionPayload, ExecutionPayloadV1, ExecutionPayloadV2,
ExecutionPayloadV3,
},
};
use ethereum_consensus::{
bellatrix::mainnet::Transaction,
Expand Down
Loading

0 comments on commit 6f724a9

Please sign in to comment.