Skip to content

Commit 74e354f

Browse files
committed
refactor fraction dep
1 parent ed3e45a commit 74e354f

File tree

4 files changed

+2
-4
lines changed

4 files changed

+2
-4
lines changed

Cargo.lock

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

catalyst-toolbox/Cargo.toml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ gag = "1"
6363
vit-servicing-station-lib = { git = "https://github.com/input-output-hk/vit-servicing-station.git", branch = "master" }
6464
env_logger = "0.9"
6565
snapshot-lib = { path = "../snapshot-lib" }
66-
fraction = "0.10"
6766

6867
[dev-dependencies]
6968
rand_chacha = "0.3"

catalyst-toolbox/src/bin/cli/snapshot/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
use color_eyre::Report;
2-
use fraction::Fraction;
32
use jcli_lib::utils::{output_file::OutputFile, output_format::OutputFormat};
43
use jormungandr_lib::interfaces::Value;
4+
use snapshot_lib::Fraction;
55
use snapshot_lib::{
66
voting_group::{RepsVotersAssigner, DEFAULT_DIRECT_VOTER_GROUP, DEFAULT_REPRESENTATIVE_GROUP},
77
RawSnapshot, Snapshot,

catalyst-toolbox/src/rewards/voters.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,9 +168,9 @@ pub fn calc_voter_rewards(
168168
mod tests {
169169
use super::*;
170170
use crate::utils::assert_are_close;
171-
use fraction::Fraction;
172171
use jormungandr_lib::crypto::account::Identifier;
173172
use snapshot_lib::registration::{Delegations, VotingRegistration};
173+
use snapshot_lib::Fraction;
174174
use snapshot_lib::Snapshot;
175175
use test_strategy::proptest;
176176

0 commit comments

Comments
 (0)