Skip to content

Commit

Permalink
Merge pull request #152 from input-output-hk/feature/npg-1953_update_…
Browse files Browse the repository at this point in the history
…voter_hir

make VoterHIR public
  • Loading branch information
Mr-Leshiy authored Jul 29, 2022
2 parents d79958f + 340a567 commit fffdd57
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion catalyst-toolbox/src/bin/cli/snapshot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ impl SnapshotCmd {
self.voting_power_cap,
&assigner,
)?
.to_voter_hir();
.to_full_snapshot_info();
let mut out_writer = self.output.open()?;
let content = self
.output_format
Expand Down
3 changes: 1 addition & 2 deletions catalyst-toolbox/src/snapshot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use jormungandr_lib::{crypto::account::Identifier, interfaces::Value};
use serde::{Deserialize, Serialize};
use std::{borrow::Borrow, collections::BTreeMap, iter::Iterator, num::NonZeroU64};
use thiserror::Error;
use voting_hir::VoterHIR;
pub use voting_hir::VoterHIR;

pub const CATALYST_VOTING_PURPOSE_TAG: u64 = 0;

Expand Down Expand Up @@ -127,7 +127,6 @@ impl Snapshot {
contributions,
})
.collect();
dbg!(&entries);
Ok(Self {
inner: Self::apply_voting_power_cap(entries, cap)?
.into_iter()
Expand Down

0 comments on commit fffdd57

Please sign in to comment.