mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-30 04:37:13 +00:00
Remove reqwest re-exports from eth2 (#8829)
Remove `reqwest` from being re-exported within `eth2` Co-Authored-By: Mac L <mjladson@pm.me>
This commit is contained in:
@@ -4,11 +4,11 @@ use beacon_chain::{
|
||||
GossipVerifiedBlock, IntoGossipVerifiedBlock, WhenSlotSkipped,
|
||||
test_utils::{AttestationStrategy, BlockStrategy},
|
||||
};
|
||||
use eth2::reqwest::{Response, StatusCode};
|
||||
use eth2::types::{BroadcastValidation, PublishBlockRequest};
|
||||
use fixed_bytes::FixedBytesExtended;
|
||||
use http_api::test_utils::InteractiveTester;
|
||||
use http_api::{Config, ProvenancedBlock, publish_blinded_block, publish_block, reconstruct_block};
|
||||
use reqwest::{Response, StatusCode};
|
||||
use std::collections::HashSet;
|
||||
use std::sync::Arc;
|
||||
use types::{ColumnIndex, Epoch, EthSpec, ForkName, Hash256, MainnetEthSpec, Slot};
|
||||
|
||||
@@ -3,9 +3,9 @@ use beacon_chain::{
|
||||
BlockError,
|
||||
test_utils::{AttestationStrategy, BlockStrategy, LightClientStrategy, SyncCommitteeStrategy},
|
||||
};
|
||||
use eth2::StatusCode;
|
||||
use execution_layer::{PayloadStatusV1, PayloadStatusV1Status};
|
||||
use http_api::test_utils::InteractiveTester;
|
||||
use reqwest::StatusCode;
|
||||
use types::{EthSpec, ExecPayload, ForkName, MinimalEthSpec, Slot, Uint256};
|
||||
|
||||
type E = MinimalEthSpec;
|
||||
|
||||
@@ -10,9 +10,8 @@ use bls::{AggregateSignature, Keypair, PublicKeyBytes, Signature, SignatureBytes
|
||||
use eth2::{
|
||||
BeaconNodeHttpClient, Error,
|
||||
Error::ServerMessage,
|
||||
StatusCode, Timeouts,
|
||||
Timeouts,
|
||||
mixin::{RequestAccept, ResponseForkName, ResponseOptional},
|
||||
reqwest::{RequestBuilder, Response},
|
||||
types::{
|
||||
BlockId as CoreBlockId, ForkChoiceNode, ProduceBlockV3Response, StateId as CoreStateId, *,
|
||||
},
|
||||
@@ -34,6 +33,7 @@ use network::NetworkReceivers;
|
||||
use network_utils::enr_ext::EnrExt;
|
||||
use operation_pool::attestation_storage::CheckpointKey;
|
||||
use proto_array::ExecutionStatus;
|
||||
use reqwest::{RequestBuilder, Response, StatusCode};
|
||||
use sensitive_url::SensitiveUrl;
|
||||
use slot_clock::SlotClock;
|
||||
use ssz::BitList;
|
||||
|
||||
Reference in New Issue
Block a user