Skip to content

Commit

Permalink
fixup(fmt): fix format errors
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanschneider committed Dec 11, 2024
1 parent 58508f2 commit 656a5b2
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion crates/eips/src/eip6110.rs
Original file line number Diff line number Diff line change
Expand Up @@ -135,4 +135,4 @@ mod tests {
// Check if the serialized JSON matches the expected JSON structure
assert_eq!(serialized_json, json_data);
}
}
}
2 changes: 1 addition & 1 deletion crates/eips/src/eip7002.rs
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ mod tests {
let expected_json = r#"{"sourceAddress":"0xae0e8770147aaa6828a0d6f642504663f10f7d1e","validatorPubkey":"0x8e8d8749f6bc79b78be7cc6e49ff640e608454840c360b344c3a4d9b7428e280e7f40d2271bad65d8cbbfdd43cb8793b","amount":"0x1"}"#;
assert_eq!(serialized_json, expected_json);
}
}
}
2 changes: 1 addition & 1 deletion crates/eips/src/eip7251.rs
Original file line number Diff line number Diff line change
Expand Up @@ -93,4 +93,4 @@ mod tests {
let expected_json = r#"{"sourceAddress":"0x007eabca654e67103df02f49ebdc5f6cd9387a07","sourcePubkey":"0xb13ff174911d0137e5f2b739fbf172b22cba35a037ef1edb03683b75c9abf5b271f8d48ad279cc89c7fae91db631c1e7","targetPubkey":"0xd0e5be6b709f2dc02a49f6e37e0d03b7d832b79b0db1c8bbfd5b81b8e57b79a1282fb99a671b4629a0e0bfffa7cf6d4f"}"#;
assert_eq!(serialized_json, expected_json);
}
}
}
2 changes: 1 addition & 1 deletion crates/rpc-types-beacon/src/relay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
//!
//! See also <https://flashbots.github.io/relay-specs/>
use crate::requests::ExecutionRequestsV4;
use crate::{BlsPublicKey, BlsSignature};
use alloy_primitives::{Address, B256, U256};
use alloy_rpc_types_engine::{
BlobsBundleV1, ExecutionPayloadV1, ExecutionPayloadV2, ExecutionPayloadV3,
};
use serde::{Deserialize, Serialize};
use serde_with::{serde_as, DisplayFromStr};
use crate::requests::ExecutionRequestsV4;

/// Represents an entry of the `/relay/v1/builder/validators` endpoint
#[serde_as]
Expand Down
4 changes: 2 additions & 2 deletions crates/rpc-types-beacon/src/requests.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
use serde::{Deserialize, Serialize};
use alloy_eips::eip6110::DepositRequest;
use alloy_eips::eip7002::WithdrawalRequest;
use alloy_eips::eip7251::ConsolidationRequest;
use serde::{Deserialize, Serialize};

#[derive(Debug, Clone, PartialEq, Eq, Serialize, Deserialize)]
#[serde(deny_unknown_fields)]
Expand All @@ -15,4 +15,4 @@ pub struct ExecutionRequestsV4 {
pub withdrawals: Vec<WithdrawalRequest>,
/// The requested consolidations.
pub consolidations: Vec<ConsolidationRequest>,
}
}

0 comments on commit 656a5b2

Please sign in to comment.