Skip to content

Commit f0e7140

Browse files
authored
chore(anvil): remove dead BeaconResult alias and re-export (#12405)
* Remove dead BeaconResult alias and re-export * Remove dead BeaconResult alias and re-export
1 parent d7f3084 commit f0e7140

File tree

2 files changed

+1
-5
lines changed

2 files changed

+1
-5
lines changed

crates/anvil/src/eth/beacon/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ pub mod error;
77
pub mod response;
88

99
pub use error::BeaconError;
10-
pub use response::{BeaconResponse, BeaconResult};
10+
pub use response::BeaconResponse;

crates/anvil/src/eth/beacon/response.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,12 @@
11
//! Beacon API response types
22
3-
use super::error::BeaconError;
43
use axum::{
54
Json,
65
http::StatusCode,
76
response::{IntoResponse, Response},
87
};
98
use serde::{Deserialize, Serialize};
109

11-
/// Result type for beacon API operations
12-
pub type BeaconResult<T> = Result<T, BeaconError>;
13-
1410
/// Generic Beacon API response wrapper
1511
///
1612
/// This follows the beacon chain API specification where responses include

0 commit comments

Comments
 (0)