Skip to content

Commit

Permalink
cleanups
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Dec 8, 2023
1 parent 45613dc commit d7d6136
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions fvm/src/kernel/filecoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -237,9 +237,6 @@ where
}

fn total_fil_circ_supply(&self) -> Result<TokenAmount> {
// From v15 and onwards, Filecoin mainnet was fixed to use a static circ supply per epoch.
// The value reported to the FVM from clients is now the static value,
// the FVM simply reports that value to actors.
Ok(self.0.machine().context().circ_supply.clone())
}
}
Expand Down
2 changes: 1 addition & 1 deletion fvm/src/syscalls/filecoin.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ pub fn batch_verify_seals(
Ok(())
}

/// Returns the network circ supply split as two u64 ordered in little endian.
/// Returns the network circulating supply.
pub fn total_fil_circ_supply(
context: Context<'_, impl FilecoinKernel>,
) -> Result<sys::TokenAmount> {
Expand Down

0 comments on commit d7d6136

Please sign in to comment.