Skip to content

Commit

Permalink
doc: debt
Browse files Browse the repository at this point in the history
  • Loading branch information
aatifsyed committed May 10, 2024
1 parent 873fc0f commit 78f586c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
8 changes: 7 additions & 1 deletion src/lotus_json/miner_power.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ impl HasLotusJson for MinerPower {
type LotusJson = MinerPowerLotusJson;
#[cfg(test)]
fn snapshots() -> Vec<(serde_json::Value, Self)> {
vec![]
unimplemented!("see commented-out test, below")
}
fn into_lotus_json(self) -> Self::LotusJson {
MinerPowerLotusJson {
Expand All @@ -39,3 +39,9 @@ impl HasLotusJson for MinerPower {
}
}
}

// MinerPower: !Debug
// #[test]
// fn snapshots() {
// assert_all_snapshots::<MinerPower>();
// }
2 changes: 1 addition & 1 deletion src/lotus_json/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ mod hash_map;
mod ipld; // NaN != NaN
mod miner_info; // fil_actor_miner_state::v12::MinerInfo: !quickcheck::Arbitrary
mod miner_power; // fil_actor_interface::miner::MinerInfo: !quickcheck::Arbitrary
mod nonempty;
mod nonempty; // can't make snapshots of generic type
mod opt; // can't make snapshots of generic type
mod pending_beneficiary_change; // fil_actor_miner_state::v12::PendingBeneficiaryChange: !quickcheck::Arbitrary
mod raw_bytes; // fvm_ipld_encoding::RawBytes: !quickcheck::Arbitrary
Expand Down

0 comments on commit 78f586c

Please sign in to comment.