Skip to content

Commit 2b90b30

Browse files
committed
Renaming from wrapper_helpers to arithmetic_operation_wrapper
1 parent fff548e commit 2b90b30

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
File renamed without changes.

mithril-common/src/entities/block_number.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ use std::ops::{Deref, DerefMut};
44

55
use serde::{Deserialize, Serialize};
66

7-
use crate::entities::wrapper_helpers::{
7+
use crate::entities::arithmetic_operation_wrapper::{
88
impl_add_to_wrapper, impl_div_to_wrapper, impl_mul_to_wrapper, impl_partial_eq_to_wrapper,
99
impl_rem_to_wrapper, impl_sub_to_wrapper,
1010
};
@@ -60,7 +60,7 @@ impl_partial_eq_to_wrapper!(BlockNumber, u64);
6060

6161
#[cfg(test)]
6262
mod tests {
63-
use crate::entities::wrapper_helpers::tests::test_op_assign;
63+
use crate::entities::arithmetic_operation_wrapper::tests::test_op_assign;
6464

6565
use super::*;
6666

mithril-common/src/entities/epoch.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use std::ops::{Deref, DerefMut};
55
use serde::{Deserialize, Serialize};
66
use thiserror::Error;
77

8-
use crate::entities::wrapper_helpers::{
8+
use crate::entities::arithmetic_operation_wrapper::{
99
impl_add_to_wrapper, impl_partial_eq_to_wrapper, impl_sub_to_wrapper,
1010
};
1111
use crate::signable_builder::Beacon as SignableBeacon;
@@ -138,7 +138,7 @@ pub enum EpochError {
138138

139139
#[cfg(test)]
140140
mod tests {
141-
use crate::entities::wrapper_helpers::tests::test_op_assign;
141+
use crate::entities::arithmetic_operation_wrapper::tests::test_op_assign;
142142

143143
use super::*;
144144

mithril-common/src/entities/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
//! The entities used by, and exchanged between, the aggregator, signers and client.
22
3+
pub(crate) mod arithmetic_operation_wrapper;
34
mod block_number;
45
mod block_range;
56
mod cardano_chain_point;
@@ -25,7 +26,6 @@ mod single_signatures;
2526
mod snapshot;
2627
mod time_point;
2728
mod type_alias;
28-
pub(crate) mod wrapper_helpers;
2929

3030
pub use block_number::BlockNumber;
3131
pub use block_range::{BlockRange, BlockRangeLength, BlockRangesSequence};

0 commit comments

Comments
 (0)