Skip to content

Commit 62c9170

Browse files
committed
Remove hidden re-exports to appease Rust 1.73 (#4495)
## Issue Addressed #4494 ## Proposed Changes - Remove explicit re-exports of various types to appease the new compiler lint ## Additional Info It seems `warn(hidden_glob_reexports)` is the main culprit.
1 parent 420e9c4 commit 62c9170

File tree

2 files changed

+6
-9
lines changed

2 files changed

+6
-9
lines changed

beacon_node/execution_layer/src/lib.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,11 @@ use tokio::{
3838
};
3939
use tokio_stream::wrappers::WatchStream;
4040
use tree_hash::TreeHash;
41-
use types::{AbstractExecPayload, BeaconStateError, ExecPayload, Withdrawals};
41+
use types::{AbstractExecPayload, BeaconStateError, ExecPayload};
4242
use types::{
43-
BlindedPayload, BlockType, ChainSpec, Epoch, ExecutionBlockHash, ExecutionPayload,
44-
ExecutionPayloadCapella, ExecutionPayloadMerge, ForkName, ForkVersionedResponse,
45-
ProposerPreparationData, PublicKeyBytes, Signature, SignedBeaconBlock, Slot, Uint256,
43+
BlindedPayload, BlockType, ChainSpec, Epoch, ExecutionPayloadCapella, ExecutionPayloadMerge,
44+
ForkVersionedResponse, ProposerPreparationData, PublicKeyBytes, Signature, SignedBeaconBlock,
45+
Slot,
4646
};
4747

4848
mod block_hash;

beacon_node/http_api/tests/fork_tests.rs

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -326,11 +326,8 @@ async fn sync_committee_indices_across_fork() {
326326

327327
/// Assert that an HTTP API error has the given status code and indexed errors for the given indices.
328328
fn assert_server_indexed_error(error: eth2::Error, status_code: u16, indices: Vec<usize>) {
329-
let eth2::Error::ServerIndexedMessage(IndexedErrorMessage {
330-
code,
331-
failures,
332-
..
333-
}) = error else {
329+
let eth2::Error::ServerIndexedMessage(IndexedErrorMessage { code, failures, .. }) = error
330+
else {
334331
panic!("wrong error, expected ServerIndexedMessage, got: {error:?}")
335332
};
336333
assert_eq!(code, status_code);

0 commit comments

Comments
 (0)