Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ryardley committed Nov 4, 2024
1 parent 678a298 commit 85db152
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/ciphernode/evm/src/ciphernode_registry_sol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use std::collections::HashSet;
use crate::{
event_reader::EventReader,
helpers::{ReadonlyProvider, WithChainId},
EvmEventReader,
EvmEventReader,
};
use actix::{Actor, Addr, Handler};
use alloy::{
Expand Down Expand Up @@ -234,9 +234,9 @@ impl CiphernodeRegistrySol {
bus: &Addr<EventBus>,
provider: &WithChainId<ReadonlyProvider>,
contract_address: &str,
repository: &Repository<CiphernodeRegistryReaderState>
repository: &Repository<CiphernodeRegistryReaderState>,
) -> Result<()> {
CiphernodeRegistrySolReader::attach(bus, provider, contract_address,repository).await?;
CiphernodeRegistrySolReader::attach(bus, provider, contract_address, repository).await?;
// TODO: Writer if needed
Ok(())
}
Expand Down
5 changes: 3 additions & 2 deletions packages/ciphernode/evm/src/enclave_sol.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
use crate::{
enclave_sol_reader::EnclaveSolReader,
enclave_sol_writer::EnclaveSolWriter,
helpers::{ReadonlyProvider, SignerProvider, WithChainId}, EnclaveSolReaderState,
helpers::{ReadonlyProvider, SignerProvider, WithChainId},
EnclaveSolReaderState,
};
use actix::Addr;
use anyhow::Result;
Expand All @@ -15,7 +16,7 @@ impl EnclaveSol {
read_provider: &WithChainId<ReadonlyProvider>,
write_provider: &WithChainId<SignerProvider>,
contract_address: &str,
repository: &Repository<EnclaveSolReaderState>
repository: &Repository<EnclaveSolReaderState>,
) -> Result<()> {
EnclaveSolReader::attach(bus, read_provider, contract_address, repository).await?;
EnclaveSolWriter::attach(bus, write_provider, contract_address).await?;
Expand Down
3 changes: 2 additions & 1 deletion packages/ciphernode/evm/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ pub mod helpers;
mod registry_filter_sol;

pub use ciphernode_registry_sol::{
CiphernodeRegistryReaderParams,CiphernodeRegistrySol, CiphernodeRegistryReaderState, CiphernodeRegistrySolReader,
CiphernodeRegistryReaderParams, CiphernodeRegistryReaderState, CiphernodeRegistrySol,
CiphernodeRegistrySolReader,
};
pub use enclave_sol::EnclaveSol;
pub use enclave_sol_reader::{EnclaveSolReader, EnclaveSolReaderParams, EnclaveSolReaderState};
Expand Down

0 comments on commit 85db152

Please sign in to comment.