Skip to content

Commit

Permalink
Renaming from wrapper_helpers to arithmetic_operation_wrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
sfauvel committed Jul 23, 2024
1 parent 01f4a69 commit 6dc54be
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions mithril-common/src/entities/block_number.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::ops::{Deref, DerefMut};

use serde::{Deserialize, Serialize};

use crate::entities::wrapper_helpers::{
use crate::entities::arithmetic_operation_wrapper::{
impl_add_to_wrapper, impl_div_to_wrapper, impl_mul_to_wrapper, impl_partial_eq_to_wrapper,
impl_rem_to_wrapper, impl_sub_to_wrapper,
};
Expand Down Expand Up @@ -60,7 +60,7 @@ impl_partial_eq_to_wrapper!(BlockNumber, u64);

#[cfg(test)]
mod tests {
use crate::entities::wrapper_helpers::tests::test_op_assign;
use crate::entities::arithmetic_operation_wrapper::tests::test_op_assign;

use super::*;

Expand Down
4 changes: 2 additions & 2 deletions mithril-common/src/entities/epoch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use std::ops::{Deref, DerefMut};
use serde::{Deserialize, Serialize};
use thiserror::Error;

use crate::entities::wrapper_helpers::{
use crate::entities::arithmetic_operation_wrapper::{
impl_add_to_wrapper, impl_partial_eq_to_wrapper, impl_sub_to_wrapper,
};
use crate::signable_builder::Beacon as SignableBeacon;
Expand Down Expand Up @@ -138,7 +138,7 @@ pub enum EpochError {

#[cfg(test)]
mod tests {
use crate::entities::wrapper_helpers::tests::test_op_assign;
use crate::entities::arithmetic_operation_wrapper::tests::test_op_assign;

use super::*;

Expand Down
2 changes: 1 addition & 1 deletion mithril-common/src/entities/mod.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
//! The entities used by, and exchanged between, the aggregator, signers and client.

pub(crate) mod arithmetic_operation_wrapper;
mod block_number;
mod block_range;
mod cardano_chain_point;
Expand All @@ -25,7 +26,6 @@ mod single_signatures;
mod snapshot;
mod time_point;
mod type_alias;
pub(crate) mod wrapper_helpers;

pub use block_number::BlockNumber;
pub use block_range::{BlockRange, BlockRangeLength, BlockRangesSequence};
Expand Down

0 comments on commit 6dc54be

Please sign in to comment.