Skip to content

Commit 230d1b7

Browse files
committed
Make fields pub
1 parent b14f7ba commit 230d1b7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

relay-api-types/src/lib.rs

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -160,16 +160,16 @@ pub struct SignedCancellation {
160160
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
161161
pub struct TopBidUpdate {
162162
#[serde(with = "serde_utils::quoted_u64")]
163-
timestamp: u64,
164-
slot: Slot,
163+
pub timestamp: u64,
164+
pub slot: Slot,
165165
#[serde(with = "serde_utils::quoted_u64")]
166-
block_number: u64,
167-
block_hash: ExecutionBlockHash,
168-
parent_hash: ExecutionBlockHash,
169-
builder_pubkey: PublicKeyBytes,
170-
fee_recipient: Address,
166+
pub block_number: u64,
167+
pub block_hash: ExecutionBlockHash,
168+
pub parent_hash: ExecutionBlockHash,
169+
pub builder_pubkey: PublicKeyBytes,
170+
pub fee_recipient: Address,
171171
#[serde(with = "serde_utils::quoted_u256")]
172-
value: Uint256,
172+
pub value: Uint256,
173173
}
174174

175175
// Builder API responses
@@ -182,8 +182,8 @@ pub enum Filtering {
182182

183183
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
184184
pub struct ValidatorPreferences {
185-
filtering: Filtering,
186-
trusted_builders: Option<Vec<String>>,
185+
pub filtering: Filtering,
186+
pub trusted_builders: Option<Vec<String>>,
187187
}
188188

189189
#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]

0 commit comments

Comments
 (0)