Skip to content

Commit f5b4bec

Browse files
JasonVranekPedroCM96
authored andcommitted
Minor cleanups
1 parent f984dae commit f5b4bec

3 files changed

Lines changed: 5 additions & 3 deletions

File tree

crates/common/src/abi/StaderRegistry.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,4 +241,4 @@
241241
"stateMutability": "view",
242242
"type": "function"
243243
}
244-
]
244+
]

crates/common/src/config/mux.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,8 @@ async fn fetch_stader_registry_keys(
427427
node_operator_id: U256,
428428
http_timeout: Duration,
429429
) -> eyre::Result<Vec<BlsPublicKey>> {
430+
debug!(?chain, %node_operator_id, ?stader_pool, "loading operator keys from Stader registry");
431+
430432
let client = Client::builder().timeout(http_timeout).build()?;
431433
let http = Http::with_client(client, rpc_url);
432434
let is_local = http.guess_local();

crates/common/src/types.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,10 @@ pub enum HoodiLidoModule {
7777

7878
#[derive(Debug, Clone, Deserialize, Serialize, PartialEq, Eq, Hash)]
7979
pub enum StaderPool {
80-
#[serde(alias = "permissioned")]
80+
#[serde(rename = "permissioned")]
8181
Permissioned,
8282

83-
#[serde(alias = "permissionless")]
83+
#[serde(rename = "permissionless")]
8484
Permissionless,
8585
}
8686

0 commit comments

Comments
 (0)