mirror of
https://github.com/hl-archive-node/nanoreth.git
synced 2025-12-06 10:59:55 +00:00
feat: update el requests for devnet 4 (#11865)
Co-authored-by: Matthias Seitz <matthias.seitz@outlook.de>
This commit is contained in:
@ -84,7 +84,8 @@ impl InnerTransport {
|
||||
let (auth, claims) =
|
||||
build_auth(jwt).map_err(|e| AuthenticatedTransportError::InvalidJwt(e.to_string()))?;
|
||||
|
||||
let inner = WsConnect { url: url.to_string(), auth: Some(auth) }
|
||||
let inner = WsConnect::new(url.clone())
|
||||
.with_auth(auth)
|
||||
.into_service()
|
||||
.await
|
||||
.map(Self::Ws)
|
||||
|
||||
@ -215,14 +215,6 @@ pub(crate) async fn call_new_payload<N, T, P: EngineApiValidWaitExt<N, T>>(
|
||||
versioned_hashes: Vec<B256>,
|
||||
) -> TransportResult<EngineApiMessageVersion> {
|
||||
match payload {
|
||||
ExecutionPayload::V4(_payload) => {
|
||||
todo!("V4 payloads not supported yet");
|
||||
// auth_provider
|
||||
// .new_payload_v4_wait(payload, versioned_hashes, parent_beacon_block_root, ...)
|
||||
// .await?;
|
||||
//
|
||||
// Ok(EngineApiMessageVersion::V4)
|
||||
}
|
||||
ExecutionPayload::V3(payload) => {
|
||||
// We expect the caller
|
||||
let parent_beacon_block_root = parent_beacon_block_root
|
||||
|
||||
Reference in New Issue
Block a user