Skip to content

Commit

Permalink
fix : avsregistrychainwriter nits
Browse files Browse the repository at this point in the history
  • Loading branch information
supernovahs committed Jun 17, 2024
1 parent eec561f commit 03cbc89
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/chainio/clients/avsregistry/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ pub struct AvsRegistryChainWriter {
}

impl AvsRegistryChainWriter {
async fn new_avs_registry_chain_writer(
pub async fn new(
service_manager_addr: Address,
registry_coordinator_addr: Address,
operator_state_retriever_addr: Address,
Expand All @@ -61,7 +61,7 @@ impl AvsRegistryChainWriter {
}
}

async fn build_avs_registry_chain_writer(
pub async fn build_avs_registry_chain_writer(
&self,
registry_coordinator_addr: Address,
operator_state_retriever_addr: Address,
Expand Down Expand Up @@ -115,7 +115,7 @@ impl AvsRegistryChainWriter {
})
}

async fn register_operator_in_quorum_with_avs_registry_coordinator(
pub async fn register_operator_in_quorum_with_avs_registry_coordinator(
&self,
bls_key_pair: KeyPair,
operator_to_avs_registration_sig_salt: FixedBytes<32>,
Expand Down Expand Up @@ -210,7 +210,7 @@ impl AvsRegistryChainWriter {
Ok(*tx.tx_hash())
}

async fn update_stakes_of_entire_operator_set_for_quorums(
pub async fn update_stakes_of_entire_operator_set_for_quorums(
&self,
operators_per_quorum: Vec<Vec<Address>>,
quorum_number: Bytes,
Expand All @@ -230,7 +230,7 @@ impl AvsRegistryChainWriter {
return Ok(*tx.tx_hash());
}

async fn update_stakes_of_operator_subset_for_all_quorums(
pub async fn update_stakes_of_operator_subset_for_all_quorums(
&self,
operators: Vec<Address>,
) -> Result<TxHash, Box<dyn std::error::Error>> {
Expand All @@ -249,7 +249,7 @@ impl AvsRegistryChainWriter {
Ok(*tx.tx_hash())
}

async fn deregister_operator(
pub async fn deregister_operator(
&self,
quorum_numbers: Bytes,
) -> Result<TxHash, Box<dyn std::error::Error>> {
Expand Down

0 comments on commit 03cbc89

Please sign in to comment.