Skip to content

Commit

Permalink
add debug , clone in elchain
Browse files Browse the repository at this point in the history
  • Loading branch information
supernovahs committed Jun 6, 2024
1 parent 02c43f9 commit 63683f8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/chainio/clients/elcontracts/src/reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ use std::sync::Arc;

use crate::error::ElContractsError;

#[derive(Debug)]
#[derive(Debug, Clone)]
pub struct ELChainReader {
slasher: Address,
delegation_manager: Address,
Expand Down
4 changes: 3 additions & 1 deletion crates/chainio/clients/elcontracts/src/writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ use eigen_types::operator::Operator;
use std::sync::Arc;
use tracing::info;
use DelegationManager::OperatorDetails;

#[derive(Debug, Clone)]
pub struct ELChainWriter {
delegation_manager: Address,
strategy_manager: Address,
Expand All @@ -40,7 +42,7 @@ pub struct ELChainWriter {
}

impl ELChainWriter {
pub fn new(
pub fn new(
delegation_manager: Address,
strategy_manager: Address,
el_chain_reader: ELChainReader,
Expand Down

0 comments on commit 63683f8

Please sign in to comment.