Skip to content

Commit fffdd57

Browse files
authored
Merge pull request #152 from input-output-hk/feature/npg-1953_update_voter_hir
make VoterHIR public
2 parents d79958f + 340a567 commit fffdd57

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl SnapshotCmd {
6363
self.voting_power_cap,
6464
&assigner,
6565
)?
66-
.to_voter_hir();
66+
.to_full_snapshot_info();
6767
let mut out_writer = self.output.open()?;
6868
let content = self
6969
.output_format

catalyst-toolbox/src/snapshot/mod.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use jormungandr_lib::{crypto::account::Identifier, interfaces::Value};
1010
use serde::{Deserialize, Serialize};
1111
use std::{borrow::Borrow, collections::BTreeMap, iter::Iterator, num::NonZeroU64};
1212
use thiserror::Error;
13-
use voting_hir::VoterHIR;
13+
pub use voting_hir::VoterHIR;
1414

1515
pub const CATALYST_VOTING_PURPOSE_TAG: u64 = 0;
1616

@@ -127,7 +127,6 @@ impl Snapshot {
127127
contributions,
128128
})
129129
.collect();
130-
dbg!(&entries);
131130
Ok(Self {
132131
inner: Self::apply_voting_power_cap(entries, cap)?
133132
.into_iter()

0 commit comments

Comments
 (0)