Skip to content

Commit

Permalink
fix(market-pallets): address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jmg-duarte committed Jul 4, 2024
1 parent 7c6fde8 commit 6af726d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pallets/market/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1177,7 +1177,7 @@ pub mod pallet {
storage_provider: &T::AccountId,
sector_ids: BoundedVec<SectorId, ConstU32<MAX_DEALS_PER_SECTOR>>,
) -> DispatchResult {
// TODO: check that the caller is actually a storage provider (?)
// TODO(@jmg-duarte,04/07/2024): check that the caller is actually a storage provider (?)

// NOTE(@jmg-duarte,03/07/2024): the usage of the `current_block` NEEDS to be revised
// in the future as this function MAY be called on a different block than the current one.
Expand Down Expand Up @@ -1389,8 +1389,6 @@ pub mod pallet {
.map_err(|_| DispatchError::Corruption)
}

// NOTE(@jmg-duarte,01/07/2024): calculate* functions to ease conversions and so on

/// Calculate the start block.
///
/// If `last_updated_block` is `None`, returns `start_block`.
Expand Down

0 comments on commit 6af726d

Please sign in to comment.