Skip to content

Commit

Permalink
remove random end
Browse files Browse the repository at this point in the history
  • Loading branch information
JuaniRios committed Aug 13, 2024
1 parent 5d4e4af commit 4d4fc5a
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion pallets/funding/src/functions/1_application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ impl<T: Config> Pallet<T> {
fundraising_target_usd: fundraising_target,
status: ProjectStatus::Application,
round_duration: BlockNumberPair::new(None, None),
random_end_block: None,
remaining_contribution_tokens: project_metadata.total_allocation_size,
funding_amount_reached_usd: BalanceOf::<T>::zero(),
evaluation_round_info: EvaluationRoundInfoOf::<T> {
Expand Down
1 change: 0 additions & 1 deletion pallets/funding/src/instantiator/chain_interactions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,6 @@ impl<
weighted_average_price: None,
status: ProjectStatus::Application,
round_duration: BlockNumberPair::new(None, None),
random_end_block: None,
fundraising_target_usd: expected_metadata
.minimum_price
.checked_mul_int(expected_metadata.total_allocation_size)
Expand Down
1 change: 0 additions & 1 deletion pallets/funding/src/tests/2_evaluation.rs
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,6 @@ mod start_evaluation_extrinsic {
Some(1),
Some(<TestRuntime as Config>::EvaluationRoundDuration::get()),
),
random_end_block: None,
fundraising_target_usd: project_metadata
.minimum_price
.saturating_mul_int(project_metadata.total_allocation_size),
Expand Down
2 changes: 0 additions & 2 deletions pallets/funding/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -321,8 +321,6 @@ pub mod storage_types {
pub status: ProjectStatus<BlockNumber>,
/// When the different project phases start and end
pub round_duration: BlockNumberPair<BlockNumber>,
/// Random block end for auction round
pub random_end_block: Option<BlockNumber>,
/// Fundraising target amount in USD (6 decimals)
pub fundraising_target_usd: Balance,
/// The amount of Contribution Tokens that have not yet been sold
Expand Down

0 comments on commit 4d4fc5a

Please sign in to comment.