diff --git a/Cargo.lock b/Cargo.lock index 19c7e953..f75299f8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -963,7 +963,7 @@ checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" [[package]] name = "beacon-api-client" version = "0.1.0" -source = "git+https://github.com/ralexstokes/ethereum-consensus?rev=51fae41c70253d814271fcd0185fdffd50bb7232#51fae41c70253d814271fcd0185fdffd50bb7232" +source = "git+https://github.com/ralexstokes/ethereum-consensus?rev=6936688e4a4ec4a53d82d24d7df4bccc559343b6#6936688e4a4ec4a53d82d24d7df4bccc559343b6" dependencies = [ "clap", "ethereum-consensus", @@ -2561,7 +2561,7 @@ dependencies = [ [[package]] name = "ethereum-consensus" version = "0.1.1" -source = "git+https://github.com/ralexstokes/ethereum-consensus?rev=51fae41c70253d814271fcd0185fdffd50bb7232#51fae41c70253d814271fcd0185fdffd50bb7232" +source = "git+https://github.com/ralexstokes/ethereum-consensus?rev=6936688e4a4ec4a53d82d24d7df4bccc559343b6#6936688e4a4ec4a53d82d24d7df4bccc559343b6" dependencies = [ "blst", "bs58 0.4.0", diff --git a/Cargo.toml b/Cargo.toml index a3b41824..45b3b628 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,8 +14,8 @@ default-members = ["bin/mev"] version = "0.3.0" [workspace.dependencies] -ethereum-consensus = { git = "https://github.com/ralexstokes/ethereum-consensus", rev = "51fae41c70253d814271fcd0185fdffd50bb7232" } -beacon-api-client = { git = "https://github.com/ralexstokes/ethereum-consensus", rev = "51fae41c70253d814271fcd0185fdffd50bb7232" } +ethereum-consensus = { git = "https://github.com/ralexstokes/ethereum-consensus", rev = "6936688e4a4ec4a53d82d24d7df4bccc559343b6" } +beacon-api-client = { git = "https://github.com/ralexstokes/ethereum-consensus", rev = "6936688e4a4ec4a53d82d24d7df4bccc559343b6" } reth = { git = "https://github.com/paradigmxyz/reth", rev = "5f82993c23164ce8ccdc7bf3ae5085205383a5c8" } reth-db = { git = "https://github.com/paradigmxyz/reth", rev = "5f82993c23164ce8ccdc7bf3ae5085205383a5c8" } diff --git a/mev-build-rs/src/compat.rs b/mev-build-rs/src/compat.rs index 7bf19378..fee3aab9 100644 --- a/mev-build-rs/src/compat.rs +++ b/mev-build-rs/src/compat.rs @@ -1,6 +1,6 @@ use crate::Error; use ethereum_consensus::{ - deneb::polynomial_commitments::{KzgCommitment, KzgProof}, + crypto::{KzgCommitment, KzgProof}, primitives::{Bytes32, ExecutionAddress}, ssz::prelude::{ByteList, ByteVector, SimpleSerializeError, U256}, Error as ConsensusError, Fork, diff --git a/mev-rs/src/relay.rs b/mev-rs/src/relay.rs index 7bb65238..994d22de 100644 --- a/mev-rs/src/relay.rs +++ b/mev-rs/src/relay.rs @@ -7,7 +7,7 @@ use crate::{ use async_trait::async_trait; use beacon_api_client::Client as BeaconClient; use ethereum_consensus::{ - crypto::Error as CryptoError, primitives::BlsPublicKey, serde::try_bytes_from_hex_str, + crypto::bls::Error as CryptoError, primitives::BlsPublicKey, serde::try_bytes_from_hex_str, }; use std::{cmp, fmt, hash, ops::Deref}; use tracing::{error, warn}; diff --git a/mev-rs/src/types/auction_contents.rs b/mev-rs/src/types/auction_contents.rs index 65e5fee2..feb09e80 100644 --- a/mev-rs/src/types/auction_contents.rs +++ b/mev-rs/src/types/auction_contents.rs @@ -14,7 +14,7 @@ pub mod capella { pub mod deneb { use super::ExecutionPayload; use ethereum_consensus::{ - deneb::polynomial_commitments::{KzgCommitment, KzgProof}, + crypto::{KzgCommitment, KzgProof}, ssz::prelude::*, }; diff --git a/mev-rs/src/types/builder_bid.rs b/mev-rs/src/types/builder_bid.rs index 84014560..ed1eb66b 100644 --- a/mev-rs/src/types/builder_bid.rs +++ b/mev-rs/src/types/builder_bid.rs @@ -3,7 +3,7 @@ use crate::{ types::ExecutionPayloadHeader, }; use ethereum_consensus::{ - deneb::polynomial_commitments::KzgCommitment, + crypto::KzgCommitment, primitives::{BlsPublicKey, BlsSignature}, ssz::prelude::*, state_transition::Context,