Skip to content

Commit 902fd5c

Browse files
committed
Not exposing mithril-core in mithril-common
1 parent 6439a89 commit 902fd5c

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

mithril-aggregator/Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ cloud-storage = "0.11.0"
1414
config = "0.13.1"
1515
flate2 = "1.0.23"
1616
hex = "0.4.3"
17+
mithril = { path = "../mithril-core" }
1718
mithril-common = { path = "../mithril-common" }
1819
reqwest = { version = "0.11", features = ["json"] }
1920
serde = { version = "1.0", features = ["derive"] }
@@ -36,4 +37,4 @@ slog-term = "2.9.0"
3637
tempfile = "3.3.0"
3738

3839
[features]
39-
portable = ["mithril-common/portable"]
40+
portable = ["mithril/portable"]

mithril-aggregator/src/multi_signer.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ use chrono::prelude::*;
55
use slog_scope::{debug, trace, warn};
66
use thiserror::Error;
77

8+
use mithril::AggregationError;
89
use mithril_common::crypto_helper::{
910
key_decode_hex, key_encode_hex, ProtocolAggregateVerificationKey, ProtocolClerk,
1011
ProtocolKeyRegistration, ProtocolMultiSignature, ProtocolParameters, ProtocolPartyId,
1112
ProtocolSignerVerificationKey, ProtocolSingleSignature, ProtocolStakeDistribution,
1213
PROTOCOL_VERSION,
1314
};
1415
use mithril_common::entities::{self, SignerWithStake};
15-
use mithril_common::mithril::AggregationError;
1616
use mithril_common::store::{StakeStoreError, StakeStorer};
1717
use mithril_common::{
1818
NEXT_SIGNER_EPOCH_RETRIEVAL_OFFSET, SIGNER_EPOCH_RECORDING_OFFSET,

mithril-common/src/lib.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,6 @@ pub mod store;
2525
pub use beacon_provider::{BeaconProvider, BeaconProviderError, BeaconProviderImpl};
2626
pub use entities::{CardanoNetwork, MagicId};
2727

28-
pub use mithril;
29-
3028
// TODO: Investigate as why signers can't sign until epoch 3 (in the e2e) when set to -1
3129
/// The epoch offset used for signers stake distribution and verification keys retrieval.
3230
pub const SIGNER_EPOCH_RETRIEVAL_OFFSET: i64 = -1;

0 commit comments

Comments
 (0)