Skip to content

Commit

Permalink
justify the nv15-only implementations
Browse files Browse the repository at this point in the history
  • Loading branch information
lemmih committed Oct 9, 2024
1 parent 4874510 commit 4f08b53
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/shim/actors/power.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,12 @@
use crate::shim::clock::ChainEpoch;
// use fil_actor_power_state::{v14::State as StateV14, v15::State as StateV15};
use fil_actor_interface::power::State;

pub trait PowerStateExt {
/// FIP0081 activation epoch. Should be same as TukTuk epoch.
fn ramp_start_epoch(&self) -> ChainEpoch;
/// FIP0081 activation ramp. One year on mainnet, 3 days on calibnet,
/// defaults to 200 epochs on devnet. Only applicable to v15 (aka TukTuk)
/// actors.
fn ramp_duration_epochs(&self) -> u64;
}

Expand Down

0 comments on commit 4f08b53

Please sign in to comment.